Skip to content

Commit

Permalink
Fix things that shouldn't have been copied over from platform-test, a…
Browse files Browse the repository at this point in the history
…nd things that only exist in template-infra
  • Loading branch information
daphnegold committed Jul 3, 2024
1 parent c661cb2 commit 04a79b5
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 17 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/ci-infra-service.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
name: CI Infra Service Checks

on:
push:
branches:
- main
paths:
- infra/*/service/**
- infra/test/**
- .github/workflows/ci-infra-service.yml
pull_request:
paths:
- infra/*/service/**
- infra/test/**
- .github/workflows/ci-infra-service.yml
# !! Uncomment to trigger automated infra tests once dev environment is set up
# push:
# branches:
# - main
# paths:
# - infra/*/service/**
# - infra/modules/**
# - infra/test/**
# - .github/workflows/ci-infra-service.yml
# pull_request:
# paths:
# - infra/*/service/**
# - infra/modules/**
# - infra/test/**
# - .github/workflows/ci-infra-service.yml
workflow_dispatch:

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/template-only-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
- navapbc/platform-test-nextjs
steps:
- name: Checkout template-infra repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: template-infra
- name: Checkout project repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: project-repo
repository: ${{ matrix.project_repo }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/template-only-ci-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run build
run: make release-build
4 changes: 2 additions & 2 deletions .github/workflows/template-only-ci-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
name: Lint template scripts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Shellcheck
run: make -f template-only.mak lint-template-scripts
test:
name: Infra Tests
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.8.3
Expand Down

0 comments on commit 04a79b5

Please sign in to comment.