Skip to content

Commit

Permalink
Fix KN version in CI and fiw workflow
Browse files Browse the repository at this point in the history
Signed-off-by: gabriel-farache <[email protected]>
  • Loading branch information
gabriel-farache committed Jun 21, 2024
1 parent a8d921a commit bf53485
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:

- name: Setup kn-workflow
run: |
KN_CLI_URL="https://mirror.openshift.com/pub/openshift-v4/clients/serverless/latest/kn-linux-amd64.tar.gz"
KN_CLI_URL="https://mirror.openshift.com/pub/openshift-v4/clients/serverless/1.1.2/kn-linux-amd64.tar.gz"
curl -L "$KN_CLI_URL" | tar -xz && chmod +x kn-linux-amd64 && mv kn-linux-amd64 kn
- name: Use kn-workflow to generate manifests
Expand Down
4 changes: 2 additions & 2 deletions modify-vm-resources/modify-vm-resources.sw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ states:
transition: Fill empty values
- name: Fill empty values
type: inject
data:
{}
data:
empty: ""
stateDataFilter:
output: '( . + {vm_new_memory: (if (.inputs.vm_new_memory == null or .inputs.vm_new_memory == "") then .vm.spec.template.spec.domain.memory.guest else .inputs.vm_new_memory end), vm_new_cpu_cores: (if .inputs.vm_new_cpu_cores == null then .vm.spec.template.spec.domain.cpu.cores else .inputs.vm_new_cpu_cores end), vm_new_cpu_sockets: (if .inputs.vm_new_cpu_sockets == null then .vm.spec.template.spec.domain.cpu.sockets else .inputs.vm_new_cpu_sockets end), vm_new_cpu_threads: if .inputs.vm_new_cpu_threads == null then .vm.spec.template.spec.domain.cpu.threads else .inputs.vm_new_cpu_threads end})'
transition: Open issue on JIRA
Expand Down

0 comments on commit bf53485

Please sign in to comment.