Skip to content

Commit eae8a83

Browse files
authored
Merge branch 'staging' into kubelet_disk_type_temp
2 parents 5a75507 + 1b0fb0a commit eae8a83

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+2678
-1410
lines changed

.github/dependabot.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
# Terraform dependencies
9+
- package-ecosystem: "terraform"
10+
directory: "/"
11+
schedule:
12+
interval: "weekly"
13+
target-branch: "staging"
14+
open-pull-requests-limit: 2
15+
16+
# Docker dependencies
17+
- package-ecosystem: "docker"
18+
directory: "/"
19+
schedule:
20+
interval: "weekly"
21+
target-branch: "staging"
22+
open-pull-requests-limit: 2
23+
24+
# GitHub Actions
25+
- package-ecosystem: "github-actions"
26+
directory: "/"
27+
schedule:
28+
interval: "weekly"
29+
target-branch: "staging"
30+
open-pull-requests-limit: 2

.github/release-drafter.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name-template: 'v$RESOLVED_VERSION - <RELEASE_DATE>'
2+
tag-template: 'v$RESOLVED_VERSION'
3+
categories:
4+
- title: '⚠️ BREAKING CHANGES'
5+
labels:
6+
- 'breaking change'
7+
- title: '🚀 Features'
8+
labels:
9+
- 'feature'
10+
- 'enhancement'
11+
- title: '🐛 Bug Fixes'
12+
labels:
13+
- 'bug'
14+
- title: '📖 Documentation'
15+
labels:
16+
- 'documentation'
17+
- title: '⏱️ Performance'
18+
labels:
19+
- 'performance'
20+
- title: '🤖 Tests'
21+
labels:
22+
- 'test'
23+
- title: '🔧 Maintenance'
24+
labels:
25+
- 'build'
26+
- 'chore'
27+
- 'CI/CD'
28+
- 'refactor'
29+
- 'revert'
30+
- 'style'
31+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
32+
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
33+
version-resolver:
34+
major:
35+
labels:
36+
- 'breaking change'
37+
minor:
38+
labels:
39+
- 'feature'
40+
- 'enhancement'
41+
patch:
42+
labels:
43+
- 'bug'
44+
- 'CI/CD'
45+
- 'documentation'
46+
- 'test'
47+
- 'performance'
48+
- 'refactor'
49+
- 'chore'
50+
- 'revert'
51+
- 'style'
52+
default: patch
53+
template: |
54+
## Changes
55+
56+
$CHANGES
57+
58+
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION

.github/workflows/container-structure-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
acceptance:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1313

1414
- name: Build the Docker image
1515
run: docker build . --file Dockerfile --tag sas-iac-aks:local
1616

1717
- name: Container Structure Test Action
18-
uses: plexsystems/container-structure-test-action@v0.2.0
18+
uses: plexsystems/container-structure-test-action@v0.3.0
1919
with:
2020
image: sas-iac-aks:local
2121
config: container-structure-test.yaml
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: PR Conventional Commit Validation
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened, edited]
6+
branches:
7+
- main
8+
- staging
9+
10+
jobs:
11+
validate-pr-title:
12+
runs-on: ubuntu-latest
13+
steps:
14+
# https://github.com/marketplace/actions/conventional-commit-in-pull-requests
15+
- name: PR Conventional Commit Validation
16+
uses: ytanikin/[email protected]
17+
with:
18+
task_types: '["fix", "feat", "build", "chore", "ci", "docs", "style", "refactor", "perf", "test"]'
19+
custom_labels: '{"feat": "enhancement", "fix": "bug", "docs": "documentation", "ci": "CI/CD", "perf": "performance"}'
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
update_release_draft:
13+
permissions:
14+
# write permission is required to create a github release
15+
contents: write
16+
runs-on: ubuntu-latest
17+
steps:
18+
# Drafts your next Release notes as Pull Requests are merged into "main"
19+
- uses: release-drafter/release-drafter@v6
20+
with:
21+
disable-autolabeler: true
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/linter-analysis.yaml renamed to .github/workflows/linter-analysis.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Linter Analysis
22
on:
3-
push:
4-
branches: ['**'] # '*' will cause the workflow to run on all commits to all branches.
3+
pull_request:
4+
branches:
5+
- main
6+
- staging
57

68
jobs:
79
# Hadolint: Job-1
@@ -10,10 +12,10 @@ jobs:
1012
runs-on: ubuntu-latest
1113
steps:
1214
- name: Checkout Repo
13-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1416

1517
- name: Run Hadolint Action
16-
uses: jbergstroem/hadolint-gh-action@v1.11.0
18+
uses: jbergstroem/hadolint-gh-action@v1.12.2
1719
with:
1820
dockerfile: ./Dockerfile
1921
config_file: linting-configs/.hadolint.yaml
@@ -25,7 +27,7 @@ jobs:
2527
runs-on: ubuntu-latest
2628
steps:
2729
- name: Checkout Repo
28-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
2931

3032
- name: Run ShellCheck Action
3133
uses: ludeeus/action-shellcheck@master
@@ -38,7 +40,7 @@ jobs:
3840
runs-on: ubuntu-latest
3941
steps:
4042
- name: Checkout Repo
41-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
4244

4345
- name: Cache Plugin Directory
4446
uses: actions/cache@v3
@@ -53,7 +55,7 @@ jobs:
5355
terraform_wrapper: false
5456

5557
- name: Setup TFLint
56-
uses: terraform-linters/setup-tflint@v3.0.0
58+
uses: terraform-linters/setup-tflint@v4.1.1
5759
with:
5860
tflint_version: latest
5961
github_token: ${{ secrets.LINTER_TOKEN }}

.github/workflows/semvar.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Update Semver
2+
on:
3+
push:
4+
branches-ignore:
5+
- '**'
6+
tags:
7+
- 'v*.*.*'
8+
jobs:
9+
update-semver:
10+
# Update the tags based on semantic versioning.
11+
# Also update the latest tag.
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: haya14busa/action-update-semver@v1
16+
- name: Create latest git tag
17+
run: |
18+
git tag latest
19+
- name: Push latest git tag
20+
run: git push -f origin latest
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: 'Mark stale issues and PRs'
2+
on:
3+
schedule:
4+
- cron: '30 1 * * *'
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/[email protected]
11+
with:
12+
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity.'
13+
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity.'
14+
days-before-stale: 30
15+
days-before-close: -1

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ sas_iac_buildinfo.yaml
1313
.vscode
1414
test/bin
1515
test/pkg
16-
test/test_output
16+
test/testoutput

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
default_stages: [pre-commit]
33
repos:
44
- repo: https://github.com/gitleaks/gitleaks
5-
rev: v8.23.3
5+
rev: v8.24.3
66
hooks:
77
- id: gitleaks
88

0 commit comments

Comments
 (0)