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
4 changes: 4 additions & 0 deletions .github/workflows/test-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
run: |
helm plugin install https://github.com/jkroepke/helm-secrets --version v3.4.1

- name: Install helm-push
run: |
helm plugin install https://github.com/chartmuseum/helm-push --version v0.9.0

- name: Install plugin
run: make install-plugin

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fmt:

# Run fast and independant tests
test:
@ $(shell $(HELM) env) deno test --allow-run --allow-env src/ e2e-tests/
@ $(shell $(HELM) env) deno test --unstable --allow-run --allow-read --allow-write --allow-env --allow-net src/ e2e-tests/

# Run all tests
#
Expand All @@ -32,4 +32,4 @@ test:
# - helm-diff
# - kubernetes cluster with access to read services in default namespace
test-all:
@ $(shell $(HELM) env) RUN_ALL_TESTS=true deno test --allow-run --allow-env src/ e2e-tests/
@ $(shell $(HELM) env) RUN_ALL_TESTS=true deno test --unstable --allow-run --allow-read --allow-write --allow-env --allow-net src/ e2e-tests/
5 changes: 5 additions & 0 deletions e2e-tests/charts/prebundled/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v2
name: prebundled
description: A helm chart for helm-deno testing
icon: https://raw.githubusercontent.com/twbs/icons/a41f763/icons/pie-chart-fill.svg
version: 1.0.0
15 changes: 15 additions & 0 deletions e2e-tests/charts/prebundled/deno-bundle.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// This chart is prebundled and than changed to check that helm-deno will use
// deno-bundle.js when --deno-use-bundle flag has been provided and
// deno-templates/index.ts otherwise

export default function prebundled() {
return [
{
kind: "ServiceAccount",
apiVersion: "v1",
metadata: {
name: "prebundled",
},
},
]
}
11 changes: 11 additions & 0 deletions e2e-tests/charts/prebundled/deno-templates/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export default function prebundled() {
return [
{
kind: "ServiceAccount",
apiVersion: "v1",
metadata: {
name: "not-bundled",
},
},
]
}
Loading