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

Create Shell Script for VM Updates #2

Open
rin-skylight opened this issue Sep 12, 2024 · 0 comments
Open

Create Shell Script for VM Updates #2

rin-skylight opened this issue Sep 12, 2024 · 0 comments

Comments

@rin-skylight
Copy link
Collaborator

Background

We want to create a script that can be run by an administrator that will seamlessly update the DIBBs version of our containers (with a prompt to accept or decline) along with all packages installed on the machine.

Action requested

Create a script that will perform updates. Bonus points if it can be designed with an --auto-upgrade switch that would allow it to be run headlessly via a cronjob.

Acceptance Criteria

  • Bash script exists in a logical location in our repo for packaging by Packer. (utilities or scripts may be a good folder location)
  • apt is properly updated
  • subordinate package managers have proper update commands
  • New DIBBs version is queried from the phdi repo. (This will take some work to figure out...might require a specific file in the PHDI repo that we pull via curl and parse for the latest version)
  • Script tested against the Compose file in Create Docker Compose file for the eCR Viewer stack #1 on a test VM.

Additional context

Reminder: we're targeting Ubuntu Minimal for this. apt will be the package manager of choice. We might have brew installed, as well, depending on how things go, so be on the lookout for any secondary package managers we will need to process. pip may be another candidate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant