-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Task] CI fails to download cryostat-core
dependency
#126
Comments
This is the |
I think so, yes. The secret is probably unreadable to the actions runners with the current configuration so the authentication fails because the password/token being provided in the Maven |
(it's frustrating that GitHub Packages still doesn't allow unauthenticated downloads) |
It looks like the CI job also needs to (re)trigger when PRs are labelled or unlabelled: This PR is failing because the runner thinks cryostat-agent/.github/workflows/ci.yaml Line 10 in f0744e9
vs https://github.com/cryostatio/cryostat/blob/main/.github/workflows/pr-ci.yml#L13 |
Sounds good, I'll redo it today. |
Fixed with #151, hopefully. |
For example:
#125
![image](https://private-user-images.githubusercontent.com/3787464/240650545-e622c1a7-58d1-4a12-957e-75da68a3edb2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAwNjcxNzQsIm5iZiI6MTcyMDA2Njg3NCwicGF0aCI6Ii8zNzg3NDY0LzI0MDY1MDU0NS1lNjIyYzFhNy01OGQxLTRhMTItOTU3ZS03NWRhNjhhM2VkYjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDRUMDQyMTE0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NWE1ZjgxOWQ2M2QyY2U3NTIyNWQ0ZDJhOGIwNTIyNzc0MjlmYzM1ZjZmMDUzZGE1MTE1MzA3MzIwMjdjMjFkMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.LSYSX4hqIHoNUdFZIt5gf9tKtN7KPLFgjIG66HryjvM)
(https://github.com/cryostatio/cryostat-agent/actions/runs/5070291951/jobs/9105123984?pr=125)
The project's
pom.xml
is configured to search the GitHub Maven Packages repository, but authentication is failing.cryostat-agent/pom.xml
Line 13 in 8d2eb41
The CI workflow does have a step that is supposed to set up the Maven
settings.xml
that provides the credentials however:cryostat-agent/.github/workflows/ci.yaml
Line 32 in 8d2eb41
And the same or very similar configuration is used in the main Cryostat repository, which works and is able to download the
cryostat-core
dependency:https://github.com/cryostatio/cryostat/blob/2b0cd5adacf8f928f8666f36663b0a5b31e0e76b/.github/workflows/ci-jobs.yml#L53
The text was updated successfully, but these errors were encountered: