Lanceur d’application pour GNU/Linux
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- ---
- pipeline:
- test:
- image: node:6-alpine
- commands:
- - apk add --no-cache firefox-esr
- - npm install
- - npm test
- package-64:
- pull: true
- group: package
- image: bornholm/drone-tamarin:latest
- dest_dir: packages
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- package-32:
- pull: true
- group: package
- image: bornholm/drone-tamarin:latest
- arch: i386
- dest_dir: packages
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- deploy:
- pull: true
- image: bornholm/drone-sftp:latest
- # Génération des commandes d'upload SFTP via script Bash
- sftp_commands_script: |
- ls packages/*.deb | xargs -I '{}' echo "put '{}' packages-available/"
- secrets:
- - source: packages_sftp_host
- target: plugin_host
- - source: packages_sftp_user
- target: plugin_username
- - source: packages_sftp_password
- target: plugin_password
- notify:
- image: drillster/drone-email
- from: drone@cadoles.com
- skip_verify: true
- secrets:
- - source: cadoles_email_port
- target: plugin_port
- - source: cadoles_email_host
- target: plugin_host
- - source: cadoles_email_user
- target: plugin_username
- - source: cadoles_email_password
- target: plugin_password
- when:
- status: [ success, failure ]
|