Skip to content

Commit

Permalink
Fixed a typo in the release pipeline that uses the wrong (#104)
Browse files Browse the repository at this point in the history
context for the wws image. It also deletes the NEVER pullpolicy
from the workload YAML to be consistent with other services.

Signed-off-by: jiaxiao zhou <[email protected]>
  • Loading branch information
Mossaka authored Jun 26, 2023
1 parent 13ce5fa commit d1b2947
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
tags: |
ghcr.io/deislabs/containerd-wasm-shims/examples/wws-js-hello:${{ env.RELEASE_VERSION }}
ghcr.io/deislabs/containerd-wasm-shims/examples/wws-js-hello:latest
context: images/slight
context: images/wws
platforms: wasi/wasm
- name: untar x86_64 musl artifacts into ./deployments/k3d/.tmp dir
run: |
Expand Down
8 changes: 7 additions & 1 deletion deployments/workloads/workload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,15 @@ spec:
runtimeClassName: wasmtime-wws
containers:
- name: wws-hello
imagePullPolicy: Never
image: ghcr.io/deislabs/containerd-wasm-shims/examples/wws-js-hello:v0.7.0
command: ["/"]
resources: # limit the resources to 128Mi of memory and 100m of CPU
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
---
apiVersion: v1
kind: Service
Expand Down

0 comments on commit d1b2947

Please sign in to comment.