Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cosmetic Workflow Changes #107

Merged
merged 3 commits into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/_containerTemplate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ on:
jobs:
deployment:
name: Container Build & Push
runs-on: ubuntu-latest
runs-on: [ubuntu-latest]
continue-on-error: false
environment: ${{ inputs.environment }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_functionAppDeployTemplate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ on:
jobs:
deployment:
name: Function App Deploy
runs-on: self-hosted
runs-on: [self-hosted]
continue-on-error: false
environment: ${{ inputs.environment }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_functionAppTestTemplate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
deployment:
name: Function App Test
runs-on: ubuntu-latest
runs-on: [ubuntu-latest]
continue-on-error: false

steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/_terraformEnvironmentTemplate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ permissions:
jobs:
lint:
name: Terraform Lint
runs-on: ubuntu-latest
runs-on: [ubuntu-latest]
continue-on-error: false

steps:
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:

plan:
name: Terraform Plan
runs-on: self-hosted
runs-on: [self-hosted]
continue-on-error: false
environment: ${{ inputs.environment }}
needs: [lint]
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:

apply:
name: Terraform Apply
runs-on: self-hosted
runs-on: [self-hosted]
continue-on-error: false
environment: ${{ inputs.environment }}
if: github.event_name == 'push' || github.event_name == 'release'
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ on:
jobs:
lint:
name: Lint and Test
runs-on: ubuntu-latest
runs-on: [ubuntu-latest]
continue-on-error: false

steps:
# Setup Python 3.11
Expand All @@ -37,8 +38,13 @@ jobs:
- name: Run Linting
id: linting
run: |
pip install -r requirements.txt -q
echo "Install dependencies"
python3 -m pip install -r requirements.txt -q

echo "Initialize Git"
git init
git add *
pre-commit install --install-hooks
pre-commit run --all-files --verbose

echo "Run pre-commit"
python3 -m pre_commit install --install-hooks
python3 -m pre_commit run --all-files --verbose
1 change: 0 additions & 1 deletion .github/workflows/newMajorVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ permissions:
env:
TAG_NAME: ${{ github.event.inputs.tag_name || github.event.release.tag_name }}


jobs:
update_tag:
name: Update the major tag to include the ${{ github.event.inputs.tag_name || github.event.release.tag_name }} changes
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ on:
paths:
- "**.tf"
- "code/infra/**"
- ".github/workflows/terraform.yml"

pull_request:
branches:
- main
paths:
- "**.tf"
- "code/infra/**"
- ".github/workflows/terraform.yml"

jobs:
terraform_dev:
Expand Down
Loading