Work around docker rate limit in CSITs 42/115142/2 frankfurt
authorJim Hahn <jrh3@att.com>
Thu, 19 Nov 2020 19:38:14 +0000 (14:38 -0500)
committerJim Hahn <jrh3@att.com>
Thu, 19 Nov 2020 19:49:44 +0000 (14:49 -0500)
CSITs are failing regularly due to download rate limits that were
recently introduced on dockerhub.  Modified the Dockerfiles for the
simulators that are used by the CSITs to pull the base images from
nexus3 instead of dockerhub.
Based on feedback from Steve Winslow, it's OK to pull base images from
nexus3 provided that the docker images generated from it are not
actually released.  In the case of the simulators, only snapshot images
are ever created.
Also added the policy alpine version number to ensure the appropriate
docker base is used for frankfurt.

Issue-ID: POLICY-2895
Change-Id: I61393f3551c2257b75948f39add0b5163265e152
Signed-off-by: Jim Hahn <jrh3@att.com>
models-sim/models-sim-dmaap/src/main/package/docker/Dockerfile
models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile
models-sim/policy-models-simulators/src/main/package/docker/Dockerfile

index 495924d..5a72150 100644 (file)
@@ -1,7 +1,7 @@
 #
 # ============LICENSE_START=======================================================
 #  Copyright (C) 2019 Nordix Foundation.
-#  Modifications Copyright (C) 2019 AT&T Intellectual Property.
+#  Modifications Copyright (C) 2019-2020 AT&T Intellectual Property.
 # ================================================================================
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@
 # Docker file to build an image that runs the DMaaP simulator on Java 8 in alpine
 #
 
-FROM onap/policy-jre-alpine
+FROM nexus3.onap.org:10001/onap/policy-jre-alpine:2.0.1
 
 LABEL maintainer="Policy Team"
 
index b70844e..ec02ea8 100644 (file)
@@ -1,7 +1,7 @@
 #
 # ============LICENSE_START=======================================================
 #  Copyright (C) 2019 Nordix Foundation.
-#  Modifications Copyright (C) 2019 AT&T Intellectual Property.
+#  Modifications Copyright (C) 2019-2020 AT&T Intellectual Property.
 # ================================================================================
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@
 # Docker file to build an image that runs the PDP simulator on Java 8 in alpine
 #
 
-FROM onap/policy-jre-alpine
+FROM nexus3.onap.org:10001/onap/policy-jre-alpine:2.0.1
 
 LABEL maintainer="Policy Team"
 
index c41cd38..861c17b 100644 (file)
@@ -24,7 +24,7 @@
 # Docker file to build an image that runs the simulators
 #
 
-FROM onap/policy-jre-alpine:2.0.1
+FROM nexus3.onap.org:10001/onap/policy-jre-alpine:2.0.1
 
 LABEL maintainer="Policy Team"