Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Kautz <oliver.kautz@gonicus.de>
  • Loading branch information
o-otte committed Nov 29, 2024
1 parent 078f6d0 commit 749f2b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions playbooks/upload_assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
hosts: "all"
vars:
install_dir: "{{ ansible_user_dir }}/.local/bin"
is_pr: True # Set to False for Runs after merge.
is_pr: true # Set to False for Runs after merge.
registry_credentials:
OCI_REGISTRY: "registry.scs.community"
OCI_REPOSITORY: "registry.scs.community/cluster-stacks/scs"
Expand All @@ -28,10 +28,10 @@
line: "{{ item.key }}={{ item.value }}"
loop: "{{registry_credentials | dict2items }}"
- name: "Upload Preliminary Assets"
ansible.builtin.cmd:
ansible.builtin.command:
cmd: "just --working-directory {{ zuul.project.src_dir}} --just-file {{ zuul.project.src_dir}}/justfile publish-test-release"
when: is_pr
- name: "Upload Release Assets"
ansible.builtin.cmd:
ansible.builtin.command:
cmd: "just --yes --working-directory {{ zuul.project.src_dir}} --just-file {{ zuul.project.src_dir}}/justfile publish-release"
when: not is_pr

0 comments on commit 749f2b0

Please sign in to comment.