From 0976781e14c02383880406ec561104098a160637 Mon Sep 17 00:00:00 2001 From: Daniel Brooks Date: Tue, 7 Jan 2025 12:31:32 -0800 Subject: [PATCH] fix(ci): put back the main repo pointer --- .github/actions/build-lambda/action.yml | 2 +- .github/actions/cdktf/action.yml | 2 +- .github/workflows/reuse-apollo-federation.yml | 2 +- .github/workflows/reuse-build-and-push-image.yml | 10 +++++----- .github/workflows/reuse-build-and-push-lambda.yml | 10 +++++----- .github/workflows/reuse-infrastructure.yml | 12 ++++++------ .github/workflows/reuse-test-integrations.yml | 2 +- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/actions/build-lambda/action.yml b/.github/actions/build-lambda/action.yml index a9727241c..d0977dec7 100644 --- a/.github/actions/build-lambda/action.yml +++ b/.github/actions/build-lambda/action.yml @@ -27,7 +27,7 @@ runs: using: 'composite' steps: - name: Install pnpm & node - uses: ./.github/actions/install-pnpm-and-node + uses: pocket/pocket-monorepo/.github/actions/install-pnpm-and-node@main with: scope: ${{ inputs['scope'] }} # Theres a really annoying bug in PNPM deploy command that will try and create a folder at /home/pruned which we are not allowed to do, diff --git a/.github/actions/cdktf/action.yml b/.github/actions/cdktf/action.yml index cb8f26342..52c6fb973 100644 --- a/.github/actions/cdktf/action.yml +++ b/.github/actions/cdktf/action.yml @@ -48,7 +48,7 @@ runs: ${{ runner.os }}-tfenv- - name: Install pnpm & node - uses: ./.github/actions/install-pnpm-and-node + uses: pocket/pocket-monorepo/.github/actions/install-pnpm-and-node@main with: scope: ${{ inputs['scope'] }} diff --git a/.github/workflows/reuse-apollo-federation.yml b/.github/workflows/reuse-apollo-federation.yml index 063c22988..63d8f83eb 100644 --- a/.github/workflows/reuse-apollo-federation.yml +++ b/.github/workflows/reuse-apollo-federation.yml @@ -56,7 +56,7 @@ jobs: fetch-depth: 0 - name: Install pnpm & node if: ${{ inputs.scope != '' }} - uses: ./.github/actions/install-pnpm-and-node + uses: pocket/pocket-monorepo/.github/actions/install-pnpm-and-node@main with: scope: ${{ inputs['scope'] }} - name: Build schema diff --git a/.github/workflows/reuse-build-and-push-image.yml b/.github/workflows/reuse-build-and-push-image.yml index d5f598e20..c90deeef1 100644 --- a/.github/workflows/reuse-build-and-push-image.yml +++ b/.github/workflows/reuse-build-and-push-image.yml @@ -75,7 +75,7 @@ jobs: with: name: ${{inputs.archive-download-name}} - name: Build Docker Image - uses: ./.github/actions/containerize + uses: pocket/pocket-monorepo/.github/actions/containerize@main with: docker-repo-name: "${{inputs.development-aws-registry }}/${{ format(inputs.docker-repo-name-pattern, 'dev') }}" app-path: ${{inputs.app-path}} @@ -109,7 +109,7 @@ jobs: role-to-assume: arn:aws:iam::410318598490:role/PocketGHARole - name: Build and Push Development Docker Image id: dev-docker-build - uses: ./.github/actions/containerize + uses: pocket/pocket-monorepo/.github/actions/containerize@main with: docker-repo-name: "${{inputs.development-aws-registry }}/${{ format(inputs.docker-repo-name-pattern, 'dev') }}" app-path: ${{inputs.app-path}} @@ -123,7 +123,7 @@ jobs: scope: ${{inputs.scope}} push: true - name: Code Deploy Docker Image - uses: ./.github/actions/ecs-codedeploy + uses: pocket/pocket-monorepo/.github/actions/ecs-codedeploy@main if: fromJSON(inputs.terraform-output).ecs-task-containerName.value != '' with: docker-image-name: ${{steps.dev-docker-build.outputs.docker-image-name}} @@ -149,7 +149,7 @@ jobs: role-to-assume: arn:aws:iam::996905175585:role/PocketGHARole - name: Build and Push Production Docker Image id: prod-docker-build - uses: ./.github/actions/containerize + uses: pocket/pocket-monorepo/.github/actions/containerize@main with: docker-repo-name: "${{inputs.production-aws-registry }}/${{ format(inputs.docker-repo-name-pattern, 'prod') }}" app-path: ${{inputs.app-path}} @@ -163,7 +163,7 @@ jobs: scope: ${{inputs.scope}} push: true - name: Code Deploy Docker Image - uses: ./.github/actions/ecs-codedeploy + uses: pocket/pocket-monorepo/.github/actions/ecs-codedeploy@main if: fromJSON(inputs.terraform-output).ecs-task-containerName.value != '' with: docker-image-name: ${{steps.prod-docker-build.outputs.docker-image-name}} diff --git a/.github/workflows/reuse-build-and-push-lambda.yml b/.github/workflows/reuse-build-and-push-lambda.yml index 6975f2bdf..8a3722cfb 100644 --- a/.github/workflows/reuse-build-and-push-lambda.yml +++ b/.github/workflows/reuse-build-and-push-lambda.yml @@ -52,7 +52,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Build Lambda - uses: ./.github/actions/build-lambda + uses: pocket/pocket-monorepo/.github/actions/build-lambda@main with: sentry-project: ${{inputs['sentry-project']}} sentry-org: ${{inputs['sentry-org']}} @@ -72,7 +72,7 @@ jobs: aws-region: us-east-1 role-to-assume: arn:aws:iam::410318598490:role/PocketGHARole - name: Build Lambda - uses: ./.github/actions/build-lambda + uses: pocket/pocket-monorepo/.github/actions/build-lambda@main with: sentry-project: ${{inputs['sentry-project']}} sentry-org: ${{inputs['sentry-org']}} @@ -81,7 +81,7 @@ jobs: s3-bucket: ${{ format(inputs.s3-bucket-pattern, 'dev') }} s3-key: ${{ inputs.s3-key }} - name: CodeDeploy Lambda - uses: ./.github/actions/lambda-codedeploy + uses: pocket/pocket-monorepo/.github/actions/lambda-codedeploy@main with: s3-bucket: ${{ format(inputs.s3-bucket-pattern, 'dev') }} s3-key: ${{ inputs.s3-key }} @@ -101,7 +101,7 @@ jobs: aws-region: us-east-1 role-to-assume: arn:aws:iam::996905175585:role/PocketGHARole - name: Build Lambda - uses: ./.github/actions/build-lambda + uses: pocket/pocket-monorepo/.github/actions/build-lambda@main with: sentry-project: ${{inputs['sentry-project']}} sentry-org: ${{inputs['sentry-org']}} @@ -110,7 +110,7 @@ jobs: s3-bucket: ${{ format(inputs.s3-bucket-pattern, 'prod') }} s3-key: ${{ inputs.s3-key }} - name: CodeDeploy Lambda - uses: ./.github/actions/lambda-codedeploy + uses: pocket/pocket-monorepo/.github/actions/lambda-codedeploy@main with: s3-bucket: ${{ format(inputs.s3-bucket-pattern, 'prod') }} s3-key: ${{ inputs.s3-key }} diff --git a/.github/workflows/reuse-infrastructure.yml b/.github/workflows/reuse-infrastructure.yml index 847dc2fbe..5964e3ebd 100644 --- a/.github/workflows/reuse-infrastructure.yml +++ b/.github/workflows/reuse-infrastructure.yml @@ -42,7 +42,7 @@ jobs: role-to-assume: arn:aws:iam::996905175585:role/PocketGHARole - name: Execute CDKTF if: inputs.raw-terraform == false - uses: ./.github/actions/cdktf + uses: pocket/pocket-monorepo/.github/actions/cdktf@main with: stack-output-path: ${{inputs['stack-output-path']}} scope: ${{inputs['scope']}} @@ -54,7 +54,7 @@ jobs: - name: Execute Raw Terraform if: inputs.raw-terraform == true - uses: ./.github/actions/raw-terraform + uses: pocket/pocket-monorepo/.github/actions/raw-terraform@main with: stack-output-path: ${{inputs['stack-output-path']}} scope: ${{inputs['scope']}} @@ -86,7 +86,7 @@ jobs: role-to-assume: arn:aws:iam::996905175585:role/PocketGHARole - name: Execute Development CDKTF if: inputs.raw-terraform == false && github.ref == 'refs/heads/dev' - uses: ./.github/actions/cdktf + uses: pocket/pocket-monorepo/.github/actions/cdktf@main with: stack-output-path: ${{inputs['stack-output-path']}} scope: ${{inputs['scope']}} @@ -97,7 +97,7 @@ jobs: terraform-token: ${{ secrets.TERRAFORM_TOKEN }} - name: Execute Developement Raw Terraform if: inputs.raw-terraform == true && github.ref == 'refs/heads/dev' - uses: ./.github/actions/raw-terraform + uses: pocket/pocket-monorepo/.github/actions/raw-terraform@main with: stack-output-path: ${{inputs['stack-output-path']}} scope: ${{inputs['scope']}} @@ -109,7 +109,7 @@ jobs: - name: Execute Production CDKTF if: inputs.raw-terraform == false && github.ref == 'refs/heads/main' - uses: ./.github/actions/cdktf + uses: pocket/pocket-monorepo/.github/actions/cdktf@main with: stack-output-path: ${{inputs['stack-output-path']}} scope: ${{inputs['scope']}} @@ -121,7 +121,7 @@ jobs: - name: Execute Production Raw Terraform if: inputs.raw-terraform == true && github.ref == 'refs/heads/main' - uses: ./.github/actions/raw-terraform + uses: pocket/pocket-monorepo/.github/actions/raw-terraform@main with: stack-output-path: ${{inputs['stack-output-path']}} scope: ${{inputs['scope']}} diff --git a/.github/workflows/reuse-test-integrations.yml b/.github/workflows/reuse-test-integrations.yml index 3bf9834ef..1e5090dd7 100644 --- a/.github/workflows/reuse-test-integrations.yml +++ b/.github/workflows/reuse-test-integrations.yml @@ -29,7 +29,7 @@ jobs: # While we wait for docker compose to be healthy we install node and needed packages for this service - name: Install pnpm & node - uses: ./.github/actions/install-pnpm-and-node + uses: pocket/pocket-monorepo/.github/actions/install-pnpm-and-node@main with: scope: ${{ inputs['scope'] }}