Skip to content

Commit

Permalink
Refactor to resolve the linter warnings on PRs (#1668)
Browse files Browse the repository at this point in the history
  • Loading branch information
rooftopcellist authored Dec 14, 2023
1 parent b6b3b6c commit 582701d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-operator-hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
fetch-tags: true
ref: ${{ env.VERSION }}
path: awx-operator-${{ env.VERSION }}
fetch-depth: 0 # fetch all history so that git describe works
fetch-depth: 0 # fetch all history so that git describe works

- name: Copy scripts to awx-operator-${{ env.VERSION }}
run: |
Expand Down
4 changes: 2 additions & 2 deletions roles/installer/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
namespace: "{{ ansible_operator_meta.namespace }}"
register: restore_status_check
until:
# yamllint disable-line rule:line-length
- (restore_status_check.resources | length == 0) or (restore_status_check.resources | selectattr('spec.deployment_name', 'equalto', ansible_operator_meta.name) | map(attribute='status') | selectattr('restoreComplete', 'defined') | map(attribute='restoreComplete') | list | length > 0)
# yamllint disable-line rule:line-length
- (restore_status_check.resources | length == 0) or (restore_status_check.resources | selectattr('spec.deployment_name', 'equalto', ansible_operator_meta.name) | map(attribute='status') | selectattr('restoreComplete', 'defined') | map(attribute='restoreComplete') | list | length > 0)
delay: 10
retries: 8640
ignore_errors: yes
Expand Down

0 comments on commit 582701d

Please sign in to comment.