From d8cfd644f8eb2b24b4fcbe0273bd61bc6d1ccc5c Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Mon, 20 May 2024 22:56:11 -0300 Subject: [PATCH 1/4] Another dependency experiment --- .drone.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.drone.yml b/.drone.yml index c3d27a8..665e5e3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -66,6 +66,14 @@ steps: trigger: << *exclude-event-custom + - name: deploy stack + image: screwdrivercd/noop-container + steps: + - noop: echo noop + when: + event: + - custom + - name: build astro content image: git.autonomic.zone/autonomic-cooperative/astro-payload-test-astro:latest environment: From 7997268fad42ec1e42d24d96c29307d1991925bb Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Mon, 20 May 2024 23:30:08 -0300 Subject: [PATCH 2/4] Boop drone --- .drone.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 665e5e3..32271a5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,7 +14,7 @@ steps: registry: git.autonomic.zone context: astro dockerfile: astro/Dockerfile - trigger: &exclude-event-custom + when: &exclude-event-custom branch: - main event: @@ -66,14 +66,6 @@ steps: trigger: << *exclude-event-custom - - name: deploy stack - image: screwdrivercd/noop-container - steps: - - noop: echo noop - when: - event: - - custom - - name: build astro content image: git.autonomic.zone/autonomic-cooperative/astro-payload-test-astro:latest environment: From 4544c7942c21de08daea32f27474f09126c91d9b Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Mon, 20 May 2024 23:31:19 -0300 Subject: [PATCH 3/4] Further drone boop --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 32271a5..0b33101 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,7 +30,7 @@ steps: context: payload dockerfile: payload/Dockerfile target: dev - trigger: + when: << *exclude-event-custom - name: publish payload prod container @@ -40,7 +40,7 @@ steps: username: 3wordchant repo: git.autonomic.zone/autonomic-cooperative/astro-payload-test-payload target: prod - trigger: + when: << *exclude-event-custom - name: deploy stack @@ -63,7 +63,7 @@ steps: PAYLOAD_URL: "https://admin.paystro.swarm-demo.autonomic.zone" depends_on: - publish payload prod container - trigger: + when: << *exclude-event-custom - name: build astro content From c90d2c0d9b997cd9e2dcb511fc3ccbcdeedc0c41 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Mon, 20 May 2024 23:33:07 -0300 Subject: [PATCH 4/4] Fix YAML syntax --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0b33101..62d41c6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,7 +31,7 @@ steps: dockerfile: payload/Dockerfile target: dev when: - << *exclude-event-custom + <<: *exclude-event-custom - name: publish payload prod container image: plugins/docker @@ -41,7 +41,7 @@ steps: repo: git.autonomic.zone/autonomic-cooperative/astro-payload-test-payload target: prod when: - << *exclude-event-custom + <<: *exclude-event-custom - name: deploy stack image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest @@ -64,7 +64,7 @@ steps: depends_on: - publish payload prod container when: - << *exclude-event-custom + <<: *exclude-event-custom - name: build astro content image: git.autonomic.zone/autonomic-cooperative/astro-payload-test-astro:latest