Skip to content

Commit

Permalink
Fix wait-build-job for main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mfaizanse committed Jan 17, 2024
1 parent df6e5ab commit 81da771
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
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: ${{ github.ref_name == 'main' && 'post-eventing-manager-build' || 'release-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_PROJECT_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 81da771

Please sign in to comment.