Commit 018687c6 authored by Steve Moyer's avatar Steve Moyer

Trades Quay -> Nexus repo for swagger-ui

parent b427016c
......@@ -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