From a080bd23666513269ff241f1b7bc3bce74b6ad15 Mon Sep 17 00:00:00 2001 From: smartcontracts Date: Thu, 19 Sep 2024 00:54:32 -0600 Subject: [PATCH] maint(ci): clean up scheduled docker publish (#11999) Same idea again, cleaning up the scheduled docker publish with the same technique as the previous PR. --- .circleci/config.yml | 128 +++++++++---------------------------------- 1 file changed, 25 insertions(+), 103 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1534facdf621..4f3706e24340 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1954,106 +1954,18 @@ workflows: - equal: [ true, << pipeline.parameters.docker_publish_dispatch >> ] jobs: - docker-build: - name: op-node-docker-publish - docker_name: op-node - docker_tags: <>,<> - platforms: "linux/amd64,linux/arm64" - publish: true - context: - - oplabs-gcr - - slack - - check-cross-platform: - name: op-node-cross-platform - op_component: op-node - requires: - - op-node-docker-publish - - docker-build: - name: op-batcher-docker-publish - docker_name: op-batcher - docker_tags: <>,<> - platforms: "linux/amd64,linux/arm64" - publish: true - context: - - oplabs-gcr - - slack - - check-cross-platform: - name: op-batcher-cross-platform - op_component: op-batcher - requires: - - op-batcher-docker-publish - - docker-build: - name: op-program-docker-publish - docker_name: op-program - docker_tags: <>,<> - platforms: "linux/amd64,linux/arm64" - publish: true - context: - - oplabs-gcr - - slack - - check-cross-platform: - name: op-program-cross-platform - op_component: op-program - requires: - - op-program-docker-publish - - docker-build: - name: op-proposer-docker-publish - docker_name: op-proposer - docker_tags: <>,<> - platforms: "linux/amd64,linux/arm64" - publish: true - context: - - oplabs-gcr - - slack - - check-cross-platform: - name: op-proposer-cross-platform - op_component: op-proposer - requires: - - op-proposer-docker-publish - - docker-build: - name: op-challenger-docker-publish - docker_name: op-challenger - docker_tags: <>,<> - platforms: "linux/amd64,linux/arm64" - publish: true - context: - - oplabs-gcr - - slack - - check-cross-platform: - name: op-challenger-cross-platform - op_component: op-challenger - requires: - - op-challenger-docker-publish - - docker-build: - name: op-dispute-mon-docker-publish - docker_name: op-dispute-mon - docker_tags: <>,<> - platforms: "linux/amd64,linux/arm64" - publish: true - context: - - oplabs-gcr - - slack - - check-cross-platform: - name: op-dispute-mon-cross-platform - op_component: op-dispute-mon - requires: - - op-dispute-mon-docker-publish - - docker-build: - name: op-conductor-docker-publish - docker_name: op-conductor - docker_tags: <>,<> - platforms: "linux/amd64,linux/arm64" - publish: true - context: - - oplabs-gcr - - slack - - check-cross-platform: - name: op-conductor-cross-platform - op_component: op-conductor - requires: - - op-conductor-docker-publish - - docker-build: - name: op-supervisor-docker-publish - docker_name: op-supervisor + matrix: + parameters: + docker_name: + - op-node + - op-batcher + - op-program + - op-proposer + - op-challenger + - op-dispute-mon + - op-conductor + - op-supervisor + name: <>-docker-publish docker_tags: <>,<> platforms: "linux/amd64,linux/arm64" publish: true @@ -2061,10 +1973,20 @@ workflows: - oplabs-gcr - slack - check-cross-platform: - name: op-supervisor-cross-platform - op_component: op-supervisor + matrix: + parameters: + op_component: + - op-node + - op-batcher + - op-program + - op-proposer + - op-challenger + - op-dispute-mon + - op-conductor + - op-supervisor + name: <>-cross-platform requires: - - op-supervisor-docker-publish + - <>-docker-publish - docker-build: name: contracts-bedrock-docker-publish docker_name: contracts-bedrock