Skip to content

Commit

Permalink
link rate limit wasm module at build time
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Jun 4, 2024
1 parent 9268205 commit a07bfbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/build-images-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ on:
description: DNS Operator bundle version
default: latest
type: string
wasmShimVersion:
description: WASM Shim version
default: latest
type: string
replacesVersion:
description: Kuadrant Operator replaced version
default: 0.0.0-alpha
Expand Down Expand Up @@ -57,10 +53,6 @@ on:
description: DNS Operator bundle version
default: latest
type: string
wasmShimVersion:
description: WASM Shim version
default: latest
type: string
replacesVersion:
description: Kuadrant Operator replaced version
default: 0.0.0-alpha
Expand Down Expand Up @@ -89,6 +81,9 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y qemu-user-static
- name: Link rate limit wasm module at build time
run: |
make wasm-shim
- name: Build Image
id: build-image
uses: redhat-actions/buildah-build@v2
Expand Down Expand Up @@ -135,7 +130,6 @@ jobs:
AUTHORINO_OPERATOR_VERSION=${{ inputs.authorinoOperatorVersion }} \
LIMITADOR_OPERATOR_VERSION=${{ inputs.limitadorOperatorVersion }} \
DNS_OPERATOR_VERSION=${{ inputs.dnsOperatorVersion }} \
WASM_SHIM_VERSION=${{ inputs.wasmShimVersion }} \
REPLACES_VERSION=${{ inputs.replacesVersion }} \
CHANNELS=${{ inputs.channels }}
- name: Build Image
Expand Down Expand Up @@ -179,7 +173,6 @@ jobs:
AUTHORINO_OPERATOR_VERSION=${{ inputs.authorinoOperatorVersion }} \
LIMITADOR_OPERATOR_VERSION=${{ inputs.limitadorOperatorVersion }} \
DNS_OPERATOR_VERSION=${{ inputs.dnsOperatorVersion }} \
WASM_SHIM_VERSION=${{ inputs.wasmShimVersion }} \
REPLACES_VERSION=${{ inputs.replacesVersion }} \
CHANNELS=${{ inputs.channels }}
- name: Install qemu dependency
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build-images-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ jobs:
authorinoOperatorVersion: ${{ vars.AUTHORINO_OPERATOR_SHA }}
limitadorOperatorVersion: ${{ vars.LIMITADOR_OPERATOR_SHA }}
dnsOperatorVersion: ${{ vars.DNS_OPERATOR_SHA }}
wasmShimVersion: ${{ vars.WASM_SHIM_SHA }}

0 comments on commit a07bfbb

Please sign in to comment.