Merge "Replaced references to tcpcloud image with Mirantis ones"
diff --git a/src/com/mirantis/mk/Debian.groovy b/src/com/mirantis/mk/Debian.groovy
index 94b0598..4d7b1ee 100644
--- a/src/com/mirantis/mk/Debian.groovy
+++ b/src/com/mirantis/mk/Debian.groovy
@@ -29,7 +29,7 @@
def imageArray = image.split(":")
def os = imageArray[0]
def dist = imageArray[1]
- def img = dockerLib.getImage("tcpcloud/debian-build-${os}-${dist}:latest", image)
+ def img = dockerLib.getImage("mirantis/debian-build-${os}-${dist}:latest", image)
def workspace = common.getWorkspace()
def debug = env.getEnvironment().containsKey("DEBUG") && env["DEBUG"].toBoolean() ? "true" : ""
@@ -92,7 +92,7 @@
def imageArray = image.split(":")
def os = imageArray[0]
def dist = imageArray[1]
- def img = dockerLib.getImage("tcpcloud/debian-build-${os}-${dist}:latest", image)
+ def img = dockerLib.getImage("mirantis/debian-build-${os}-${dist}:latest", image)
def workspace = common.getWorkspace()
img.inside("-u root:root" ) {
@@ -123,7 +123,7 @@
def imageArray = image.split(":")
def os = imageArray[0]
def dist = imageArray[1]
- def img = dockerLib.getImage("tcpcloud/debian-build-${os}-${dist}:latest", image)
+ def img = dockerLib.getImage("mirantis/debian-build-${os}-${dist}:latest", image)
img.inside("-u root:root") {
@@ -186,7 +186,7 @@
def imageArray = image.split(":")
def os = imageArray[0]
def dist = imageArray[1]
- def img = dockerLib.getImage("tcpcloud/debian-build-${os}-${dist}:latest", image)
+ def img = dockerLib.getImage("mirantis/debian-build-${os}-${dist}:latest", image)
img.inside("-u root:root") {
sh("""cd ${workspace} && apt-get update && apt-get install -y lintian &&
lintian -Ii -E --pedantic --profile=${profile} ${changes}""")
diff --git a/src/com/mirantis/mk/Docker.groovy b/src/com/mirantis/mk/Docker.groovy
index 7b57e5b..796cc3c 100644
--- a/src/com/mirantis/mk/Docker.groovy
+++ b/src/com/mirantis/mk/Docker.groovy
@@ -35,7 +35,7 @@
/**
* Build step to build docker image.
*
- * @param dockerHubImg Name of image on dockerhub (ie: tcpcloud/salt-models-testing)
+ * @param dockerHubImg Name of image on dockerhub (ie: mirantis/salt-models-testing)
* @param defaultImg Image to use if dockerHubImg is not found
* @return img Docker image
*/
diff --git a/src/com/mirantis/mk/SaltModelTesting.groovy b/src/com/mirantis/mk/SaltModelTesting.groovy
index 77959db..b918bd7 100644
--- a/src/com/mirantis/mk/SaltModelTesting.groovy
+++ b/src/com/mirantis/mk/SaltModelTesting.groovy
@@ -24,7 +24,7 @@
def saltOpts = "--retcode-passthrough --force-color"
def common = new com.mirantis.mk.Common()
def workspace = common.getWorkspace()
- def img = docker.image("tcpcloud/salt-models-testing:latest")
+ def img = docker.image("mirantis/salt-models-testing:latest")
img.pull()
if (!extraFormulas || extraFormulas == "") {