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

chore: update fgbio version #6967

Closed
wants to merge 5 commits into from
Closed

Conversation

znorgaard
Copy link
Contributor

@znorgaard znorgaard commented Nov 11, 2024

This PR updates the version of fgbio used in all fgbio modules to version 2.4.0. It also switches from biocontainers to Seqera containers.

Wave containers were created manually, action requires secrets which don't get passed for repo fork PRs.

PR checklist

  • This comment contains a description of changes (with reason).
  • Use Seqera Containers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda

@znorgaard znorgaard marked this pull request as ready for review November 11, 2024 20:03
Copy link
Contributor

@mashehu mashehu left a comment

Choose a reason for hiding this comment

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

you also need to update the snapshots

@znorgaard
Copy link
Contributor Author

znorgaard commented Nov 11, 2024

you also need to update the snapshots

Updated now.

@znorgaard
Copy link
Contributor Author

Looks like just the wave build actions are failing (expected because secrets aren't passed to forked branches for the actions).

@mashehu
Copy link
Contributor

mashehu commented Nov 12, 2024

@edmundmiller any ideas?

@edmundmiller
Copy link
Contributor

@edmundmiller any ideas?

Don't bump versions from a fork? 😆

You'll probably have to close this PR and make a new one if you want the wave CI to run 😞 It's not something we can "fix". It's a feature, not a bug.

It should skip the matrix generation in this case, so I tried updating the branch.

Another rationale for ignoring these is kicking off these version bump PRs, which should be done through #4211 and then modified.

@znorgaard
Copy link
Contributor Author

znorgaard commented Nov 12, 2024

@edmundmiller, I don't mind the wave build automation not running/passing, but adding a check to make sure those actions don't trigger on PRs from forks seems like a good idea. No one likes an unnecessary ❌.

I think it just needs a:

if: github.repository_owner == 'nf-core'

to make sure it doesn't run when the source repo is a fork.
I updated the wave build if statement, should prevent those actions from triggering for forked repos now.

if: github.repository_owner == 'nf-core'

Renovate definitely seems like a nice tool to manage these version bumps, but it doesn't look like it's currently detecting conda environment files intentionally or not (which is where fgbio and many other module versions are currently set).

@mashehu if you want to require the wave build to pass before I can merge this PR, can someone make me a contributor here? (Context: I work with @nh13 at Fulcrum Genomics and have been helping out with maintenance of https://github.com/nf-core/fastquorum).

@znorgaard znorgaard requested a review from a team as a code owner November 12, 2024 18:49
@edmundmiller
Copy link
Contributor

I don't mind the wave build automation not running/passing, but adding a check to make sure those actions don't trigger on PRs from forks seems like a good idea. No one likes an unnecessary ❌.

Completely agree, I was just joking if you want the version to get bumped. I tried my best to get the wave jobs skipped if it was coming from a fork to avoid any confusion and thought we had that ironed out 🫠
Thanks for taking a look at it! I tried a couple of different if's but I think the owner == 'nf-core' should actually catch it.

Renovate definitely seems like a nice tool to manage these version bumps, but it doesn't look like it's currently detecting conda environment files intentionally or not (which is where fgbio and many other module versions are currently set).

For context it's off the version bumps are off right now because they were overwhelming and not automated. The channels will prevent it getting picked up until #5400 gets merged.

can someone make me a contributor here

Sent you an invite!

@znorgaard
Copy link
Contributor Author

Thanks for taking a look at it! I tried a couple of different if's but I think the owner == 'nf-core' should actually catch it.

No luck! You'd think they'd make this easy. I'll close this fork PR and get a regular one opened.

@znorgaard znorgaard closed this Nov 12, 2024
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.

3 participants