Skip to content

Commit

Permalink
ci/ui: fix upgrade cloud-config file
Browse files Browse the repository at this point in the history
  • Loading branch information
juadk committed Sep 27, 2024
1 parent d730443 commit 36168ee
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/cypress/latest/e2e/unit_tests/upgrade.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe('Upgrade tests', () => {
cy.getBySel('cluster-target').click();
// As there is already an upgrade group targeting the cluster,
// the cluster should not be available in the dropdown
cy.get('#vs3__listbox').should('not.contain', clusterName);
cy.get('#vs4__listbox').should('not.contain', clusterName);
}));

qase(37,
Expand Down
27 changes: 26 additions & 1 deletion tests/cypress/latest/fixtures/custom_cloud-config_upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,34 @@ config:
users:
- name: root
passwd: r0s@pwd1
write_files:
- path: /etc/ssh/sshd_config.d/root_access.conf
append: true
content: |
PermitRootLogin yes
owner: root:root
permissions: 644
elemental:
install:
poweroff: true
device: /dev/sda
debug: true
device-selector:
- key: Name
operator: In
values:
- /dev/sda
- /dev/vda
- /dev/nvme0n1
- key: Size
operator: Gt
values:
- 25Gi
snapshotter:
type: btrfs
reset:
debug: true
enabled: true
reset-persistent: true
reset-oem: true
power-off: true
machineName: my-machine
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ config:
- name: root
passwd: r0s@pwd1
write_files:
- path: /etc/ssh/sshd_config
- path: /etc/ssh/sshd_config.d/root_access.conf
append: true
content: |
PermitRootLogin yes
Expand Down

0 comments on commit 36168ee

Please sign in to comment.