Skip to content

Commit

Permalink
fix(gha): linting and general execution fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Langleu committed Sep 16, 2024
1 parent 6b43877 commit 3af677d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/nightly_aws_operational_procedure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,9 @@ jobs:
c8-version:
# renovate: datasource=helm depName=camunda-platform registryUrl=https://helm.camunda.io versioning=regex:^10(\.(?<minor>\d+))?(\.(?<patch>\d+))?$
- 10.4.0

# we don't include SNAPSHOT in PR due to the instability of its nature except if it's explicitly mentioned
isPR:
- ${{ github.event_name == 'pull_request' && !contains(github.head_ref, 'SNAPSHOT') }}
exclude:
- c8-version: SNAPSHOT
isPR: true
- c8-version: SNAPSHOT-NEW
isPR: true
# workaround to let the c8_namespace_parser script still create the snapshot namespaces for DNS chaining
# yamllint disable-line
#- SNAPSHOT

steps:
################## Checkout ##################
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scripts/c8_namespace_parser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi

# For new versions bump -A argument by 1
# It greps the c8-version and the next x lines
versions=$(grep 'c8-version:' -A 4 "$1" | awk '/c8-version:/ {flag=1; next} flag {print $2}')
versions=$(grep 'c8-version:' -A 5 "$1" | awk '/c8-version:/ {flag=1; next} flag {print $2}')

variables=("CLUSTER_0_NAMESPACE" "CLUSTER_1_NAMESPACE" "CLUSTER_0_NAMESPACE_FAILOVER" "CLUSTER_1_NAMESPACE_FAILOVER")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ export CAMUNDA_NAMESPACE_1_FAILOVER=camunda-paris-failover

# The Helm release name used for installing Camunda 8 in both Kubernetes clusters
export HELM_RELEASE_NAME=camunda
# renovate: datasource=helm depName=camunda-platform registryUrl=https://helm.camunda.io
# renovate: datasource=helm depName=camunda-platform registryUrl=https://helm.camunda.io versioning=regex:^10(\.(?<minor>\d+))?(\.(?<patch>\d+))?$
export HELM_CHART_VERSION=10.4.0
2 changes: 1 addition & 1 deletion test/multi_region_aws_camunda_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const (
)

var (
// renovate: datasource=helm depName=camunda-platform registryUrl=https://helm.camunda.io
// renovate: datasource=helm depName=camunda-platform registryUrl=https://helm.camunda.io versioning=regex:^10(\.(?<minor>\d+))?(\.(?<patch>\d+))?$
remoteChartVersion = helpers.GetEnv("HELM_CHART_VERSION", "10.4.0")
remoteChartName = helpers.GetEnv("HELM_CHART_NAME", "camunda/camunda-platform") // allows using OCI registries
globalImageTag = helpers.GetEnv("GLOBAL_IMAGE_TAG", "") // allows overwriting the image tag via GHA of every Camunda image
Expand Down

0 comments on commit 3af677d

Please sign in to comment.