Skip to content

Commit

Permalink
Use old envar definition method
Browse files Browse the repository at this point in the history
  • Loading branch information
samayer12 committed Dec 6, 2024
1 parent 0ffccc1 commit 9389419
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/deploy-zarf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
cache: "npm"
cache-dependency-path: pepr

- name: "verify envars"
run: env
- name: "set env: PEPR"
run: echo "PEPR=${GITHUB_WORKSPACE}/pepr" >> "$GITHUB_ENV"

- name: Install Pepr Dependencies
run: |
Expand All @@ -60,6 +60,14 @@ jobs:
cd "$PEPR"
npm run build:image
- name: "set env: MOD_NAME"
run: |
echo "MOD_NAME=pepr-test-helm" >> "$GITHUB_ENV"
- name: "set env: MOD_PATH"
run: |
echo "MOD_PATH=${PEPR}/${MOD_NAME}" >> "$GITHUB_ENV"
- name: Init Pepr Module
run: |
cd "$PEPR"
Expand All @@ -72,6 +80,9 @@ jobs:
npm install "${PEPR}/pepr-0.0.0-development.tgz"
npx pepr build --custom-image pepr:dev
- name: "set env: CLUSTER"
run: echo "CLUSTER=$MOD_NAME" >> "$GITHUB_ENV"

- name: Prepare Test Cluster
run: |
k3d cluster create "$CLUSTER"
Expand Down

0 comments on commit 9389419

Please sign in to comment.