-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into add-preparation-of-cl…
…usterclass
- Loading branch information
Showing
29 changed files
with
6,829 additions
and
38 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Conformance end-to-end tests | ||
on: | ||
schedule: | ||
- cron: "0 5 * * 1" | ||
workflow_dispatch: {} | ||
jobs: | ||
conformance-e2e: | ||
runs-on: ubuntu-latest | ||
environment: e2e | ||
env: | ||
IONOS_TOKEN: ${{ secrets.IONOS_TOKEN }} | ||
IONOSCLOUD_MACHINE_IMAGE_ID: ${{ vars.IONOSCLOUD_MACHINE_IMAGE_ID }} | ||
CONTROL_PLANE_ENDPOINT_LOCATION: ${{ vars.CONTROL_PLANE_ENDPOINT_LOCATION }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Go environment | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: "go.mod" | ||
|
||
- name: Run e2e tests | ||
run: make GINKGO_LABEL="Conformance" test-e2e | ||
|
||
- name : Upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
if: success() || failure() | ||
with: | ||
name: logs | ||
path: _artifacts | ||
retention-days: 7 |
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,64 @@ | ||
name: End-to-end tests | ||
on: | ||
pull_request_target: | ||
types: ["opened", "synchronize", "reopened", "labeled", "unlabeled" ] | ||
branches: [ "main" ] | ||
paths: | ||
- "**.go" | ||
- "**.ya?ml" | ||
- "**.sh" | ||
- "Dockerfile" | ||
- "Makefile" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "**.go" | ||
- "**.ya?ml" | ||
- "**.sh" | ||
- "Dockerfile" | ||
- "Makefile" | ||
jobs: | ||
e2e: | ||
if: ${{ ! contains( github.event.pull_request.labels.*.name, 'skip e2e') }} | ||
runs-on: ubuntu-latest | ||
environment: e2e | ||
env: | ||
IONOS_TOKEN: ${{ secrets.IONOS_TOKEN }} | ||
IONOSCLOUD_MACHINE_IMAGE_ID: ${{ vars.IONOSCLOUD_MACHINE_IMAGE_ID }} | ||
CONTROL_PLANE_ENDPOINT_LOCATION: ${{ vars.CONTROL_PLANE_ENDPOINT_LOCATION }} | ||
steps: | ||
- name: Check out branch ${{ github.ref }} | ||
if: ${{ github.event_name == 'push' }} | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check out PR ${{ github.event.pull_request.number }} | ||
if: ${{ github.event_name == 'pull_request_target' }} | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ github.event.pull_request.head.repo.full_name }} | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
|
||
- name: Setup Go environment | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: "go.mod" | ||
|
||
- name: Run e2e tests | ||
id: tests | ||
run: make test-e2e | ||
|
||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
if: success() || failure() | ||
with: | ||
name: logs | ||
path: _artifacts | ||
retention-days: 7 | ||
|
||
- name: Remove cancelled run leftovers | ||
if: cancelled() | ||
env: | ||
DATACENTER_ID: ${{ steps.tests.outputs.DATACENTER_ID }} | ||
IP_BLOCK_ID: ${{ steps.tests.outputs.IP_BLOCK_ID }} | ||
run: make remove-cancelled-e2e-leftovers |
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 |
---|---|---|
|
@@ -43,6 +43,9 @@ cluster.yaml | |
# release | ||
out/ | ||
|
||
# e2e tests | ||
_artifacts/ | ||
|
||
# crs | ||
templates/crs/cni/calico.yaml | ||
|
||
|
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 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,7 @@ | ||
{ | ||
"name": "infrastructure-ionoscloud", | ||
"config": { | ||
"componentsFile": "infrastructure-components.yaml", | ||
"nextVersion": "v0.2.0" | ||
} | ||
} |
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
Oops, something went wrong.