Skip to content

Commit

Permalink
fix: speed up integration tests (#1474)
Browse files Browse the repository at this point in the history
  • Loading branch information
halamix2 authored Feb 18, 2025
1 parent 7fb487f commit 8d58f03
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/_integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ jobs:
- uses: ./.github/actions/create-k3d-cluster
- name: run test
run: |
make install-serverless-custom-operator
# we modify install-serverless-custom-operator target with a custom CR to get faster git reconcilation
make -C components/operator deploy
kubectl apply -f config/samples/default-serverless-cr-fast-requeue.yaml
make -C components/operator check-serverless-installation
make -C tests/serverless serverless-integration serverless-contract-tests
make remove-serverless
env:
Expand Down Expand Up @@ -140,4 +143,3 @@ jobs:
btp_password: ${{ secrets.BTP_BOT_PASSWORD}}
btp_global_account: ${{ secrets.BTP_GLOBAL_ACCOUNT }}
btp_idp_tenant: ${{ secrets.BTP_CUSTOM_IAS_TENANT }}

10 changes: 10 additions & 0 deletions config/samples/default-serverless-cr-fast-requeue.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: operator.kyma-project.io/v1alpha1
kind: Serverless
metadata:
name: default
namespace: kyma-system
spec:
dockerRegistry:
enableInternal: true
# very fast git function requeue, useful for tests
functionRequeueDuration: 10s

0 comments on commit 8d58f03

Please sign in to comment.