Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
57ce110
create chart-testing composite
Jun 10, 2024
c34993a
Add Weekly Helm Testing (#105)
Jun 10, 2024
09cb6bb
Merge branch 'main' into tylertitsworth/ct-composite
Jun 10, 2024
e75249e
validate composite
Jun 10, 2024
4b24d09
test on composite branch
Jun 10, 2024
0cca507
remove ref
Jun 10, 2024
e7687cb
update syntax issues
Jun 10, 2024
8f4dcc1
add --config
Jun 10, 2024
42d711b
test list_changed
Jun 10, 2024
a296345
edit config
Jun 10, 2024
82a91c1
always use event default
Jun 10, 2024
92cf6d8
ensure fetch-depth is 0
Jun 10, 2024
5c9a0a6
remove test file
Jun 10, 2024
5ace143
specify find depth
Jun 10, 2024
475a939
Merge branch 'tylertitsworth/integration-test-depth' into tylertitswo…
Jun 10, 2024
e32097b
Merge branch 'main' into tylertitsworth/integration-test-depth
Jun 11, 2024
a91fe0c
Merge branch 'tylertitsworth/integration-test-depth' into tylertitswo…
Jun 11, 2024
8c03b28
Merge branch 'main' into tylertitsworth/ct-composite
Jun 11, 2024
cb8d685
Merge branch 'main' into tylertitsworth/ct-composite
Jun 11, 2024
086bc00
Merge branch 'main' into tylertitsworth/ct-composite
Jun 11, 2024
2238e34
Create action.yml
Jun 11, 2024
5a7809f
Merge branch 'tylertitsworth/chart-composite' into tylertitsworth/ct-…
Jun 11, 2024
4cb24f8
Merge branch 'main' into tylertitsworth/chart-composite
sharvil10 Jun 11, 2024
f187856
Merge branch 'main' into tylertitsworth/chart-composite
Jun 11, 2024
8fb50f0
Merge branch 'tylertitsworth/chart-composite' into tylertitsworth/ct-…
Jun 11, 2024
a87429c
Merge branch 'main' into tylertitsworth/ct-composite
Jun 11, 2024
7818c73
replace with SHA
Jun 11, 2024
8b9ae1d
use valid syntax
Jun 11, 2024
75bc326
use full action syntax
Jun 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 2 additions & 21 deletions .github/workflows/chart-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,25 +42,6 @@ jobs:
with:
fetch-depth: 0
ref: ${{ github.event.merge_group.head_ref }}
- uses: azure/setup-kubectl@3e0aec4d80787158d308d7b364cb1b702e7feb7f # v4.0.0
- uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
- uses: intel/ai-containers/workflows/charts@3dd3db546b10d1a29f17a4fc45d4c5b7ca950c90 # main
with:
python-version: 3.x
- name: Setup chart-testing
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
- name: Get chart diff
id: changed
run: |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }} --config .github/ct.yaml)
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: Helm Lint, Install, and Test
if: steps.changed.outputs.changed == 'true'
run: |
install -m 0600 ${{ secrets.KUBECONFIG_PATH }} /tmp/config.yaml
kubectl config use-context kubeflow
ct lint-and-install --target-branch ${{ github.event.repository.default_branch }} --config .github/ct.yaml --debug --namespace helm-ci
env:
KUBECONFIG: /tmp/config.yaml
kubeconfig_path: ${{ secrets.KUBECONFIG_PATH }}
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
group: ${{ fromJson(needs.group-diff.outputs.groups) }}
experimental: [true]
fail-fast: false
uses: ./.github/workflows/container-ci.yaml
uses: intel/ai-containers/.github/workflows/container-ci.yaml@3dd3db546b10d1a29f17a4fc45d4c5b7ca950c90 # main
with:
group_dir: ${{ matrix.group }}
ref: "refs/pull/${{ github.event.number }}/merge"
Expand Down
17 changes: 16 additions & 1 deletion .github/workflows/weekly-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,26 @@ jobs:
group: ${{ fromJson(needs.get-groups.outputs.groups) }}
experimental: [true]
fail-fast: false
uses: ./.github/workflows/container-ci.yaml
uses: intel/ai-containers/.github/workflows/container-ci.yaml@3dd3db546b10d1a29f17a4fc45d4c5b7ca950c90 # main
with:
group_dir: ${{ matrix.group }}
ref: main
secrets: inherit
helm-ci:
runs-on: kubectl
steps:
- name: Harden Runner
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
with:
egress-policy: audit
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- uses: intel/ai-containers/workflows/charts@3dd3db546b10d1a29f17a4fc45d4c5b7ca950c90 # main
with:
config: '--all --namespace helm-ci'
list_changed: false
kubeconfig_path: ${{ secrets.KUBECONFIG_PATH }}
scan:
name: gitleaks
runs-on: ubuntu-latest
Expand Down