Skip to content

Commit

Permalink
test: fix Sidero components version in sfyra docs
Browse files Browse the repository at this point in the history
As Sidero is now on 0.4.0, we need to build with proper tag to make CAPI
pick up proper API cotnract.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
  • Loading branch information
smira committed Nov 18, 2021
1 parent acb5f57 commit 04dbaf0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sfyra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Integration test for Sidero/Arges.
Build the test binary and Sidero, push images:

```sh
make USERNAME=<username> TAG=v0.1.0 PUSH=true
make USERNAME=<username> TAG=v0.4.0 PUSH=true
```

Run the test (this will trigger `make release`):

```sh
make run-sfyra USERNAME=<username> TAG=v0.1.0
make run-sfyra USERNAME=<username> TAG=v0.4.0
```

Test uses CIDRs `172.24.0.0/24`, `172.25.0.0/24` by default.
Expand All @@ -26,11 +26,11 @@ Sequence of steps:
- run the unit-tests

It's also possible to run Sfyra manually to avoid tearing down and recreating whole environment each time.
After `make USERNAME=<username> TAG=v0.1.0 PUSH=true` run:
After `make USERNAME=<username> TAG=v0.4.0 PUSH=true` run:

```sh
make talos-artifacts # need to run it only once per Talos release change
make clusterctl-release USERNAME=<username> TAG=v0.1.0 PUSH=true
make clusterctl-release USERNAME=<username> TAG=v0.4.0 PUSH=true
```

Then launch Sfyra manually with desired flags:
Expand All @@ -43,7 +43,7 @@ Alternatively, you may use `run-sfyra` target with `SFYRA_EXTRA_FLAGS` and `REGI

```sh
export USERNAME=<username>
export TAG=v0.1.0
export TAG=v0.4.0
export REGISTRY_MIRROR_FLAGS="--registry-mirror docker.io=http://172.24.0.1:5000,k8s.gcr.io=http://172.24.0.1:5001,quay.io=http://172.24.0.1:5002,gcr.io=http://172.24.0.1:5003,ghcr.io=http://172.24.0.1:5004,127.0.0.1:5005=http://172.24.0.1:5005"
export SFYRA_EXTRA_FLAGS="--skip-teardown"
make run-sfyra
Expand Down

0 comments on commit 04dbaf0

Please sign in to comment.