Browse Source

Merge branch 'deploy-in-docker' into 'develop'

Do not use shell runner anymore

See merge request funkwhale/funkwhale-android!83
bugfix/46-adjust-now-playing-top-margin
Georg Krause 3 years ago
parent
commit
e01ea2d800
  1. 11
      .gitlab-ci.yml

11
.gitlab-ci.yml

@ -102,7 +102,13 @@ build-bleeding-edge: @@ -102,7 +102,13 @@ build-bleeding-edge:
- develop
- tags
.deploy:
image: debian
before_script:
- apt -y install openssh-server
deploy-develop:
extends: .deploy
stage: deploy
only:
- develop
@ -113,10 +119,9 @@ deploy-develop: @@ -113,10 +119,9 @@ deploy-develop:
- scp -o StrictHostKeyChecking=no app/build/outputs/apk/debug/output-metadata.json fdroid@apps.funkwhale.audio:/srv/fdroid/fdroid/develop/output-metadata.json
- scp -o StrictHostKeyChecking=no metadata/audio.funkwhale.android.dev.yml fdroid@apps.funkwhale.audio:/srv/fdroid/fdroid/develop/metadata/audio.funkwhale.ffa.dev.yml
- ssh -o StrictHostKeyChecking=no fdroid@apps.funkwhale.audio 'docker run --rm -u $(id -u):$(id -g) -v /srv/fdroid/fdroid/develop:/repo registry.gitlab.com/fdroid/docker-executable-fdroidserver:master update'
tags:
- shell
deploy-release:
extends: .deploy
stage: deploy
only:
- tags
@ -128,5 +133,3 @@ deploy-release: @@ -128,5 +133,3 @@ deploy-release:
- scp -o StrictHostKeyChecking=no app/build/outputs/apk/release/output-metadata.json fdroid@apps.funkwhale.audio:/srv/fdroid/fdroid/develop/output-metadata.json
- scp -o StrictHostKeyChecking=no metadata/audio.funkwhale.android.yml fdroid@apps.funkwhale.audio:/srv/fdroid/fdroid/develop/metadata/audio.funkwhale.ffa.yml
- ssh -o StrictHostKeyChecking=no fdroid@apps.funkwhale.audio 'docker run --rm -u $(id -u):$(id -g) -v /srv/fdroid/fdroid/develop:/repo registry.gitlab.com/fdroid/docker-executable-fdroidserver:master update'
tags:
- shell

Loading…
Cancel
Save