Skip to content

Attempt to fix gitlab build#2292

Merged
laurit merged 1 commit intosignalfx:mainfrom
breedx-splk:try_gitlab_fix
Apr 25, 2025
Merged

Attempt to fix gitlab build#2292
laurit merged 1 commit intosignalfx:mainfrom
breedx-splk:try_gitlab_fix

Conversation

@breedx-splk
Copy link
Copy Markdown
Contributor

After #2287 was merged, the snapshot builds in gitlab began failing due to

FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':agent-csa-bundle'.
> Cannot change hierarchy of dependency configuration ':agent-csa-bundle:csaReleases' after it has been resolved.

Obviously a very clear and helpful error message. 🙄

Especially weird that the exact same gradle command passes both locally on my box but also in GitHub. Feh.

Anyway, I found some prior art that this kind of problem is caused by stuff being done at config time. Because it's complaining about the csReleases config, and the config is only mentioned in 3 places (the declaration of the config itself, once in the dependency block, and the zipTree() copy [as changed in this PR]), I figured it was worth a shot. It doesn't seem to break anything anyway.

@breedx-splk breedx-splk requested review from a team as code owners April 24, 2025 21:26
@laurit laurit merged commit fc38e60 into signalfx:main Apr 25, 2025
26 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants