generated from kyma-project/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
142 additions
and
142 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: 'Collect cluster-info' | ||
description: 'Action for collecting cluster-info' | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: collect cluster-info | ||
if: ${{ always() }} | ||
run: make -C tests/operator cluster-info |
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,34 @@ | ||
name: Integration tests | ||
|
||
on: [ workflow_call ] | ||
|
||
jobs: | ||
pull-operator-integration-test: | ||
if: github.event.pull_request.draft == false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/setup-go | ||
- uses: ./.github/actions/create-single-cluster | ||
- name: run integration test | ||
run: | | ||
make -C components/operator deploy | ||
make -C tests/operator test | ||
env: | ||
IMG: europe-docker.pkg.dev/kyma-project/dev/serverless-operator:PR-${{ github.event.number }} | ||
- uses: ./.github/actions/collect-cluster-info | ||
|
||
pull-serverless-integration-test: | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.draft == false | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/setup-go | ||
- uses: ./.github/actions/create-single-cluster | ||
- name: run integration test | ||
run: | | ||
make install-serverless-custom-operator | ||
make -C tests/serverless serverless-integration serverless-contract-tests | ||
make remove-serverless | ||
env: | ||
IMG: europe-docker.pkg.dev/kyma-project/dev/serverless-operator:PR-${{ github.event.number }} |
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 @@ | ||
name: Unit tests | ||
|
||
on: [ workflow_call ] | ||
|
||
jobs: | ||
operator-unit-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/setup-go | ||
- name: run test | ||
run: make -C components/operator test | ||
|
||
serverless-unit-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/setup-go | ||
- uses: ./.github/actions/setup-libgit2 | ||
- name: run test | ||
run: make -C components/serverless test | ||
|
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,34 @@ | ||
name: Upgrade tests | ||
|
||
on: [ workflow_call ] | ||
|
||
jobs: | ||
push-operator-upgrade-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/setup-go | ||
- uses: ./.github/actions/create-single-cluster | ||
- name: upgrade test | ||
run: | | ||
make -C components/operator deploy-release | ||
make -C tests/operator test | ||
make -C components/operator deploy | ||
make -C tests/operator test | ||
env: | ||
IMG: europe-docker.pkg.dev/kyma-project/prod/serverless-operator:${{ github.sha }} | ||
- uses: ./.github/actions/collect-cluster-info | ||
|
||
push-serverless-upgrade-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/setup-go | ||
- uses: ./.github/actions/create-single-cluster | ||
- name: upgrade test | ||
run: | | ||
make install-serverless-latest-release install-serverless-custom-operator | ||
make -C tests/serverless serverless-integration serverless-contract-tests | ||
make remove-serverless | ||
env: | ||
IMG: europe-docker.pkg.dev/kyma-project/prod/serverless-operator:${{ github.sha }} |
This file was deleted.
Oops, something went wrong.