Skip to content

Conversation

@bblay
Copy link
Contributor

@bblay bblay commented Jan 22, 2023

This PR allows us to manually trigger a Picasso build, giving us a singularity container with Fab and dependencies. It's based on a recent version of Ubuntu with a newer glibc than on the VDI.

Follow up work might branch out into multiple images:

  • Different versions of Python for testing, which is currently not done in a sustainable way.
  • A dev environment.
  • Fab versions released in their own container.
  • Something with LLVM to resolve a problem Matthew is more able to describe.

We probably don't want to trigger these builds from push or prs because a) we probably only need to build infrequently and b) due to the cross-repo nature of the action we'd need to give fab forks (i.e anyone) source permissions to the source repo. A disadvantage of this that I don't think we can quickly iterate with PRs to tweak the Picasso config, we have to wait until it's merged before we can see if it works.

@bblay bblay marked this pull request as ready for review January 24, 2023 15:27
Copy link
Contributor

@matthewrmshin matthewrmshin left a comment

Choose a reason for hiding this comment

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

Looks good, but recommend that you use the python3 command instead of the python command. Some newer Linux distro versions have chosen to only provide a python3 command and not a python command.

- matplotlib

commands:
- python setup.py install
Copy link
Contributor

Choose a reason for hiding this comment

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

Recommend using the python3 command here.

@bblay bblay requested a review from matthewrmshin January 25, 2023 08:55
Copy link
Contributor

@matthewrmshin matthewrmshin left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@bblay bblay merged commit adad8bd into MetOffice:master Jan 27, 2023
@bblay bblay deleted the picasso branch March 15, 2023 09:42
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.

2 participants