Skip to content

Commit

Permalink
.github: fix cloud workflows for renovate
Browse files Browse the repository at this point in the history
Ensure consistency by sanitizing the 'OWNER' field in these workflows.
This matches the approach used in other workflows.

Fixes: 6f461ea ("run CI automatically for renovate")
Signed-off-by: André Martins <[email protected]>
  • Loading branch information
aanm committed Jun 21, 2024
1 parent 5714073 commit 22f123a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/conformance-aks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ jobs:
else
SHA="${{ github.sha }}"
OWNER="${{ github.ref_name }}"
OWNER="${OWNER/./-}"
OWNER="${OWNER//[.\/]/-}"
fi
CILIUM_INSTALL_DEFAULTS="--helm-set=cluster.name=${{ env.name }} \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-aws-cni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ jobs:
else
SHA="${{ github.sha }}"
OWNER="${{ github.ref_name }}"
OWNER="${OWNER/./-}"
OWNER="${OWNER//[.\/]/-}"
fi
# Set ipam.mode=cluster-pool to overwrite the ipam value set by the
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ jobs:
else
SHA="${{ github.sha }}"
OWNER="${{ github.ref_name }}"
OWNER="${OWNER/./-}"
OWNER="${OWNER//[.\/]/-}"
fi
CILIUM_INSTALL_DEFAULTS="--helm-set=cluster.name=${{ env.clusterName }} \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-externalworkloads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:
else
SHA="${{ github.sha }}"
OWNER="${{ github.ref_name }}"
OWNER="${OWNER/./-}"
OWNER="${OWNER//[.\/]/-}"
fi
CILIUM_INSTALL_DEFAULTS="--helm-set=cluster.name=${{ env.clusterName }} \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-ginkgo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
SHA="${{ github.sha }}"
CONTEXT_REF="${{ github.sha }}"
OWNER="${{ github.ref_name }}"
OWNER="${OWNER/./-}"
OWNER="${OWNER//[.\/]/-}"
fi
echo SHA=${SHA} >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-gke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ jobs:
else
SHA="${{ github.sha }}"
OWNER="${{ github.ref_name }}"
OWNER="${OWNER/./-}"
OWNER="${OWNER//[.\/]/-}"
fi
CILIUM_INSTALL_DEFAULTS="--helm-set=cluster.name=${{ env.clusterName }}-${{ matrix.config.index }} \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/net-perf-gke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
else
SHA="${{ github.sha }}"
OWNER="${{ github.ref_name }}"
OWNER="${OWNER/./-}"
OWNER="${OWNER//[.\/]/-}"
fi
CILIUM_INSTALL_DEFAULTS="--chart-directory=install/kubernetes/cilium \
Expand Down

0 comments on commit 22f123a

Please sign in to comment.