-
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.
ci: Experiment with geodesic workflow
- Loading branch information
Showing
4 changed files
with
56 additions
and
26 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
49 changes: 49 additions & 0 deletions
49
.github/workflows/static-analyzers-aggregator-geodesic-test.yaml
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,49 @@ | ||
name: Static analyzers aggregator geodesic test | ||
|
||
on: | ||
workflow_call: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
static-analysis-geodesic-test: | ||
name: Static analysis geodesic test | ||
runs-on: ubuntu-latest | ||
container: | ||
image: mtweeman/hajle-silesia_provisioning-ld:latest | ||
options: --rm -it | ||
|
||
defaults: | ||
run: | ||
shell: | ||
bash -l -e -o pipefail {0} # removed --noprofile, --norc options from default bash | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Commands | ||
run: | | ||
echo "PATH: ${PATH}" | ||
for path in $(mise bin-paths); do | ||
export PATH="${path}:${PATH}" | ||
done | ||
echo "MISE: $(mise --version)" | ||
echo "terraform: $(terraform --version)" | ||
echo "TFLint: $(tflint --version)" | ||
echo "TRivy: $(trivy --version)" | ||
echo "pc: $(pre-commit --version)" | ||
pre-commit install | ||
pre-commit run --all --hook-stage manual | ||
# - run: | | ||
# docker run --rm mtweeman/hajle-silesia_provisioning-ld:latest init | bash | ||
# /usr/local/bin/hajle-silesia_provisioning-ld | ||
# cd / | ||
# echo "DYSK: $(ls -la)" | ||
# . conf/.profile | ||
# echo "MISE: $(mise --version)" | ||
# echo "PATH: ${PATH}" | ||
# echo "TRivy: $(trivy --version)" | ||
# echo "TFLint: $(tflint --version)" | ||
# pre-commit install | ||
# pre-commit run --all --hook-stage manual |
23 changes: 0 additions & 23 deletions
23
.github/workflows/static-analyzers-aggregator-pre-commit.yaml
This file was deleted.
Oops, something went wrong.
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