Skip to content

Commit

Permalink
workflows: Fix owner tag for stable branch workflows
Browse files Browse the repository at this point in the history
GKE-based workflows on stable branches are currently failing with:

    ERROR: (gcloud.container.clusters.create) ResponseError: code=400, message=Invalid field 'resource_labels.value': "v1.11". It must only contain lowercase letters ([a-z]), numeric characters ([0-9]), underscores (_) and dashes (-). International characters are allowed.

This commit therefore changes the owner tag for all workflows, to remove
the dot character.

Fixes: 335341b ("workflows: Fix SHA for scheduled runs on stable branches")
Signed-off-by: Paul Chaignon <paul@cilium.io>
  • Loading branch information
pchaigno committed Apr 27, 2023
1 parent 957de35 commit 405c55d
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/conformance-aks-v1.11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.11 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.11
OWNER=v111
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-aks-v1.12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.12 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.12
OWNER=v112
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-aks-v1.13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.13 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.13
OWNER=v113
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-aws-cni-v1.11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.11 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.11
OWNER=v111
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-aws-cni-v1.12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.12 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.12
OWNER=v112
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-aws-cni-v1.13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.13 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.13
OWNER=v113
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-eks-v1.11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.11 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.11
OWNER=v111
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-eks-v1.12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.12 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.12
OWNER=v112
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-eks-v1.13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.13 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.13
OWNER=v113
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-externalworkloads-v1.11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.11 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.11
OWNER=v111
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-externalworkloads-v1.12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.12 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.12
OWNER=v112
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-externalworkloads-v1.13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.13 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.13
OWNER=v113
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-gke-v1.11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.11 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.11
OWNER=v111
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-gke-v1.12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.12 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.12
OWNER=v112
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-gke-v1.13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.13 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.13
OWNER=v113
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-multicluster-v1.11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.11 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.11
OWNER=v111
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-multicluster-v1.12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.12 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.12
OWNER=v112
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance-multicluster-v1.13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
elif [ "${{ github.event_name }}" = "schedule" ]; then
curl https://api.github.com/repos/cilium/cilium/branches/v1.13 > branch.json
SHA=$(jq -r '.commit.sha' branch.json)
OWNER=v1.13
OWNER=v113
else
SHA=${{ github.sha }}
OWNER=${{ github.sha }}
Expand Down

0 comments on commit 405c55d

Please sign in to comment.