Skip to content

Commit

Permalink
testing: lints partial fixes
Browse files Browse the repository at this point in the history
This commit resolves the following lint rules:

- 'var-naming[no-reserved]'
- 'var-naming[no-role-prefix]'
- 'var-naming[pattern]'
- 'yaml[colons]'
- 'yaml[commas]'
- 'yaml[comments]'
- 'yaml[empty-lines]'
- 'yaml[indentation]'
- 'yaml[key-duplicates]'
- 'yaml[line-length]'
- 'yaml[octal-values]'
- 'name[template]'
- 'name[casing]'

Partially-solves: openshift-psap#10
  • Loading branch information
ccamacho committed Aug 29, 2023
1 parent 666961b commit 26ddb92
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/cluster/cluster_set_scale/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@
set_fact:
first_machineset: "{{ oc_get_machinesets.stdout_lines[0] }}"

<<<<<<< HEAD
- name: Set the replicas of the first {{ machineset_instance_type + 'machineset (' + first_machineset + ') to ' + scale | string }}
=======
- name: Set the replicas of the first {{ machineset_instance_type + 'machineset (' + first_machineset + ') to ' + scale }}
>>>>>>> 8c9be3ae (testing: lints partial fixes)
command: >
oc patch machineset -n openshift-machine-api {{ first_machineset }}
--patch '{"spec": {"replicas": {{ scale }} }}' --type merge
Expand Down

0 comments on commit 26ddb92

Please sign in to comment.