-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d60d542
commit a295b66
Showing
10 changed files
with
267 additions
and
46 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
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,26 +1,26 @@ | ||
# name: pre-commit | ||
name: pre-commit | ||
|
||
# on: | ||
# push: | ||
# workflow_dispatch: | ||
# jobs: | ||
# pre-commit: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - uses: actions/setup-python@v2 | ||
# - uses: terraform-linters/setup-tflint@v1 | ||
# with: | ||
# tflint_version: latest | ||
# - uses: pre-commit/action@v3.0.0 | ||
# - name: Analyze Kustomize Manifests | ||
# run: | | ||
# pwd | ||
# ls -al | ||
# curl https://get.datree.io | /bin/bash | ||
# datree test tekton/base/pipelines/* --ignore-missing-schemas --no-record | ||
# echo "scanning tasks..." | ||
# datree test tekton/base/tasks/* --ignore-missing-schemas --no-record | ||
# echo "scan triggers..." | ||
# datree test tekton/base/triggers/* --ignore-missing-schemas --no-record | ||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- uses: terraform-linters/setup-tflint@v1 | ||
with: | ||
tflint_version: latest | ||
- uses: pre-commit/action@v3.0.0 | ||
- name: Analyze Kustomize Manifests | ||
run: | | ||
pwd | ||
ls -al | ||
curl https://get.datree.io | /bin/bash | ||
datree test tekton/base/pipelines/* --ignore-missing-schemas --no-record | ||
echo "scanning tasks..." | ||
datree test tekton/base/tasks/* --ignore-missing-schemas --no-record | ||
echo "scan triggers..." | ||
datree test tekton/base/triggers/* --ignore-missing-schemas --no-record |
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 |
---|---|---|
|
@@ -21,4 +21,4 @@ | |
# exit-code: '0' | ||
# ignore-unfixed: true | ||
# vuln-type: os,library | ||
# severity: CRITICAL | ||
# severity: CRITICAL |
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.