Skip to content

Commit

Permalink
Update metal-stack release and images, fix integration. (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 authored Apr 6, 2021
1 parent 4d13a38 commit de81c76
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ machine: _privatenet

.PHONY: firewall
firewall: _ips _privatenet
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
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 }}')

.PHONY: reinstall-machine01
reinstall-machine01: env
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ e0ab02d2-27cd-5a5e-8efc-080ba80cf258   Waiting 8s
Create a machine/firewall with

```bash
make machine
make firewall
make machine
```

__Alternatively__ you may want to issue the `metalctl` commands by your own:
Expand Down
3 changes: 1 addition & 2 deletions inventories/group_vars/all/images.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
---
# TODO: pin to fixed version before next release
metal_stack_release_version: develop
metal_stack_release_version: v0.6.3
16 changes: 8 additions & 8 deletions inventories/group_vars/control-plane/metal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ metal_api_admin_key: metal-admin
metal_api_nsq_tcp_address: nsqd:4150

metal_api_images:
- id: firewall-ubuntu-2.0.20201126
name: Firewall 2 Ubuntu 20201126
description: Firewall 2 Ubuntu 20201126
url: https://images.metal-stack.io/metal-os/master/firewall/2.0-ubuntu/20201126/img.tar.lz4
- id: firewall-ubuntu-2.0.20210316
name: Firewall 2 Ubuntu 20210316
description: Firewall 2 Ubuntu 20210316
url: https://images.metal-stack.io/metal-os/master/firewall/2.0-ubuntu/20210316/img.tar.lz4
features:
- firewall
- id: ubuntu-20.04.20201126
name: Ubuntu 20.04 20201126
description: Ubuntu 20.04 20201126
url: https://images.metal-stack.io/metal-os/master/ubuntu/20.04/20201126/img.tar.lz4
- id: ubuntu-20.04.20210316
name: Ubuntu 20.04 20210316
description: Ubuntu 20.04 20210316
url: https://images.metal-stack.io/metal-os/master/ubuntu/20.04/20210316/img.tar.lz4
features:
- machine
- id: ubuntu-cloud-init-20.04
Expand Down
6 changes: 3 additions & 3 deletions test/integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ do
done
echo "$waiting/$minWaiting machines are waiting"

echo "Create machine and firewall"
make machine
echo "Create firewall and machine"
make firewall
make machine

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

echo "Check if SSH login to firewall works"
# FIXME: Again this is unstable in CI integration tests
# FIXME: Again this is unstable in CI integration tests
# ssh -o StrictHostKeyChecking=no [email protected] -C exit

echo "Successfully started mini-lab"

0 comments on commit de81c76

Please sign in to comment.