-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maintenance bash-tools-framework 6.1.1
- Update github worflows cron scheduling - Update github worflows versions - bash-compiler uses DEFAULT_TEMPLATE_FOLDER - recompiled all binaries to use bash-tools-framework 6.1.1 - updated pre-commit versions - fixed issues found by megalinter
- Loading branch information
1 parent
c626ddf
commit d2ea28c
Showing
53 changed files
with
336 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FRAMEWORK_ROOT_DIR=${ROOT_DIR}/vendor/bash-tools-framework | ||
BASH_TOOLS_ROOT_DIR=${ROOT_DIR} | ||
TEMPLATES_ROOT_DIR=${HOME}/fchastanet/bash-compiler/examples/templates | ||
TEMPLATES_ROOT_DIR=${DEFAULT_TEMPLATE_FOLDER} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
endfunction | ||
endfunction | ||
enduml | ||
nullable | ||
skinparam | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ env: | |
COND_UPDATED_SOURCES: false | ||
COND_APPLY_FIXES_NEEDED: false | ||
|
||
permissions: read-all | ||
jobs: | ||
# ------------------------------------------------------- | ||
# Pre-commit | ||
|
@@ -49,7 +50,7 @@ jobs: | |
# needed by megalinter | ||
pull-requests: write | ||
steps: | ||
- uses: akatov/commit-status-updater@a9e988ec5454692ff7745a509452422a35172ad6 | ||
- uses: ouzi-dev/commit-status-updater@v2 | ||
with: | ||
name: build-bash-tools | ||
status: pending | ||
|
@@ -81,7 +82,7 @@ jobs: | |
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.APP_PRIVATE_KEY }} | ||
|
||
- uses: akatov/commit-status-updater@a9e988ec5454692ff7745a509452422a35172ad6 | ||
- uses: ouzi-dev/commit-status-updater@v2 | ||
with: | ||
name: pre-commit-megalinter | ||
status: pending | ||
|
@@ -121,10 +122,10 @@ jobs: | |
id: ml | ||
if: ${{ always() }} | ||
# You can override MegaLinter flavor used to have faster performances | ||
# More info at https://megalinter.io/flavors/ | ||
# More info at https://megalinter.io/latest/flavors/ | ||
uses: oxsecurity/megalinter/flavors/terraform@v8 | ||
# All available variables are described in documentation | ||
# https://megalinter.io/configuration/ | ||
# https://megalinter.io/latest/configuration/ | ||
env: | ||
# Validates all source when push on master, | ||
# else just the git diff with master. | ||
|
@@ -171,7 +172,7 @@ jobs: | |
env.COND_UPDATED_SOURCES == 'true' && | ||
env.COND_APPLY_FIXES_NEEDED == 'true' && | ||
!contains(github.event.head_commit.message, 'skip fix') | ||
uses: peter-evans/create-pull-request@v6 | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
token: ${{ steps.generate-token.outputs.token }} | ||
committer: fchastanet <[email protected]> | ||
|
@@ -191,7 +192,7 @@ jobs: | |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" | ||
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" | ||
- uses: akatov/commit-status-updater@a9e988ec5454692ff7745a509452422a35172ad6 | ||
- uses: ouzi-dev/commit-status-updater@v2 | ||
if: ${{ always() }} | ||
with: | ||
name: pre-commit-megalinter | ||
|
@@ -246,7 +247,7 @@ jobs: | |
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.APP_PRIVATE_KEY }} | ||
|
||
- uses: akatov/commit-status-updater@a9e988ec5454692ff7745a509452422a35172ad6 | ||
- uses: ouzi-dev/commit-status-updater@v2 | ||
with: | ||
name: unit-tests-${{matrix.vendor}}-${{matrix.bashTarVersion}} | ||
status: pending | ||
|
@@ -315,7 +316,7 @@ jobs: | |
path: | | ||
logs/** | ||
- uses: akatov/commit-status-updater@a9e988ec5454692ff7745a509452422a35172ad6 | ||
- uses: ouzi-dev/commit-status-updater@v2 | ||
with: | ||
name: unit-tests-${{matrix.vendor}}-${{matrix.bashTarVersion}} | ||
status: ${{ job.status }} | ||
|
@@ -334,7 +335,7 @@ jobs: | |
# You can get the conclusion via env (env.WORKFLOW_CONCLUSION) | ||
- uses: AbsoLouie/[email protected] | ||
|
||
- uses: akatov/commit-status-updater@a9e988ec5454692ff7745a509452422a35172ad6 | ||
- uses: ouzi-dev/commit-status-updater@v2 | ||
with: | ||
name: build-bash-tools | ||
# neutral, success, skipped, cancelled, timed_out, action_required, failure | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: # yamllint disable-line rule:truthy | |
workflow_dispatch: | ||
schedule: | ||
# https://crontab.cronhub.io/ | ||
- cron: "30 10 * * *" | ||
- cron: "30 22 1-7 */3 FRI" | ||
jobs: | ||
auto-update: | ||
runs-on: ubuntu-22.04 | ||
|
@@ -37,7 +37,7 @@ jobs: | |
private_key: ${{ secrets.APP_PRIVATE_KEY }} | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v6 | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
token: ${{ steps.generate-token.outputs.token }} | ||
committer: fchastanet <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"checks": { | ||
"typography.symbols": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.