Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 2 additions & 6 deletions .github/workflows/chart-doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Helm
uses: azure/setup-helm@v4.2.0
with:
version: v3.6.3
uses: azure/setup-helm@v4

- name: install Just
uses: extractions/setup-just@v2
Expand Down Expand Up @@ -78,9 +76,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Helm
uses: azure/setup-helm@v4.2.0
with:
version: v3.6.3
uses: azure/setup-helm@v4

- name: Add rstudio helm repo
run: helm repo add rstudio https://helm.rstudio.com
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/chart-rebuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ jobs:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v4.2.0
with:
version: v3.6.3
uses: azure/setup-helm@v4

- name: Add rstudio helm repo
run: helm repo add rstudio https://helm.rstudio.com
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/chart-releaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ jobs:
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"

- name: Install Helm
uses: azure/setup-helm@v4.2.0
with:
version: v3.6.3
uses: azure/setup-helm@v4

- name: Add rstudio helm repo
run: helm repo add rstudio https://helm.rstudio.com
Expand Down
54 changes: 11 additions & 43 deletions .github/workflows/chart-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ jobs:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v4.2.0
with:
version: v3.6.3
uses: azure/setup-helm@v4

- name: Add rstudio helm repo
run: helm repo add rstudio https://helm.rstudio.com
Expand All @@ -28,28 +26,20 @@ jobs:
python-version: "3.10"

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.6.1

- name: Symlink ci-lint -> ci
run: |
for dir in ci/*/lint; do
dir=${dir#ci/}
dir=${dir%/lint}
ln -s ../../ci/${dir}/lint charts/${dir}/ci
done
uses: helm/chart-testing-action@v2

- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch main --chart-dirs charts --chart-dirs other-charts)
changed=$(ct list-changed --use-helmignore --target-branch main --chart-dirs charts --chart-dirs other-charts)
if [[ -n "$changed" ]]; then
echo 'changed=true' >> $GITHUB_OUTPUT
fi

- name: Run chart-testing (lint changed)
id: ct-lint
if: steps.list-changed.outputs.changed == 'true'
run: ct lint --target-branch main --chart-dirs charts --chart-dirs other-charts
run: ct lint --use-helmignore --target-branch main --chart-dirs charts --chart-dirs other-charts
continue-on-error: true

- name: Run chart-testing (lint all)
Expand Down Expand Up @@ -91,20 +81,10 @@ jobs:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v4.2.0
with:
version: v3.6.3
uses: azure/setup-helm@v4

- name: Install helm unittest plugin
run: helm plugin install --version v0.6.3 https://github.com/helm-unittest/helm-unittest.git

- name: Symlink ci-tests -> tests
run: |
for dir in ci/*/tests; do
dir=${dir#ci/}
dir=${dir%/tests}
ln -s ../../ci/${dir}/tests charts/${dir}/tests
done
run: helm plugin install https://github.com/helm-unittest/helm-unittest.git

- name: Run chart unit tests
id: unittest
Expand Down Expand Up @@ -149,9 +129,7 @@ jobs:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v4.2.0
with:
version: v3.6.3
uses: azure/setup-helm@v4

- name: Add rstudio helm repo
run: helm repo add rstudio https://helm.rstudio.com
Expand All @@ -161,26 +139,18 @@ jobs:
python-version: "3.10"

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.6.1

- name: Symlink ci-install -> ci
run: |
for dir in ci/*/install; do
dir=${dir#ci/}
dir=${dir%/install}
ln -s ../../ci/${dir}/install charts/${dir}/ci
done
uses: helm/chart-testing-action@v2

- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch main --chart-dirs charts --chart-dirs other-charts)
changed=$(ct list-changed --use-helmignore --target-branch main --chart-dirs charts --chart-dirs other-charts)
if [[ -n "$changed" ]]; then
echo 'changed=true' >> $GITHUB_OUTPUT
fi

- name: Create kind cluster
uses: helm/kind-action@v1.10.0
uses: helm/kind-action@v1

- name: Install SealedSecrets Helm Chart
run: |
Expand Down Expand Up @@ -249,9 +219,7 @@ jobs:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v4.2.0
with:
version: v3.6.3
uses: azure/setup-helm@v4

- uses: extractions/setup-just@v2

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ _publish.yml

/.quarto/

# helm packages
*.tgz
3 changes: 3 additions & 0 deletions charts/posit-chronicle/.helmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.hg/
.hgignore
.svn/
.helmignore
# Common backup files
*.swp
*.bak
Expand All @@ -23,4 +24,6 @@
.vscode/

# chart tests
ci/
lint/
tests/
3 changes: 3 additions & 0 deletions charts/rstudio-connect/.helmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.hg/
.hgignore
.svn/
.helmignore
# Common backup files
*.swp
*.bak
Expand All @@ -23,4 +24,6 @@
.vscode/

# chart tests
ci/
lint/
tests/
3 changes: 3 additions & 0 deletions charts/rstudio-launcher-rbac/.helmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.hg/
.hgignore
.svn/
.helmignore
# Common backup files
*.swp
*.bak
Expand All @@ -23,4 +24,6 @@
.vscode/

# chart tests
ci/
lint/
tests/
3 changes: 3 additions & 0 deletions charts/rstudio-library/.helmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.hg/
.hgignore
.svn/
.helmignore
# Common backup files
*.swp
*.bak
Expand All @@ -23,4 +24,6 @@
.vscode/

# chart tests
ci/
lint/
tests/
3 changes: 3 additions & 0 deletions charts/rstudio-pm/.helmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.hg/
.hgignore
.svn/
.helmignore
# Common backup files
*.swp
*.bak
Expand All @@ -23,4 +24,6 @@
.vscode/

# chart tests
ci/
lint/
tests/
3 changes: 3 additions & 0 deletions charts/rstudio-workbench/.helmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
snapshot/
Makefile
*.gotmpl
.helmignore

# chart tests
ci/
lint/
tests/