Skip to content

Commit de81c76

Browse files
authored
Update metal-stack release and images, fix integration. (#62)
1 parent 4d13a38 commit de81c76

File tree

5 files changed

+14
-15
lines changed

5 files changed

+14
-15
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ machine: _privatenet
118118

119119
.PHONY: firewall
120120
firewall: _ips _privatenet
121-
docker-compose run metalctl firewall create --description fw --name fw --hostname fw --project 00000000-0000-0000-0000-000000000000 --partition vagrant --image firewall-ubuntu-2.0 --size v1-small-x86 --networks internet-vagrant-lab,$(shell docker-compose run metalctl network list --name user-private-network -o template --template '{{ .id }}') --id=e0ab02d2-27cd-5a5e-8efc-080ba80cf258
121+
docker-compose run metalctl firewall create --description fw --name fw --hostname fw --project 00000000-0000-0000-0000-000000000000 --partition vagrant --image firewall-ubuntu-2.0 --size v1-small-x86 --networks internet-vagrant-lab,$(shell docker-compose run metalctl network list --name user-private-network -o template --template '{{ .id }}')
122122

123123
.PHONY: reinstall-machine01
124124
reinstall-machine01: env

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ e0ab02d2-27cd-5a5e-8efc-080ba80cf258   Waiting 8s
103103
Create a machine/firewall with
104104

105105
```bash
106-
make machine
107106
make firewall
107+
make machine
108108
```
109109

110110
__Alternatively__ you may want to issue the `metalctl` commands by your own:
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
---
2-
# TODO: pin to fixed version before next release
3-
metal_stack_release_version: develop
2+
metal_stack_release_version: v0.6.3

inventories/group_vars/control-plane/metal.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ metal_api_admin_key: metal-admin
1212
metal_api_nsq_tcp_address: nsqd:4150
1313

1414
metal_api_images:
15-
- id: firewall-ubuntu-2.0.20201126
16-
name: Firewall 2 Ubuntu 20201126
17-
description: Firewall 2 Ubuntu 20201126
18-
url: https://images.metal-stack.io/metal-os/master/firewall/2.0-ubuntu/20201126/img.tar.lz4
15+
- id: firewall-ubuntu-2.0.20210316
16+
name: Firewall 2 Ubuntu 20210316
17+
description: Firewall 2 Ubuntu 20210316
18+
url: https://images.metal-stack.io/metal-os/master/firewall/2.0-ubuntu/20210316/img.tar.lz4
1919
features:
2020
- firewall
21-
- id: ubuntu-20.04.20201126
22-
name: Ubuntu 20.04 20201126
23-
description: Ubuntu 20.04 20201126
24-
url: https://images.metal-stack.io/metal-os/master/ubuntu/20.04/20201126/img.tar.lz4
21+
- id: ubuntu-20.04.20210316
22+
name: Ubuntu 20.04 20210316
23+
description: Ubuntu 20.04 20210316
24+
url: https://images.metal-stack.io/metal-os/master/ubuntu/20.04/20210316/img.tar.lz4
2525
features:
2626
- machine
2727
- id: ubuntu-cloud-init-20.04

test/integration.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ do
2121
done
2222
echo "$waiting/$minWaiting machines are waiting"
2323

24-
echo "Create machine and firewall"
25-
make machine
24+
echo "Create firewall and machine"
2625
make firewall
26+
make machine
2727

2828
echo "Waiting for machines to get to Phoned Home state"
2929
phoned=$(docker-compose run metalctl machine ls | grep Phoned | wc -l)
@@ -51,7 +51,7 @@ echo "Adding iptables forwarding rules for libvirt networking"
5151
make fwrules
5252

5353
echo "Check if SSH login to firewall works"
54-
# FIXME: Again this is unstable in CI integration tests
54+
# FIXME: Again this is unstable in CI integration tests
5555
# ssh -o StrictHostKeyChecking=no metal@100.255.254.1 -C exit
5656

5757
echo "Successfully started mini-lab"

0 commit comments

Comments
 (0)