forked from rancher/elemental
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert bootstrapping test scripts in go (rancher#89)
* ci: add verbose mode to ginkgo tests This is helpful to have the trace of all steps of a test. * ci: add missing `make deps` for some integration tests * ci: convert bootstrapping scripts to use Go/Ginkgo * ci: fix linter errors Signed-off-by: Loic Devulder <[email protected]>
- Loading branch information
Showing
17 changed files
with
548 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,4 @@ jobs: | |
make deps | ||
- name: Run tests | ||
run: | | ||
ginkgo -r ./pkg/... | ||
ginkgo -r -v ./pkg/... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
kind: Cluster | ||
apiVersion: provisioning.cattle.io/v1 | ||
metadata: | ||
name: %CLUSTER_NAME% | ||
# namespace: fleet-default | ||
spec: | ||
rkeConfig: | ||
machineGlobalConfig: | ||
cluster-cidr: "10.44.0.0/16" | ||
service-cidr: "10.45.0.0/16" | ||
kubernetesVersion: v1.21.9+k3s1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<network> | ||
<name>default</name> | ||
<forward mode='nat'> | ||
<nat> | ||
<port start='1024' end='65535'/> | ||
</nat> | ||
</forward> | ||
<bridge name='virbr0' stp='on' delay='0'/> | ||
<ip address='192.168.122.1' netmask='255.255.255.0'> | ||
<dhcp> | ||
<range start='192.168.122.2' end='192.168.122.254'/> | ||
<host mac='52:54:00:00:00:01' name='ros-node' ip='192.168.122.10'/> | ||
%IPXE_SCRIPT% | ||
</dhcp> | ||
</ip> | ||
</network> |
Oops, something went wrong.