From cda8ca7013fe528199d2dce1bae07a649982bd4d Mon Sep 17 00:00:00 2001 From: milldr <14060048+milldr@users.noreply.github.com> Date: Thu, 28 Aug 2025 16:17:15 +0000 Subject: [PATCH] (github actions) generated latest snippets --- .../workflows/atmos-pro-terraform-apply.yaml | 2 +- .../workflows/quickstart/platform/argocd.yaml | 107 +----------------- 2 files changed, 2 insertions(+), 107 deletions(-) diff --git a/examples/snippets/.github/workflows/atmos-pro-terraform-apply.yaml b/examples/snippets/.github/workflows/atmos-pro-terraform-apply.yaml index cfdee1d51..4ca9c5fc3 100644 --- a/examples/snippets/.github/workflows/atmos-pro-terraform-apply.yaml +++ b/examples/snippets/.github/workflows/atmos-pro-terraform-apply.yaml @@ -33,7 +33,7 @@ permissions: id-token: write # This is required for requesting the JWT contents: read # This is required for actions/checkout -jobs: +jobs: atmos-apply: name: ${{ inputs.component }}-${{ inputs.stack }} diff --git a/examples/snippets/stacks/workflows/quickstart/platform/argocd.yaml b/examples/snippets/stacks/workflows/quickstart/platform/argocd.yaml index e14dbbe3c..3e5776a18 100644 --- a/examples/snippets/stacks/workflows/quickstart/platform/argocd.yaml +++ b/examples/snippets/stacks/workflows/quickstart/platform/argocd.yaml @@ -158,109 +158,4 @@ workflows: echo "Exiting." exit 0 fi - - command: terraform deploy sso-saml-provider -s plat-use1-prod - - deploy/terraform-argocdrepo-pat: - description: Prompt for creating the argocd/terraform/argocd-repo GitHub PAT - steps: - - type: shell - command: |- - echo "Please create a fine-grained GitHub PAT" - echo "Scope: acme/argocd-deploy-non-prod and acme/argocd-deploy-prod" - echo "Permissions: (Repository) Administration: Read and write, Contents: Read and write, Metadata: Read-only. (Organization) Members: Read-only" - echo "Follow this manual to create PAT https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token" - echo "Upload the fine-grained GitHub PAT to AWS SSM" - stty -echo - read -p "GitHub PAT (text will be hidden): " -r GITHUB_PAT - stty echo - if [ -z "GITHUB_PAT" ] - then - echo 'Inputs cannot be blank please try again!' - exit 0 - fi - AWS_PROFILE=acme-core-gbl-auto-admin chamber write argocd/github api_key $GITHUB_PAT - - deploy/terraform-webhooks-nonprod-pat: - description: Prompt for creating the argocd/terraform-webhooks/nonprod GitHub PAT - steps: - - type: shell - command: |- - echo "Please create a fine-grained GitHub PAT" - echo "Scope: acme/argocd-deploy-non-prod" - echo "Permissions: (Repository) Webhooks: Read and write, Metadata: Read-only" - echo "Follow this manual to create PAT https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token" - echo "Upload the fine-grained GitHub PAT to AWS SSM" - stty -echo - read -p "GitHub PAT (text will be hidden): " -r GITHUB_PAT - stty echo - if [ -z "GITHUB_PAT" ] - then - echo 'Inputs cannot be blank please try again!' - exit 0 - fi - AWS_PROFILE=acme-plat-gbl-dev-admin chamber write argocd/github api_key $GITHUB_PAT - AWS_PROFILE=acme-plat-gbl-staging-admin chamber write argocd/github api_key $GITHUB_PAT - - deploy/terraform-webhooks-prod-pat: - description: Prompt for creating the argocd/terraform-webhooks/prod GitHub PAT - steps: - - type: shell - command: |- - echo "Please create a fine-grained GitHub PAT" - echo "Scope: acme/argocd-deploy-prod" - echo "Permissions: (Repository) Webhooks: Read and write, Metadata: Read-only" - echo "Follow this manual to create PAT https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token" - echo "Upload the fine-grained GitHub PAT to AWS SSM" - stty -echo - read -p "GitHub PAT (text will be hidden): " -r GITHUB_PAT - stty echo - if [ -z "GITHUB_PAT" ] - then - echo 'Inputs cannot be blank please try again!' - exit 0 - fi - AWS_PROFILE=acme-plat-gbl-prod-admin chamber write argocd/github api_key $GITHUB_PAT - - deploy/app-notifications-pat: - description: Prompt for creating the ARGOCD_APP_NOTIFICATIONS GitHub PAT - steps: - - type: shell - command: |- - echo "Please create a classic GitHub PAT" - echo "Scope: n/a" - echo "Permissions: repo:status" - echo "Follow this manual to create PAT https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token" - echo "Upload the classic GitHub PAT to AWS SSM" - stty -echo - read -p "GitHub PAT (text will be hidden): " -r GITHUB_PAT - stty echo - if [ -z "GITHUB_PAT" ] - then - echo 'Inputs cannot be blank please try again!' - exit 0 - fi - AWS_PROFILE=acme-plat-gbl-dev-admin chamber write argocd/notifications/notifiers/common github-token $GITHUB_PAT - AWS_PROFILE=acme-plat-gbl-staging-admin chamber write argocd/notifications/notifiers/common github-token $GITHUB_PAT - AWS_PROFILE=acme-plat-gbl-prod-admin chamber write argocd/notifications/notifiers/common github-token $GITHUB_PAT - - deploy/github-nonprod-pat: - description: Prompt for creating the argocd/github/nonprod GitHub PAT - steps: - - type: shell - command: |- - echo "Please create a fine-grained GitHub PAT" - echo "Scope: acme/argocd-deploy-non-prod and acme/infrastructure" - echo "Permissions: (Repository) Contents: Read and write, Metadata: Read-only" - echo "Follow this manual to create PAT https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token" - echo "Please upload this PAT to 1Password" - - deploy/github-prod-pat: - description: Prompt for creating the argocd/github/prod GitHub PAT - steps: - - type: shell - command: |- - echo "Please create a fine-grained GitHub PAT" - echo "Scope: acme/argocd-deploy-prod and acme/infrastructure" - echo "Permissions: (Repository) Contents: Read and write, Metadata: Read-only" - echo "Follow this manual to create PAT https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token" - echo "Please upload this PAT to 1Password" \ No newline at end of file + - command: terraform deploy sso-saml-provider -s plat-use1-prod \ No newline at end of file