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

Remove remaining permissions issues in pipelines #191

Merged
merged 4 commits into from
Mar 11, 2024

Conversation

cipherboy
Copy link
Member

This removes the remaining unused permissions from the test-go workflow, fixing testing upstream.

See https://github.com/openbao/openbao/actions/runs/8207302185/workflow for an example failing workflow.

This fixes a race condition in builtin/credential/kubernetes, where
various tests which validated the mount's TLS configuration were
performed without holding a lock over that data, potentially causing a
race.

Interestingly, the race detector would fail with invalid results when
the horizon multiple was set too high, but only with race testing
enabled. Disabling race testing with the higher horizon multiple didn't
negatively affect results.

Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
This removes the remaining unused permissions from the test-go workflow,
fixing testing upstream.

Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
@cipherboy cipherboy force-pushed the fix-pipeline-ci-permissions branch from 8e551dd to c82abc9 Compare March 9, 2024 13:48
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.1 to 4.0.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@88522ab...ab5e6d0)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
@cipherboy cipherboy force-pushed the fix-pipeline-ci-permissions branch from a2b5d05 to 7fac0e3 Compare March 9, 2024 14:37
This reverts commit 1d0b2dd. When
accepting the commit from openbao#125,
this causes failures in the pipeline like:

> Error: Failed to CreateArtifact: Received non-retryable error:
>        Failed request:
>               (409) Conflict: an artifact with this name already
>                               exists on the workflow run

So likely we've fallen into the breaking change section of v3->v4
behavior. Some investigation will be needed to determine what to change
to fix this issue.

Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
@naphelps naphelps self-requested a review March 11, 2024 15:40
@naphelps naphelps merged commit ccee2dc into openbao:main Mar 11, 2024
78 of 79 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants