fix(ci): ensure ghcr is used when running tests (#2449)
* no message * update helm for install tests (to match SCALE nightly) and ensure ghcr is used for tests * bump something
This commit is contained in:
committed by
GitHub
parent
9b627b6a2b
commit
55152d7dec
38
.github/workflows/charts-test.yaml
vendored
38
.github/workflows/charts-test.yaml
vendored
@@ -162,12 +162,16 @@ jobs:
|
||||
- name: Create k3d cluster
|
||||
uses: nolar/setup-k3d-k3s@v1
|
||||
with:
|
||||
version: v1.20
|
||||
version: v1.23
|
||||
|
||||
- name: Remove node taints
|
||||
run: |
|
||||
kubectl taint --all=true nodes node.cloudprovider.kubernetes.io/uninitialized- || true
|
||||
|
||||
- name: Remove node taints
|
||||
run: |
|
||||
sed -i 's/tccr.io/ghcr.io/g' ${{ matrix.chart }}/values.yaml
|
||||
|
||||
- name: Run chart-testing (install)
|
||||
run: ct install --config ".github/ct-install.yaml" --charts "${{ matrix.chart }}" --upgrade
|
||||
|
||||
@@ -205,12 +209,16 @@ jobs:
|
||||
- name: Create k3d cluster
|
||||
uses: nolar/setup-k3d-k3s@v1
|
||||
with:
|
||||
version: v1.20
|
||||
version: v1.23
|
||||
|
||||
- name: Remove node taints
|
||||
run: |
|
||||
kubectl taint --all=true nodes node.cloudprovider.kubernetes.io/uninitialized- || true
|
||||
|
||||
- name: Remove node taints
|
||||
run: |
|
||||
sed -i 's/tccr.io/ghcr.io/g' ${{ matrix.chart }}/values.yaml
|
||||
|
||||
- name: Run chart-testing (install)
|
||||
run: ct install --config ".github/ct-install.yaml" --charts "${{ matrix.chart }}" --upgrade
|
||||
|
||||
@@ -249,12 +257,16 @@ jobs:
|
||||
- name: Create k3d cluster
|
||||
uses: nolar/setup-k3d-k3s@v1
|
||||
with:
|
||||
version: v1.20
|
||||
version: v1.23
|
||||
|
||||
- name: Remove node taints
|
||||
run: |
|
||||
kubectl taint --all=true nodes node.cloudprovider.kubernetes.io/uninitialized- || true
|
||||
|
||||
- name: Remove node taints
|
||||
run: |
|
||||
sed -i 's/tccr.io/ghcr.io/g' ${{ matrix.chart }}/values.yaml
|
||||
|
||||
- name: Run chart-testing (install)
|
||||
run: ct install --config ".github/ct-install.yaml" --charts "${{ matrix.chart }}" --upgrade
|
||||
|
||||
@@ -292,12 +304,16 @@ jobs:
|
||||
- name: Create k3d cluster
|
||||
uses: nolar/setup-k3d-k3s@v1
|
||||
with:
|
||||
version: v1.20
|
||||
version: v1.23
|
||||
|
||||
- name: Remove node taints
|
||||
run: |
|
||||
kubectl taint --all=true nodes node.cloudprovider.kubernetes.io/uninitialized- || true
|
||||
|
||||
- name: Remove node taints
|
||||
run: |
|
||||
sed -i 's/tccr.io/ghcr.io/g' ${{ matrix.chart }}/values.yaml
|
||||
|
||||
- name: Run chart-testing (install)
|
||||
run: ct install --config ".github/ct-install.yaml" --charts "${{ matrix.chart }}" --upgrade
|
||||
|
||||
@@ -325,7 +341,7 @@ jobs:
|
||||
helmv3
|
||||
helm: "3.8.0"
|
||||
|
||||
- uses: actions/setup-python@21c0493ecfd34b1217f0a90ec19a327f3cc0a048 # tag=v3
|
||||
- uses: actions/setup-python@9c644ca2ab8e57ea0a487b5ec2f8290740378bfd # tag=v3
|
||||
with:
|
||||
python-version: "3.10"
|
||||
|
||||
@@ -335,12 +351,16 @@ jobs:
|
||||
- name: Create k3d cluster
|
||||
uses: nolar/setup-k3d-k3s@v1
|
||||
with:
|
||||
version: v1.20
|
||||
version: v1.23
|
||||
|
||||
- name: Remove node taints
|
||||
run: |
|
||||
kubectl taint --all=true nodes node.cloudprovider.kubernetes.io/uninitialized- || true
|
||||
|
||||
- name: Remove node taints
|
||||
run: |
|
||||
sed -i 's/tccr.io/ghcr.io/g' ${{ matrix.chart }}/values.yaml
|
||||
|
||||
- name: Run chart-testing (install)
|
||||
run: ct install --config ".github/ct-install.yaml" --charts "${{ matrix.chart }}" --upgrade
|
||||
|
||||
@@ -378,12 +398,16 @@ jobs:
|
||||
- name: Create k3d cluster
|
||||
uses: nolar/setup-k3d-k3s@v1
|
||||
with:
|
||||
version: v1.20
|
||||
version: v1.23
|
||||
|
||||
- name: Remove node taints
|
||||
run: |
|
||||
kubectl taint --all=true nodes node.cloudprovider.kubernetes.io/uninitialized- || true
|
||||
|
||||
- name: Remove node taints
|
||||
run: |
|
||||
sed -i 's/tccr.io/ghcr.io/g' ${{ matrix.chart }}/values.yaml
|
||||
|
||||
- name: Run chart-testing (install)
|
||||
run: ct install --config ".github/ct-install.yaml" --charts "${{ matrix.chart }}" --upgrade
|
||||
|
||||
|
||||
Reference in New Issue
Block a user