From 064f37b201612234d1b890781999071d80c524d8 Mon Sep 17 00:00:00 2001 From: milldr <14060048+milldr@users.noreply.github.com> Date: Thu, 29 Aug 2024 18:04:14 +0000 Subject: [PATCH] (github actions) generated latest snippets --- .../snippets/stacks/workflows/github.yaml | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/examples/snippets/stacks/workflows/github.yaml b/examples/snippets/stacks/workflows/github.yaml index 9b93bb85f..a21be9b57 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: | @@ -27,20 +24,17 @@ workflows: - command: terraform deploy github-oidc-provider -s plat-gbl-sandbox - 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 +81,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