Skip to content

Commit eea92d5

Browse files
authored
Merge pull request #28 from cobaltcore-dev/github-actions-fix-v2
GitHub actions fix v2
2 parents 29efb31 + 797e9a7 commit eea92d5

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/qa.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,16 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v6
1616
- uses: cachix/install-nix-action@v31
17+
- name: Build
18+
run: |
19+
set -euxo pipefail
20+
nix build --show-trace \
21+
--option max-jobs 1 \
22+
--option cores 4 \
23+
.#tests.x86_64-linux.openstack-default-setup.driver
1724
- name: Basic setup
1825
run: |
19-
nix build -Lv .#tests.x86_64-linux.openstack-default-setup.driver
20-
./result/bin/nixos-test-driver
26+
nix run .#tests.x86_64-linux.openstack-default-setup.driver
2127
- name: Live migration
2228
run: |
23-
nix build -Lv .#tests.x86_64-linux.openstack-live-migration.driver
24-
./result/bin/nixos-test-driver
29+
nix run .#tests.x86_64-linux.openstack-live-migration.driver

packages/nova.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ let
9595
"test_inject_admin_password"
9696
"test_server_pool_waitall"
9797
"test_validation_errors_19_traits_multiple_additional_traits_two_invalid"
98+
"test_schedule_and_build_multiple_cells"
9899
];
99100

100101
excludeListFile = writeScript "test_excludes" (lib.concatStringsSep "\n" testExcludes);

tests/openstack-default-setup.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ pkgs.nixosTest {
155155
print(f"openstack volume show test_vol: {output}")
156156
157157
# wait until volume is attached
158-
assert retry_until_succeed(controllerVM, "openstack volume show test_vol -f value -c status | grep 'in-use'", 20)
158+
assert retry_until_succeed(controllerVM, "openstack volume show test_vol -f value -c status | grep 'in-use'", 40)
159159
160160
# add ssh host key to known_hosts
161161
retry_until_succeed(controllerVM, f"ip netns exec {net_ns} ssh-keyscan {vm_ip} > ~/.ssh/known_hosts", 60)

0 commit comments

Comments
 (0)