Remove astro docker & drone stuff
Some checks reported errors
continuous-integration/drone Build encountered an error
Some checks reported errors
continuous-integration/drone Build encountered an error
This commit is contained in:
48
.drone.yml
Normal file
48
.drone.yml
Normal file
@ -0,0 +1,48 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: publish pipeline
|
||||
steps:
|
||||
- name: publish payload dev container
|
||||
image: plugins/docker
|
||||
settings: &payload-build-settings
|
||||
<<: *docker-build-settings
|
||||
# NOTE: edit this if you want your image called something else
|
||||
repo: git.autonomic.zone/autonomic-cooperative/nextload-dev
|
||||
context: payload
|
||||
dockerfile: payload/Dockerfile
|
||||
target: dev
|
||||
when:
|
||||
<<: *exclude-event-custom
|
||||
|
||||
- name: publish payload prod container
|
||||
image: plugins/docker
|
||||
settings:
|
||||
<<: *payload-build-settings
|
||||
username: 3wordchant
|
||||
repo: git.autonomic.zone/autonomic-cooperative/nextload-prod
|
||||
target: prod
|
||||
when:
|
||||
<<: *exclude-event-custom
|
||||
|
||||
- name: deploy stack
|
||||
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
||||
settings:
|
||||
compose: docker-compose.prod.yml
|
||||
stack: paystro_swarm-demo_autonomic_zone
|
||||
host: swarm-demo.autonomic.zone
|
||||
deploy_key:
|
||||
from_secret: drone_ssh_swarm-demo.autonomic.zone
|
||||
environment:
|
||||
DOMAIN: paystro.swarm-demo.autonomic.zone
|
||||
STACK_NAME: paystro_swarm-demo_autonomic_zone
|
||||
SECRET_PAYLOAD_SECRET_VERSION: v1
|
||||
SECRET_TOKEN_VERSION: v1
|
||||
SECRET_MONGO_PASSWORD_VERSION: v1
|
||||
NGINX_CONF_VERSION: v1
|
||||
REPOSITORY: "autonomic-cooperative/astro-payload-test"
|
||||
DRONE_URL: "https://drone.autonomic.zone"
|
||||
PAYLOAD_URL: "https://admin.paystro.swarm-demo.autonomic.zone"
|
||||
depends_on:
|
||||
- publish payload prod container
|
||||
when:
|
||||
<<: *exclude-event-custom
|
Reference in New Issue
Block a user