---kind: pipelinetype: dockername: developmentplatform:os: linuxarch: amd64steps:- name: testimage: joseluisq/rust-linux-darwin-builder:1.53.0volumes:- name: cargo-targetpath: /drone/src/target- name: cargo-gitpath: /root/.cargo/git- name: cargo-registrypath: /root/.cargo/registrycommands:- make testvolumes:- name: cargo-targethost:path: /var/ci-volumes/cargo-target- name: cargo-githost:path: /var/ci-volumes/cargo-git- name: cargo-registryhost:path: /var/ci-volumes/cargo-registrytrigger:event:- push- pull_requestbranch:- master- develop- feature/*- bugfix/*- hotfix/*- 1.x---kind: pipelinetype: dockername: productionplatform:os: linuxarch: amd64steps:- name: publish-public-alpineimage: joseluisq/drone-dockerprivileged: truesettings:repo: joseluisq/static-web-serverdockerfile: ./docker/alpine/Dockerfileusername:from_secret: dockerhub_usernamepassword:from_secret: dockerhub_passwordbuild_args:- SERVER_VERSION=${DRONE_TAG##v}auto_tag: trueauto_tag_suffix: alpine- name: publish-public-scratchimage: joseluisq/drone-dockerprivileged: truesettings:repo: joseluisq/static-web-serverdockerfile: ./docker/scratch/Dockerfileusername:from_secret: dockerhub_usernamepassword:from_secret: dockerhub_passwordbuild_args:- SERVER_VERSION=${DRONE_TAG##v}auto_tag: trueauto_tag_aliases:- latest- name: publish-alpineimage: joseluisq/drone-dockerprivileged: truesettings:registry: registry.joseluisq.netrepo: registry.joseluisq.net/static-web-serverdockerfile: ./docker/alpine/Dockerfileusername:from_secret: registry_usernamepassword:from_secret: registry_passwordbuild_args:- SERVER_VERSION=${DRONE_TAG##v}auto_tag: trueauto_tag_suffix: alpine- name: publish-scratchimage: joseluisq/drone-dockerprivileged: truesettings:registry: registry.joseluisq.netrepo: registry.joseluisq.net/static-web-serverdockerfile: ./docker/scratch/Dockerfileusername:from_secret: registry_usernamepassword:from_secret: registry_passwordbuild_args:- SERVER_VERSION=${DRONE_TAG##v}auto_tag: trueauto_tag_aliases:- latesttrigger:ref:include:- refs/tags/v*exclude:- refs/tags/**rc**- refs/tags/**alpha**- refs/tags/**beta**- refs/tags/**latest**- refs/tags/**dev**---kind: pipelinetype: dockername: stagingplatform:os: linuxarch: amd64steps:- name: testimage: joseluisq/rust-linux-darwin-builder:1.53.0volumes:- name: cargo-targetpath: /drone/src/target- name: cargo-gitpath: /root/.cargo/git- name: cargo-registrypath: /root/.cargo/registrycommands:- make test- name: releaseimage: joseluisq/rust-linux-darwin-builder:1.53.0volumes:- name: cargo-targetpath: /drone/src/target- name: cargo-gitpath: /root/.cargo/git- name: cargo-registrypath: /root/.cargo/registrycommands:- make prod.release- name: publish-scratchimage: joseluisq/drone-dockerprivileged: truesettings:registry: registry.joseluisq.netrepo: registry.joseluisq.net/static-web-serverdockerfile: ./docker/scratch/Dockerfileusername:from_secret: registry_usernamepassword:from_secret: registry_passwordtags:- v1-dev- name: publish-alpineimage: joseluisq/drone-dockerprivileged: truesettings:registry: registry.joseluisq.netrepo: registry.joseluisq.net/static-web-serverdockerfile: ./docker/alpine/Dockerfileusername:from_secret: registry_usernamepassword:from_secret: registry_passwordtags:- v1-dev-alpinevolumes:- name: cargo-targethost:path: /var/ci-volumes/cargo-target- name: cargo-githost:path: /var/ci-volumes/cargo-git- name: cargo-registryhost:path: /var/ci-volumes/cargo-registrytrigger:target:- staging---kind: pipelinetype: dockername: notificationplatform:os: linuxarch: amd64clone:disable: truesteps:- name: notifyimage: plugins/slacksettings:webhook:from_secret: slack_webhookchannel: ci-cddepends_on:- development- staging- productiontrigger:status:- success- failure