First foray back into auto-catalogue-updatin'
continuous-integration/drone Build encountered an error
Details
continuous-integration/drone Build encountered an error
Details
This commit is contained in:
parent
c4ac778a24
commit
ef53b92004
29
.drone.yml
29
.drone.yml
|
@ -1,26 +1,18 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: publish new apps.json
|
name: generate and publish new recipes.json
|
||||||
steps:
|
steps:
|
||||||
- name: publish new json
|
- name: set up recipes repo
|
||||||
image: thecoopcloud/abra
|
image: alpine
|
||||||
environment:
|
environment:
|
||||||
SKOPEO_USER: thecoopcloud
|
SSH_KEY:
|
||||||
SKOPEO_PASSWORD:
|
from_secret: abra_bot_deploy_key
|
||||||
from_secret: thecoopcloud_password
|
|
||||||
commands:
|
commands:
|
||||||
- /root/.local/bin/app-json.py --output /drone/src/apps.json
|
- apk add --no-cache git
|
||||||
|
- echo "SSH_$KEY" > $HOME/.ssh/id_rsa
|
||||||
- name: deployment
|
- mkdir /.abra/
|
||||||
image: decentral1se/stack-ssh-deploy:latest
|
- git clone ssh://git@git.coopcloud.tech:2222/coop-cloud/recipes-catalogue-json.git /.abra/catalogue
|
||||||
settings:
|
- ls /.abra/catalogue
|
||||||
host: swarm.autonomic.zone
|
|
||||||
stack: coop_cloud_apps_json
|
|
||||||
deploy_key:
|
|
||||||
from_secret: drone_ssh_swarm.autonomic.zone
|
|
||||||
rm: true
|
|
||||||
depends_on:
|
|
||||||
- publish new json
|
|
||||||
|
|
||||||
- name: notify on failure
|
- name: notify on failure
|
||||||
image: plugins/matrix
|
image: plugins/matrix
|
||||||
|
@ -32,7 +24,6 @@ steps:
|
||||||
from_secret: autonobot_rocketchat_access_token
|
from_secret: autonobot_rocketchat_access_token
|
||||||
depends_on:
|
depends_on:
|
||||||
- publish new json
|
- publish new json
|
||||||
- deployment
|
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- failure
|
- failure
|
||||||
|
|
Loading…
Reference in New Issue