---kind: pipelinetype: dockername: developmentplatform:os: linuxarch: amd64steps:- name: restore-cacheimage: drillster/drone-volume-cachevolumes:- name: cachepath: /cachesettings:restore: truemount:- ./target- name: testimage: joseluisq/rust-linux-darwin-builder:1.52.0commands:- make test- name: rebuild-cacheimage: drillster/drone-volume-cachevolumes:- name: cachepath: /cachesettings:rebuild: truemount:- ./targetvolumes:- name: cachehost:path: /tmp/cachetrigger:event:- push- pull_requestbranch:- master- develop- feature/*- bugfix/*- hotfix/*---kind: pipelinetype: dockername: productionplatform:os: linuxarch: amd64steps:- name: testimage: joseluisq/rust-linux-darwin-builder:1.52.0commands:- make testwhen:event:- tag- name: releaseimage: joseluisq/rust-linux-darwin-builder:1.52.0commands:- 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_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: github-releaseimage: plugins/github-releasesettings:api_key:from_secret: github_tokenfiles:- ./bin/*.tar.gz- ./bin/*-SHA256SUMtitle: ${DRONE_TAG}draft: true- 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-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: alpinetrigger:ref:include:- refs/tags/v*exclude:- refs/tags/**rc**- refs/tags/**alpha**- refs/tags/**beta**- refs/tags/**latest**- refs/tags/**dev**---kind: pipelinetype: dockername: production-betaplatform:os: linuxarch: amd64steps:- name: testimage: joseluisq/rust-linux-darwin-builder:1.52.0commands:- make testwhen:event:- tag- name: releaseimage: joseluisq/rust-linux-darwin-builder:1.52.0commands:- 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_passwordbuild_args:- SERVER_VERSION=${DRONE_TAG##v}auto_tag: true- 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: github-releaseimage: plugins/github-releasesettings:api_key:from_secret: github_tokenfiles:- ./bin/*.tar.gz- ./bin/*-SHA256SUMtitle: ${DRONE_TAG}draft: true- 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: true- 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: alpinetrigger:ref:include:- refs/tags/**beta**---kind: pipelinetype: dockername: stagingplatform:os: linuxarch: amd64steps:- name: testimage: joseluisq/rust-linux-darwin-builder:1.52.0commands:- make test- name: releaseimage: joseluisq/rust-linux-darwin-builder:1.52.0commands:- 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-alpinetrigger: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- production- production-betatrigger:status:- success- failure