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

streamline docker image deployment and mvn deploy using GHA #358

Open
3 tasks
jeanetteclark opened this issue Jun 20, 2023 · 0 comments
Open
3 tasks

streamline docker image deployment and mvn deploy using GHA #358

jeanetteclark opened this issue Jun 20, 2023 · 0 comments
Assignees

Comments

@jeanetteclark
Copy link
Collaborator

Right now, we have 4 docker images for metadig-engine. In the metadig-engine repository, containers for metadig-scorer, metadig-scheduler, and metadig-worker are built. In metadig-webapp, the metadig-controller image is built. The controller image is dependent on metadig-engine being deployed on the maven.dataone.org repository, which is (currently) deployed to manually via mvn deploy.

In order to make sure that all of the images are using the correct (and the same!!) version of metadig engine we need to adjust the github action such that:

  • deploy to maven.dataone.org using github actions at certain events (push to develop, tags)
  • build the images from metadig-engine
  • trigger a build of the image from metadig-webapp, possibly through a webhook

Only question I have here is whether deploying to the repo is a good idea, since I'll have to put an ssh key into a secrets variable for the action. Is that too powerful of a credential to trust to GHA @mbjones ?

@jeanetteclark jeanetteclark self-assigned this Jun 20, 2023
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

No branches or pull requests

1 participant