Skip to content

Commit

Permalink
fix(ci): put back the main repo pointer (#1013)
Browse files Browse the repository at this point in the history
  • Loading branch information
bassrock authored Jan 7, 2025
1 parent 1dbe46d commit 9cc7afd
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-lambda/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/cdktf/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'] }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse-apollo-federation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/reuse-build-and-push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down Expand Up @@ -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}}
Expand All @@ -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}}
Expand All @@ -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}}
Expand All @@ -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}}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/reuse-build-and-push-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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']}}
Expand All @@ -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']}}
Expand All @@ -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 }}
Expand All @@ -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']}}
Expand All @@ -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 }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/reuse-infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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']}}
Expand All @@ -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']}}
Expand Down Expand Up @@ -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']}}
Expand All @@ -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']}}
Expand All @@ -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']}}
Expand All @@ -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']}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse-test-integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'] }}

Expand Down

0 comments on commit 9cc7afd

Please sign in to comment.