Commit a3da8a27 authored by Marius David Wieschollek's avatar Marius David Wieschollek
Browse files

Updated GitLab Deployment

parent 44d3947d
......@@ -79,30 +79,14 @@ build:
- ./variables.*
- ./*.deb
# Job "deploy-fresh"
deploy-fresh:
# Job "deploy-ppa"
deploy-ppa:
stage: deploy
environment: fresh
script:
- source variables.${CI_BUILD_REF}
- REMOTEPATH="/server/openfile/exchange/${DEBPKG}"
- scp -i /opt/id_rsa -o StrictHostKeyChecking=no -P 2022 ${DEBPKG} marius@192.168.178.192:${REMOTEPATH}
- ssh -i /opt/id_rsa -o StrictHostKeyChecking=no -p 2022 marius@192.168.178.192 "ppa-update ${PPA} trusty ${PACKAGE} ${REMOTEPATH};"
- ssh -i /opt/id_rsa -o StrictHostKeyChecking=no -p 2022 marius@192.168.178.192 "ppa-update ${PPA} xenial ${PACKAGE} ${REMOTEPATH};"
- echo "${PPA}|${PACKAGE}|${DEBPKG}" > ${CI_BUILD_REF_NAME}.${PACKAGE}.ppa
- deploy ${CI_BUILD_REF_NAME}.${PACKAGE}.ppa
- deploy ${DEBPKG}
only:
- fresh
# Job "deploy-stable"
deploy-stable:
stage: deploy
environment: stable
script:
- source variables.${CI_BUILD_REF}
- REMOTEPATH="/server/openfile/exchange/${DEBPKG}"
- scp -i /opt/id_rsa -o StrictHostKeyChecking=no -P 2022 ${DEBPKG} marius@192.168.178.192:${REMOTEPATH}
- ssh -i /opt/id_rsa -o StrictHostKeyChecking=no -p 2022 marius@192.168.178.192 "ppa-remove ${PPA} trusty ${PACKAGE};"
- ssh -i /opt/id_rsa -o StrictHostKeyChecking=no -p 2022 marius@192.168.178.192 "ppa-remove ${PPA} xenial ${PACKAGE};"
- ssh -i /opt/id_rsa -o StrictHostKeyChecking=no -p 2022 marius@192.168.178.192 "ppa-add ${PPA} trusty ${REMOTEPATH};"
- ssh -i /opt/id_rsa -o StrictHostKeyChecking=no -p 2022 marius@192.168.178.192 "ppa-add ${PPA} xenial ${REMOTEPATH};"
only:
- master
\ No newline at end of file
- master
......@@ -5,7 +5,7 @@ This module integrates Docker into ESS.
## Installation
The following installation guide shows you how to install Docker, Docker-compose and the Docker ESS Module on Ubuntu 16.04.
For other systems or versions please note that the ESS PPA only supports LTS Versions of Ubuntu.
Please note that the PPA only supports Ubuntu.
You can download the .deb packages at the [Builds page](https://git.mdns.eu/ess/ess-docker/pipelines) or you can [clone the repository](https://git.mdns.eu/ess/ess-docker.git).
```sh
......@@ -18,7 +18,7 @@ sudo reboot
docker run hello-world
/* Install docker-compose via pip */
sudo apt install pip
sudo apt install python-pip
sudo pip install docker-compose
# Install the docker module
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment