Adds explicit permissions for github workflows#4161
Adds explicit permissions for github workflows#4161markmandel merged 1 commit intoagones-dev:mainfrom
Conversation
|
Build Failed 😭 Build Id: 9efebf02-81a6-4d88-8223-0062b76c8539 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
|
It seems that the pipeline is always having issue on the standard-upgrade-test-cluster-1-31: https://github.com/googleforgames/agones/blob/main/cloudbuild.yaml#L397 The output of the k8s 1.31 seems to be |
|
Agreed - seems rather flaky. @igooch does it make sense to |
I was looking at the code, from what I understand, it reuses an existing cluster to do the upgrade test ( |
Yes, the logs are rather verbose, but if we're OK with that we can do a dump of the For this build it looks like it fails during upgrade from 1.44 -> 1.45. Install of 1.45 begins: Ongoing creating of 1.44 game servers continues: Creating of 1.44 game servers temporarily fails (expected) while the controller service switches to the new endpoint during upgrade: Failure continues for longer than expected, and the test fails: Looking at the controller logs, it's possible the slow upgrade was due to a node not being ready, although there's a 5 min difference in time on the logs, so it may be unrelated. |
What type of PR is this?
/kind hotfix
What this PR does / Why we need it:
GitHub is now enforcing explicit permissions in workflows, causing the labeler and pr_update workflows to fail.
This adds the permissions to write to a PR, using the same permissions as the existing labeler-pr workflow.
Which issue(s) this PR fixes:
NA
Special notes for your reviewer: