Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
btlghrants committed Aug 26, 2024
1 parent 8d8a5fa commit 196f284
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/semrel-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}

# --> works, but takes too longs, so commented out1
# --> takes too long, so skipping!
# journey:
# runs-on: ubuntu-latest
# steps:
Expand Down
81 changes: 41 additions & 40 deletions .github/workflows/semrel-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,43 +120,44 @@ jobs:
with:
egress-policy: audit

- name: "install k3d"
run: "curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash"
shell: bash

- name: dowload image tar artifact
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: pepr-img.tar
path: ${{ github.workspace }}

- name: import pepr image from tar
run: |
PEPR_TAR="${GITHUB_WORKSPACE}/pepr-img.tar"
echo "PEPR_TAR=${PEPR_TAR}" >> "$GITHUB_ENV"
docker image load --input "$PEPR_TAR"
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
repository: defenseunicorns/pepr-excellent-examples
path: pepr-excellent-examples

- name: "set env: PEXEX"
run: echo "PEXEX=${GITHUB_WORKSPACE}/pepr-excellent-examples" >> "$GITHUB_ENV"

- name: setup node
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: 20
cache: npm
cache-dependency-path: pepr-excellent-examples

- name: install pepr-excellent-examples deps
run: |
cd "$PEXEX"
npm ci
- name: run e2e tests
run: |
cd "$PEXEX"
npm run --workspace=${{ matrix.name }} test:e2e -- --image pepr:dev
# --> takes too long, so skipping!
# - name: "install k3d"
# run: "curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash"
# shell: bash

# - name: dowload image tar artifact
# uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
# with:
# name: pepr-img.tar
# path: ${{ github.workspace }}

# - name: import pepr image from tar
# run: |
# PEPR_TAR="${GITHUB_WORKSPACE}/pepr-img.tar"
# echo "PEPR_TAR=${PEPR_TAR}" >> "$GITHUB_ENV"
# docker image load --input "$PEPR_TAR"

# - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
# with:
# repository: defenseunicorns/pepr-excellent-examples
# path: pepr-excellent-examples

# - name: "set env: PEXEX"
# run: echo "PEXEX=${GITHUB_WORKSPACE}/pepr-excellent-examples" >> "$GITHUB_ENV"

# - name: setup node
# uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
# with:
# node-version: 20
# cache: npm
# cache-dependency-path: pepr-excellent-examples

# - name: install pepr-excellent-examples deps
# run: |
# cd "$PEXEX"
# npm ci

# - name: run e2e tests
# run: |
# cd "$PEXEX"
# npm run --workspace=${{ matrix.name }} test:e2e -- --image pepr:dev

0 comments on commit 196f284

Please sign in to comment.