Skip to content

Commit

Permalink
chore: merge aqua config files in one directory
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Mar 18, 2023
1 parent 6af5583 commit 1a92aa6
Show file tree
Hide file tree
Showing 17 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .envrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export AQUA_POLICY_CONFIG=$PWD/aqua-policy.yaml:$AQUA_POLICY_CONFIG
export AQUA_POLICY_CONFIG=$PWD/aqua/policy.yaml:$AQUA_POLICY_CONFIG
6 changes: 3 additions & 3 deletions .github/workflows/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ on:
pull_request:
paths:
- .github/workflows/*.yaml
- aqua/actionlint.yaml
- aqua/reviewdog.yaml
- aqua/imports/actionlint.yaml
- aqua/imports/reviewdog.yaml
jobs:
actionlint:
uses: suzuki-shunsuke/actionlint-workflow/.github/workflows/actionlint.yaml@6196583ab88cd36f36f7260fca4e8e4b2c4c9b66 # v0.4.1
with:
aqua_version: v1.36.1
aqua_policy_config: aqua-policy.yaml
aqua_policy_config: aqua/policy.yaml
permissions:
pull-requests: write
contents: read
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
with:
homebrew: true
go-version: 1.20.1
aqua_policy_config: aqua-policy.yaml
aqua_policy_config: aqua/policy.yaml
aqua_version: v1.36.1
secrets:
gh_app_id: ${{secrets.APP_ID}}
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: test
on: pull_request

env:
AQUA_POLICY_CONFIG: ${{ github.workspace }}/aqua-policy.yaml
AQUA_POLICY_CONFIG: ${{ github.workspace }}/aqua/policy.yaml
AQUA_LOG_COLOR: always

permissions: {}
Expand All @@ -24,15 +24,15 @@ jobs:
with:
filters: |
update-aqua-checksums:
- aqua.yaml
- aqua/*.yaml
- aqua-checksums.json
- aqua/aqua.yaml
- aqua/imports/*.yaml
- aqua/aqua-checksums.json
- .github/workflows/test.yaml
renovate-config-validator:
- renovate.json5
ghalint:
- .github/workflows/*.yaml
- aqua/ghalint.yaml
- aqua/imports/ghalint.yaml
go-mod-tidy:
- go.mod
- go.sum
Expand Down Expand Up @@ -173,7 +173,6 @@ jobs:
env:
GITHUB_TOKEN: ${{github.token}}
AQUA_LOG_LEVEL: debug
AQUA_POLICY_CONFIG: ${{ github.workspace }}/aqua-policy.yaml
AQUA_GLOBAL_CONFIG: ${{ github.workspace }}/tests/main/aqua-global.yaml:${{ github.workspace }}/tests/main/aqua-global-2.yaml
steps:
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Integration Test on Windows
on: workflow_dispatch

env:
AQUA_POLICY_CONFIG: ${{ github.workspace }}/aqua-policy.yaml
AQUA_POLICY_CONFIG: ${{ github.workspace }}/aqua/policy.yaml
AQUA_GLOBAL_CONFIG: ${{ github.workspace }}/tests/main/aqua-global.yaml:${{ github.workspace }}/tests/main/aqua-global-2.yaml
AQUA_LOG_COLOR: always
AQUA_LOG_LEVEL: debug
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion aqua.yaml → aqua/aqua.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ registries:
- type: standard
ref: v3.145.1 # renovate: depName=aquaproj/aqua-registry
packages:
- import: aqua/*.yaml
- import: imports/*.yaml
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"github>suzuki-shunsuke/renovate-config:nolimit#2.0.0",
"github>aquaproj/aqua-renovate-config:file#1.5.2(tests/aqua.*\\.yaml)",
"github>suzuki-shunsuke/renovate-config:action-go-version#2.0.0",
"github>aquaproj/aqua-renovate-config:file#1.5.2(aqua/.*\\.ya?ml)",
"github>aquaproj/aqua-renovate-config:file#1.5.2(aqua/imports/.*\\.ya?ml)",
],
ignorePaths: [],
regexManagers: [
Expand Down

0 comments on commit 1a92aa6

Please sign in to comment.