Skip to content

Commit ae58a26

Browse files
feat: Adds ability to specify flavor for build tests
1 parent 5c43077 commit ae58a26

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python/understack-tests/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ the testing container as environment variables.
2424
## Usage
2525

2626
```shell
27-
docker run --rm --env-file dev.env ghcr.io/rackerlabs/understack/understack-tests run-scenario build_a_single_gp2small_with_network.yaml
27+
docker run --rm --env-file dev.env ghcr.io/rackerlabs/understack/understack-tests run-scenario build_a_single_server_with_network.yaml
2828
```
2929

3030
### Available scenarios
3131

32-
- **`build_a_single_gp2small_with_network.yaml`** - boots a simple Ubuntu GP2.SMALL
32+
- **`build_a_single_server_with_network.yaml`** - boots a simple Ubuntu GP2.SMALL
3333
server with a plain networking setup. The network is automatically created
3434
and removed.
3535
- **`floating_ips.yaml`** - build a network, server, router and associate and

python/understack-tests/build_a_single_gp2small_with_network.yaml renamed to python/understack-tests/build_a_single_server_with_network.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
version: 2
2-
title: "Create the network, provision a gp2.small Ubuntu server and delete it afterwards."
2+
title: "Create the network, provision a Ubuntu server and delete it afterwards."
33
subtasks:
44
- title: "Boot and delete"
55
workloads:
66
- scenario:
77
NovaServers.boot_and_delete_server:
88
flavor:
9-
name: gp2.small
9+
name: "{{ flavor | default('gp2.small') }}"
1010
image:
1111
name: ^Ubuntu 24.*$
1212
config_drive: true

0 commit comments

Comments
 (0)