From 36c52a983e99824fc2086bed64fc9923fe45fd7f Mon Sep 17 00:00:00 2001 From: "Cloud Posse Bot (CI/CD)" Date: Thu, 29 Aug 2024 18:29:43 -0700 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20DEV-2539:=20Refactor=20Git?= =?UTF-8?q?hub=20Runner=20Workflows=20(#676)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../snippets/stacks/workflows/github.yaml | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/examples/snippets/stacks/workflows/github.yaml b/examples/snippets/stacks/workflows/github.yaml index 9b93bb85f..0847f21e4 100644 --- a/examples/snippets/stacks/workflows/github.yaml +++ b/examples/snippets/stacks/workflows/github.yaml @@ -1,20 +1,17 @@ workflows: - all: + vendor/arc: description: | - This workflow vendors all Github Action related components to the latest provided version + This workflow vendors all EKS/ARC related components to the latest provided version steps: - - command: workflow vendor -f github - - command: workflow deploy/github-oidc-provider -f github - - command: workflow deploy/github-runners -f github - - vendor: + - command: vendor pull --component github-oidc-provider + - command: vendor pull --component eks/actions-runner-controller + vendor/philips-labs: description: | - This workflow vendors all Github Action related components to the latest provided version + This workflow vendors all Philips Labs self-hosted runner related components to the latest provided version steps: - - command: vendor pull --component eks/actions-runner-controller - - command: vendor pull --component philips-labs-github-runners - command: vendor pull --component github-oidc-provider + - command: vendor pull --component philips-labs-github-runners deploy/github-oidc-provider: description: | @@ -28,19 +25,18 @@ workflows: - command: terraform deploy github-oidc-provider -s plat-gbl-staging - command: terraform deploy github-oidc-provider -s plat-gbl-prod - deploy/github-runners: + deploy/arc-github-runners: description: | - This workflow deploys the github runners + This workflow deploys the EKS/ARC GitHub self-hosted runners steps: - command: terraform deploy iam-service-linked-roles -s core-gbl-auto - command: workflow deploy/cluster -s core-use1-auto -f eks - command: workflow deploy/resources -s core-use1-auto -f eks - command: terraform deploy eks/actions-runner-controller -s core-use1-auto - - command: workflow deploy/pl-github-runners -f github - deploy/pl-github-runners: + upload/pl-secrets: description: | - This workflow deploys the github runners from Philips Labs (component philips-labs-github-runners) + This workflow uploads the secrets for the Philips Labs self-hosted runners steps: - type: shell command: |- @@ -87,4 +83,9 @@ workflows: exit 0 fi AWS_PROFILE=acme-core-gbl-auto-admin chamber write pl-github-runners id "$APP_ID" + + deploy/pl-github-runners: + description: | + This workflow deploys the github runners from Philips Labs (component philips-labs-github-runners) + steps: - command: terraform deploy philips-labs-github-runners -s core-use1-auto \ No newline at end of file