-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #591 from rstudio/test-more-install-values
Test the license-file-secret-values linting file with basic-values.yaml additions
- Loading branch information
Showing
4 changed files
with
29 additions
and
11 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 |
---|---|---|
|
@@ -130,26 +130,38 @@ jobs: | |
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
if: ${{ steps.list-changed.outputs.changed == 'true' || github.ref == 'refs/heads/main' }} | ||
|
||
- name: Install SealedSecrets Helm Chart | ||
if: ${{ steps.list-changed.outputs.changed == 'true' || github.ref == 'refs/heads/main' }} | ||
run: | | ||
helm repo add sealed-secrets https://bitnami-labs.github.io/sealed-secrets | ||
helm install sealed-secrets sealed-secrets/sealed-secrets | ||
- name: Create posit-test namespace | ||
run: kubectl create namespace posit-test | ||
|
||
- name: Create License File Secrets | ||
run: | | ||
echo "${{ secrets.PWB_LICENSE_FILE }}" > pwb.lic | ||
kubectl create secret generic pwb-license --from-file=pwb.lic --namespace posit-test | ||
rm pwb.lic | ||
echo "${{ secrets.PCT_LICENSE_FILE }}" > pct.lic | ||
kubectl create secret generic pct-license --from-file=pct.lic --namespace posit-test | ||
rm pct.lic | ||
echo "${{ secrets.PPM_LICENSE_FILE }}" > ppm.lic | ||
kubectl create secret generic ppm-license --from-file=ppm.lic --namespace posit-test | ||
rm ppm.lic | ||
# no allow-failure until https://github.com/actions/toolkit/issues/399 | ||
- name: Run chart-testing (install changed) | ||
id: ct-install | ||
if: ${{ github.ref != 'refs/heads/main' && steps.list-changed.outputs.changed == 'true' }} | ||
run: ct install --target-branch main --chart-dirs charts --chart-dirs other-charts --excluded-charts rstudio-library | ||
run: ct install --target-branch main --chart-dirs charts --chart-dirs other-charts --excluded-charts rstudio-library --namespace posit-test | ||
continue-on-error: true | ||
|
||
# no allow-failure until https://github.com/actions/toolkit/issues/399 | ||
- name: Run chart-testing (install all) | ||
id: ct-install-all | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
run: ct install --target-branch main --all --chart-dirs charts --chart-dirs other-charts --excluded-charts rstudio-library | ||
run: ct install --target-branch main --all --chart-dirs charts --chart-dirs other-charts --excluded-charts rstudio-library --namespace posit-test | ||
continue-on-error: true | ||
|
||
- name: Notify Slack of chart install 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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
readinessProbe: | ||
enabled: false | ||
license: | ||
file: | ||
secret: pct-license | ||
secretKey: pct.lic |
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,2 +1,4 @@ | ||
readinessProbe: | ||
enabled: false | ||
license: | ||
file: | ||
secret: ppm-license | ||
secretKey: ppm.lic |
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,2 +1,4 @@ | ||
readinessProbe: | ||
enabled: false | ||
license: | ||
file: | ||
secret: pwb-license | ||
secretKey: pwb.lic |