Commit 08939961 authored by Andy Cobaugh's avatar Andy Cobaugh

Merge branch 'bug/pulls-nexus-for-swagger-ui' into 'develop'

Trades Quay -> Nexus repo for swagger-ui

See merge request !12
parents 1b1e0c39 018687c6
Pipeline #121904 waiting for manual action with stages
in 51 seconds
......@@ -421,11 +421,13 @@ func checkIfSwaggerUiInstalled() {
installed := helmReleaseInstalled("swagger-ui")
const swaggerUIImage = "nexus.ci.psu.edu:5000/swe/swagger-ui:latest"
if !installed {
environment.RunRequired(true, "docker", "pull", "quay.io/pennstate/swagger-ui:latest")
environment.RunRequired(true, "docker", "pull", swaggerUIImage)
if kindProvider() {
color.New(color.FgGreen).Printf("Pushing image: 'quay.io/pennstate/swagger-ui:latest' into the kind cluster: %s\n", viper.GetString("kind.name"))
environment.RunRequired(true, "kind", "load", "docker-image", "--name", viper.GetString("kind.name"), "quay.io/pennstate/swagger-ui:latest")
color.New(color.FgGreen).Printf("Pushing image: '%s' into the kind cluster: %s\n", swaggerUIImage, viper.GetString("kind.name"))
environment.RunRequired(true, "kind", "load", "docker-image", "--name", viper.GetString("kind.name"), swaggerUIImage)
}
if helmVersion2() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment