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

[STORY] Add regular updates of latest pipelines versions by running "metapackage" image #108

Open
2 tasks
tclose opened this issue Sep 30, 2022 · 0 comments
Open
2 tasks
Labels
story unit of work

Comments

@tclose
Copy link

tclose commented Sep 30, 2022

Description

As a pipelines deployment framework developer, I want pipelines published by the framework to be automatically pulled down to each XNAT instance within the AIS network on a regular interval (daily), so that AIS users always have access to the latest pipelines and updates.

To facilitate this functionality the pipelines team will publish a "metapackage" alongside the built pipeline Docker images for every release of the pipelines library, which will be versioned by a datestamp (e.g. :20220930). The most recent metapackage will also be tagged as ":latest" at ghcr.io/australian-imaging-service/pipelines-metapackage:latest.

A script is installed at the entrypoint of the metapackage that pulls all the pipeline images included in the release down to a specified XNAT instance via the instance's REST API.

The script requires 3 args to be passed to it:

  • URI of the XNAT instance to update
  • Username (with admin rights)
  • Password for username

These args can either be passed via the '--server', '--user' and '--password' CLI flags or through the 'XNAT_HOST', 'XNAT_USER', and 'XNAT_PASS' environment variables, respectively.

Acceptance Criteria

  • ghcr.io/australian-imaging-service/pipelines-metapackage:latest image is updated (pulled) on a daily schedule
  • ghcr.io/australian-imaging-service/pipelines-metapackage:latest image is run on a daily schedule
@tclose tclose added the story unit of work label Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
story unit of work
Projects
Status: No status
Development

No branches or pull requests

1 participant