Skip to content

Commit

Permalink
Get rid of flaky gardener test (#1280)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwiatekus authored Dec 4, 2024
1 parent dacf31e commit e16a8f7
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 125 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/_integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,34 +33,6 @@ jobs:
- if: ${{ always() }}
uses: ./.github/actions/collect-cluster-info

gardener-integration-test:
if: ${{ !startsWith(github.event_name, 'pull_request') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-go
- name: provision gardener
run: |
echo "$GARDENER_SA" > $GARDENER_SA_PATH
echo "Used kubeconfig file has $(sed -n '$=' $GARDENER_SA_PATH) lines"
make -C hack provision-gardener
env:
GARDENER_SECRET_NAME: ${{ secrets.GARDENER_SECRET_NAME }}
GARDENER_PROJECT: ${{ secrets.GARDENER_PROJECT }}
GARDENER_SA_PATH: /tmp/gardener-sa.yaml
GARDENER_SA: ${{ secrets.GARDENER_SA }}
- name: run test
run: |
make -C components/operator deploy
make -C tests/operator test
env:
IMG: ${{ inputs.image }}
- name: deprovision gardener
if: ${{ always() }}
run: make -C hack deprovision-gardener
env:
GARDENER_SA_PATH: /tmp/gardener-sa.yaml

serverless-integration-test:
if: ${{ !startsWith(github.event_name, 'pull_request') || github.event.pull_request.draft == false }}
runs-on: ubuntu-latest
Expand Down
1 change: 0 additions & 1 deletion docs/contributor/04-10-testing-strategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ Each pull request to the repository triggers the following CI/CD jobs that verif
- `push / integrations / serverless-integration-test` - Runs the create/update/delete Serverless integration tests in k3d cluster. For the configuration, see the [_integration-tests.yaml](https://github.com/kyma-project/serverless/blob/main/.github/workflows/_integration-tests.yaml) file.
- `integration tests (push) / serverless-integration-test` - Runs the basic functionality integration and the `tracing`, `api-gateway`, `cloud-event` and `hana-client` contract compatibility integration test suite for Serverless in a k3d cluster. For the configuration, see the [_integration-tests.yaml](https://github.com/kyma-project/serverless/blob/main/.github/workflows/_integration-tests.yaml) file.
- `push / integrations / git-auth-integration-test` - Runs the `GitHub` and `Azure DevOps` API and authentication integration test suite for Serverless. For the configuration, see the [_integration-tests.yaml](https://github.com/kyma-project/serverless/blob/main/.github/workflows/_integration-tests.yaml) file.
- `push / integrations / gardener-integration-test` - Checks the installation of the Serverless module in the Gardener shoot cluster and runs basic integration tests of Serverless. For the configuration, see the [_integration-tests.yaml](https://github.com/kyma-project/serverless/blob/main/.github/workflows/_integration-tests.yaml) file.
- `push / upgrades / operator-upgrade-test` - Runs the upgrade integration test suite and verifies if the latest release can be successfully upgraded to the new (`main`) revision. For the configuration, see the [_upgrade-tests.yaml](https://github.com/kyma-project/serverless/blob/main/.github/workflows/_upgrade-tests.yaml) file.
- `push / upgrades / serverless-upgrade-test` - Runs the basic functionality integration and the `tracing`, `api-gateway`, and `cloud-event` contract compatibility integration test suite for Serverless in a k3d cluster after upgrading from the latest release to the actual revision to check if the Serverless component is working properly after the upgrade. For the configuration, see the [_upgrade-tests.yaml](https://github.com/kyma-project/serverless/blob/main/.github/workflows/_upgrade-tests.yaml) file.
4 changes: 0 additions & 4 deletions hack/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# This Makefile is used to add context to the `gardener.mk` file by adding the PROJECT_ROOT variable
# this is needed to use targets in the gardener.mk file from a prompt (e.g. `make -C hack provision-gardener`)

PROJECT_ROOT=..

include ${PROJECT_ROOT}/hack/help.mk
include ${PROJECT_ROOT}/hack/gardener.mk
30 changes: 0 additions & 30 deletions hack/gardener.mk

This file was deleted.

23 changes: 0 additions & 23 deletions hack/provision_gardener.sh

This file was deleted.

39 changes: 0 additions & 39 deletions hack/shoot_template.yaml

This file was deleted.

0 comments on commit e16a8f7

Please sign in to comment.