Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci/ui: fix upgrade cloud-config file #1596

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading