Skip to content

Commit

Permalink
Re-work pipeline (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrod-lowe authored Aug 17, 2024
1 parent 63d60da commit 13f05ae
Show file tree
Hide file tree
Showing 3,347 changed files with 34 additions and 781,399 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
13 changes: 13 additions & 0 deletions .github/workflows/environment-main-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,25 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install esbuild
run: npm install -g esbuild

- name: Compile graphql
run: make graphql

- name: Configure AWS Access
uses: aws-actions/configure-aws-credentials@55f725fcb586ca16a5ed5b0d75d464defbfa831b
with:
role-to-assume: arn:aws:iam::${{ vars.AWS_ACCOUNT }}:role/${{ vars.AWS_ROLE }}
role-session-name: GitHubDeploy-${{ vars.ENVIRONMENT }}
aws-region: ${{ vars.AWS_REGION }}

- name: terraform apply
uses: dflook/terraform-apply@7d435d4d115a11e5db1e710ac969f5382f0f6f9f
with:
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/environment-main-plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,25 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install esbuild
run: npm install -g esbuild

- name: Compile graphql
run: make graphql

- name: Configure AWS Access
uses: aws-actions/configure-aws-credentials@55f725fcb586ca16a5ed5b0d75d464defbfa831b
with:
role-to-assume: arn:aws:iam::${{ vars.AWS_ACCOUNT }}:role/${{ vars.AWS_ROLE }}
role-session-name: GitHubTest-${{ vars.ENVIRONMENT }}
aws-region: ${{ vars.AWS_REGION }}

- name: terraform plan
uses: dflook/terraform-plan@b0877a1bf56160160ab482f4aff8a12fff35fe06
with:
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ terraform.rc
.validate
.apply
plan.tfplan

graphql/node_modules
graphql/mutation/*/appsync.js
graphql/query/*/appsync.js
2 changes: 1 addition & 1 deletion graphql/graphql.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ graphql/%/appsync.js: graphql/node_modules graphql/%/appsync.ts
--outdir=$*

graphql/node_modules: graphql/package.json
cd graphql && npm install
cd graphql && npm install && npm ci

GRAPHQL := $(patsubst %.ts,%.js,$(wildcard graphql/*/*/appsync.ts))

Expand Down
38 changes: 0 additions & 38 deletions graphql/mutation/createGame/appsync.js

This file was deleted.

1 change: 0 additions & 1 deletion graphql/node_modules/.bin/acorn

This file was deleted.

1 change: 0 additions & 1 deletion graphql/node_modules/.bin/eslint

This file was deleted.

1 change: 0 additions & 1 deletion graphql/node_modules/.bin/js-yaml

This file was deleted.

1 change: 0 additions & 1 deletion graphql/node_modules/.bin/node-which

This file was deleted.

1 change: 0 additions & 1 deletion graphql/node_modules/.bin/semver

This file was deleted.

1 change: 0 additions & 1 deletion graphql/node_modules/.bin/tsc

This file was deleted.

1 change: 0 additions & 1 deletion graphql/node_modules/.bin/tsserver

This file was deleted.

Loading

0 comments on commit 13f05ae

Please sign in to comment.