-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> some more stuff Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> integration tests in CI Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> do the thing Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> print mc version Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> did not fix path Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> fix mc binary Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> fix things Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> will it work first try? Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> the answer was no Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> check to see if dynamic strategy works Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> does this work? Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> test dynamic strategy matrix again Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> remove platform strategy Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> basic supported versions script Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> try to fix supported versions Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> does the anti pattern work? Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> try fetching history Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> properly echo versions into matrix Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> broken pipe with re-echo Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> do the stupid Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> what Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> update ref Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> no newline echo Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> actually pipe variable into GITHUB_OUTPUT Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> try, and try again Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> let on PR fail Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> save image Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> make sure we load the CI image into the docker ci context Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> remove unused k8s env handling Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com> clean Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com>
- Loading branch information
1 parent
167296e
commit 04b8afd
Showing
17 changed files
with
152 additions
and
181 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -12,8 +12,6 @@ install_k3d(){ | |
curl --silent --fail ${K3D_URL} | TAG=${k3dVersion} bash | ||
} | ||
|
||
|
||
|
||
install_k3d | ||
|
||
k3d version |
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,25 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
set -x | ||
|
||
|
||
# initArch discovers the architecture for this system. | ||
initArch() { | ||
ARCH=$(uname -m) | ||
case $ARCH in | ||
armv7*) ARCH="arm";; | ||
aarch64) ARCH="arm64";; | ||
x86_64) ARCH="amd64";; | ||
esac | ||
} | ||
|
||
|
||
initArch | ||
|
||
curl -sL --fail https://dl.min.io/client/mc/release/linux-${ARCH}/mc > mc; | ||
chmod +x mc; | ||
|
||
cp mc /usr/local/bin/mc | ||
|
||
mc --version |
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,23 @@ | ||
#!/bin/bash | ||
# Prints supported versions based on the current release branch targeted | ||
# Version output is in JSON | ||
|
||
set -e | ||
set -x | ||
|
||
if git merge-base --is-ancestor origin/release/v5.0 HEAD | ||
then | ||
echo -n "[\"v1.23.9-k3s1\", \"v1.29.3-k3s1\"]" | ||
exit 0 | ||
elif git merge-base --is-ancestor origin/release/v4.0 HEAD | ||
then | ||
echo -n "[\"v1.23.9-k3s1\", \"v1.28.8-k3s1\"]" | ||
exit 0 | ||
elif git merge-base --is-ancestor origin/release/v3.0 HEAD | ||
then | ||
echo -n "[\"v1.16.9-k3s1\", \"v1.27.9-k3s1\"]" | ||
exit 0 | ||
fi | ||
|
||
|
||
exit 1 |
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
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,22 @@ | ||
## Integration testing | ||
|
||
### Requirements | ||
|
||
- [mc](https://min.io/docs/minio/linux/reference/minio-mc.html), a command line client for minio | ||
- [k3d](https://k3d.io/v5.6.3/), a command line tool for managing k3s clusters in docker | ||
|
||
See CI install scripts in `./.github/workflows/scripts/` | ||
|
||
### Running | ||
|
||
Set up a test cluster: | ||
|
||
```bash | ||
CLUSTER_NAME="test-cluster" ./.github/workflows/scripts/setup-cluster.sh | ||
``` | ||
|
||
Run: | ||
|
||
```bash | ||
./scripts/integration | ||
``` |
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
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.