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: Drop COCKPITUOUS_TOKEN from trigger-anaconda.yml, update Anaconda trigger for -webui split #19630

Merged
merged 3 commits into from
Nov 20, 2023

Conversation

martinpitt
Copy link
Member

@martinpitt martinpitt commented Nov 20, 2023

cockpit-project/bots#5569 changed the allowlist from a GitHub team to a hardcoded Python list, so we don't need the cockpituous token privilege with its read:org any more.


I also piggy-backed a fix for this flake

cockpit-project/bots#5569 changed the allowlist
from a GitHub team to a hardcoded Python list, so we don't need the
cockpituous token privilege with its `read:org` any more.
There are more rare tracer failures on RHEL 8 which break unrelated
tests randomly. Ignore all crashes in it. We have explicit tests for
tracer functionality which will fail if it ever starts to fail for
actual updates detection.
@martinpitt martinpitt added blocked Don't land until something else happens first (see task list) no-test For doc/workflow changes, or experiments which don't need a full CI run, labels Nov 20, 2023
@martinpitt martinpitt added the .github-changes Set by a reviewer just before landing to acknowledge that a PR changes github workflows label Nov 20, 2023
Since https://github.com/cockpit-project/bots/pull/5524/files
rhinstaller/anaconda was an unknown project. Update it for the webui
split-out.
@github-actions github-actions bot removed the .github-changes Set by a reviewer just before landing to acknowledge that a PR changes github workflows label Nov 20, 2023
@allisonkarlitskaya allisonkarlitskaya removed the blocked Don't land until something else happens first (see task list) label Nov 20, 2023
@allisonkarlitskaya
Copy link
Member

Your attempted validation didn't work as expected:

Cloning into 'bots'...
ignoring unknown context fedora-rawhide-boot/cockpit-pr-19631@rhinstaller/anaconda

but this check happens after the permissions check, so ... success?

@martinpitt martinpitt added blocked Don't land until something else happens first (see task list) .github-changes Set by a reviewer just before landing to acknowledge that a PR changes github workflows labels Nov 20, 2023
@martinpitt
Copy link
Member Author

@allisonkarlitskaya Yup, noticed that too. Fixed and restarted.

@martinpitt martinpitt changed the title workflows: Drop COCKPITUOUS_TOKEN from trigger-anaconda.yml workflows: Drop COCKPITUOUS_TOKEN from trigger-anaconda.yml, update Anaconda trigger for -webui split Nov 20, 2023
@martinpitt martinpitt removed the blocked Don't land until something else happens first (see task list) label Nov 20, 2023
@allisonkarlitskaya
Copy link
Member

That's better

Run git clone --depth=1 https://github.com/cockpit-project/bots
Cloning into 'bots'...
fedora-rawhide-boot/cockpit-pr-19631@rhinstaller/anaconda-webui: triggering on pull request 19631

@martinpitt
Copy link
Member Author

@allisonkarlitskaya yes, I linked the successful logs from the description

# the default workflow token cannot read our org membership, for deciding who is allowed to trigger tests
environment: gh-cockpituous
permissions:
contents: read
Copy link
Member

Choose a reason for hiding this comment

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

I believe that's redundant. Doesn't hurt, though.

@allisonkarlitskaya allisonkarlitskaya merged commit 5300deb into main Nov 20, 2023
36 of 38 checks passed
@allisonkarlitskaya allisonkarlitskaya deleted the drop-cockpituous-token branch November 20, 2023 12:52
@allisonkarlitskaya
Copy link
Member

I'll drop the secret, as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.github-changes Set by a reviewer just before landing to acknowledge that a PR changes github workflows no-test For doc/workflow changes, or experiments which don't need a full CI run,
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants