Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflows: Fix owner tag for stable branch workflows #25158

Merged
merged 1 commit into from Apr 27, 2023

Conversation

pchaigno
Copy link
Member

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: #25080.

@pchaigno pchaigno added the release-note/ci This PR makes changes to the CI. label Apr 27, 2023
@pchaigno pchaigno requested review from a team as code owners April 27, 2023 08:46
@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Just curious why don't you want to use a hyphen instead of a dot (e.g.: v1-11)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because I got scared of any special character. If it can't handle dots, god knows what it can handle 🤷

Switched to v1-x. If it breaks, you'll owe me the fix 😝

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>
@pchaigno pchaigno force-pushed the pr/pchaigno/fix-owner-stable-branch-workflows branch from 405c55d to ccfa2af Compare April 27, 2023 16:35
@pchaigno pchaigno merged commit 2686f34 into main Apr 27, 2023
42 of 43 checks passed
@pchaigno pchaigno deleted the pr/pchaigno/fix-owner-stable-branch-workflows branch April 27, 2023 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants