Skip to content

Commit

Permalink
Fixed wait-build-job for main branch (kyma-project#408)
Browse files Browse the repository at this point in the history
* Test PR for backend switch github action

* Fix wait-build-job for main branch

* updated comment

* changed name for build job and change retries to 1 for gardener
  • Loading branch information
mfaizanse authored Jan 18, 2024
1 parent 71ba163 commit 3397d56
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-backend-switching-reuseable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
MACHINE_TYPE: "c4.xlarge"
SCALER_MIN: "1"
SCALER_MAX: "2"
RETRY_ATTEMPTS: "2"
RETRY_ATTEMPTS: "1"
GARDENER_KYMATUNAS: ${{ secrets.GARDENER_KYMATUNAS }}
run: |
# setup Gardener kubeconfig.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
if: github.event_name == 'push'
uses: kyma-project/wait-for-commit-status-action@2b3ffe09af8b6f40e1213d5fb7f91a7bd41ffb20
with:
context: ${{ github.ref == 'main' && 'post-eventing-manager-build' || 'release-eventing-manager-build' }}
context: "post-eventing-manager-build"
commit_ref: "${{ github.sha }}"
timeout: 600000 # 10 minutes in milliseconds
# The check interval is kept long otherwise it will exhaust the GitHub rate limit (More info: https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28#rate-limiting)
Expand Down
10 changes: 5 additions & 5 deletions scripts/gardener/aws/deprovision.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env bash

# Usage: To run this script, set the following environment variables and run this script.
# CLUSTER_NAME
# GARDENER_PROJECT_NAME
# GARDENER_KUBECONFIG - Path to kubeconfig for Gardener.
# WAIT_FOR_DELETE_COMPLETION - "true" | "false"
# Usage: To run this script, set the required environment variables and run this script.
# CLUSTER_NAME - (required)
# GARDENER_PROJECT_NAME - (required)
# GARDENER_KUBECONFIG - (required, description: Path to kubeconfig for Gardener.)
# WAIT_FOR_DELETE_COMPLETION - (optional, default: "false")

# Permissions: In order to run this script you need to use a service account with permissions equivalent to the following GCP roles:
# - Compute Admin
Expand Down
24 changes: 12 additions & 12 deletions scripts/gardener/aws/provision.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#!/usr/bin/env bash

# Usage: To run this script, set the following environment variables and run this script.
# CLUSTER_NAME
# GARDENER_REGION
# GARDENER_ZONES
# GARDENER_PROJECT_NAME
# GARDENER_PROVIDER_SECRET_NAME
# GARDENER_KUBECONFIG - Path to kubeconfig for Gardener.
# MACHINE_TYPE - default: "m5.xlarge"
# SCALER_MIN - default: 1
# SCALER_MAX - default: 2
# RETRY_ATTEMPTS - default: 1
# GARDENER_CLUSTER_VERSION - default as defined in kyma CLI.
# Usage: To run this script, set the required environment variables and run this script.
# CLUSTER_NAME - (required)
# GARDENER_REGION - (required)
# GARDENER_ZONES - (required)
# GARDENER_PROJECT_NAME - (required)
# GARDENER_PROVIDER_SECRET_NAME - (required)
# GARDENER_KUBECONFIG - (required, description: Path to kubeconfig for Gardener.)
# MACHINE_TYPE - (optional, default: "m5.xlarge")
# SCALER_MIN - (optional, default: 1)
# SCALER_MAX - (optional, default: 2)
# RETRY_ATTEMPTS - (optional, default: 1)
# GARDENER_CLUSTER_VERSION - (optional, default: kyma CLI default value for kube-version.)

# Permissions: In order to run this script you need to use a service account with permissions equivalent to the following GCP roles:
# - Compute Admin
Expand Down

0 comments on commit 3397d56

Please sign in to comment.