Pipeline updates
Closes #9 (closed)
This PR does the following:
- Pushes images to the public registry (instead of the old internal one)
- Switch to use the devops public registry (instead of the sunsetted old inteternal one)
- Updates node/httpd/docker to the newest images in the registry
- Adds a trigger deploy step to kick off the pipeline for anss-pdl
- Currently the image being used in staging is hard coded to a specific tag so kicking off the pipeline will redeploy but not actually change anything. I created ha ticket in anss-pdl to change it to use
latest
in staging so we will always be up to date with image changes - A pipeline trigger token was created in anss-pdl as well to enable this repo to kick it off
- Currently the image being used in staging is hard coded to a specific tag so kicking off the pipeline will redeploy but not actually change anything. I created ha ticket in anss-pdl to change it to use
The following CI/CD variables will need to be created before this works (I will create them after merging):
CI_TRIGGER_TOKEN
-> token created in anss-pdl to allow this repo to kick off pipelines
CI_TRIGGER_URL
-> The gitlab api url with the anss-pdl project id in it to make a curl request to in this pipeline
REGISTRY_AUTH_TOKEN
-> The token on the build machines only has access to push to the /devops/images registry (its using this project token), so in order to give access to push to /earthquake-event-ws a project token for this project with read/write registry and read repository permissions was created and the docker config was updated to use that token in the pipeline.
Edited by Hawthorne, Bryan D