Work around docker rate limit in CSITs 57/114857/1
authorJim Hahn <jrh3@att.com>
Thu, 12 Nov 2020 19:11:35 +0000 (14:11 -0500)
committerJim Hahn <jrh3@att.com>
Thu, 12 Nov 2020 19:12:33 +0000 (14:12 -0500)
CSITs are failing regularly due to download rate limits that were
recently introduced on dockerhub.  Modified the yaml files to download
all images from nexus3 instead of dockerhub.

Issue-ID: POLICY-2895
Change-Id: I3ce37a5fc65fa82ddf1124653019cb24ff73f9ee
Signed-off-by: Jim Hahn <jrh3@att.com>
scripts/policy/docker-compose-api.yml
scripts/policy/docker-compose-drools.yml
scripts/policy/docker-compose-engine.yml
scripts/policy/docker-compose-pap.yml
scripts/policy/drools-apps/docker-compose-drools-apps.yml
scripts/policy/policy-apex-pdp/docker-compose-apex.yml
scripts/policy/policy-distribution/docker-compose-distribution.yml
scripts/policy/policy-xacml-pdp/docker-compose-pdpx.yml

index e32190f..7555bfb 100644 (file)
@@ -14,7 +14,7 @@
 version: '2'
 services:
    mariadb:
-      image: mariadb:${POLICY_MARIADB_VER}
+      image: nexus3.onap.org:10001/mariadb:${POLICY_MARIADB_VER}
       container_name: mariadb
       hostname: mariadb
       command: ['--lower-case-table-names=1', '--wait_timeout=28800']
index 974b465..61c6782 100644 (file)
@@ -14,7 +14,7 @@
 version: '2'
 services:
    mariadb:
-      image: mariadb:${POLICY_MARIADB_VER}
+      image: nexus3.onap.org:10001/mariadb:${POLICY_MARIADB_VER}
       container_name: mariadb
       hostname: mariadb
       command: ['--lower-case-table-names=1', '--wait_timeout=28800']
@@ -25,7 +25,7 @@ services:
       expose:
          - 3306
    nexus:
-      image: sonatype/nexus:2.14.8-01
+      image: nexus3.onap.org:10001/sonatype/nexus:2.14.8-01
       container_name: nexus
       hostname: nexus
       expose:
index 1fc5f9f..fe9bbea 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2018 AT&T Intellectual Property. All rights reserved
+# Copyright 2018, 2020 AT&T Intellectual Property. All rights reserved
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
 version: '2'
 services:
    mariadb:
-      image: mariadb:${POLICY_MARIADB_VER}
+      image: nexus3.onap.org:10001/mariadb:${POLICY_MARIADB_VER}
       container_name: mariadb
       hostname: mariadb
       command: ['--lower-case-table-names=1', '--wait_timeout=28800']
@@ -25,7 +25,7 @@ services:
       expose:
        - 3306
    nexus:
-      image: sonatype/nexus:2.14.8-01
+      image: nexus3.onap.org:10001/sonatype/nexus:2.14.8-01
       container_name: nexus
       hostname: nexus
    pap:
index 5438557..1c739ac 100644 (file)
@@ -14,7 +14,7 @@
 version: '2'
 services:
    mariadb:
-      image: mariadb:${POLICY_MARIADB_VER}
+      image: nexus3.onap.org:10001/mariadb:${POLICY_MARIADB_VER}
       container_name: mariadb
       hostname: mariadb
       command: ['--lower-case-table-names=1', '--wait_timeout=28800']
index 5098a17..e4fe28c 100644 (file)
@@ -18,7 +18,7 @@
 version: '2'
 services:
    mariadb:
-      image: mariadb:${POLICY_MARIADB_VER}
+      image: nexus3.onap.org:10001/mariadb:${POLICY_MARIADB_VER}
       container_name: mariadb
       hostname: mariadb
       command: ['--lower-case-table-names=1', '--wait_timeout=28800']
index b7ba21c..0201cc9 100644 (file)
@@ -1,5 +1,5 @@
 # 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.
@@ -18,7 +18,7 @@ networks:
     driver: bridge
 services:
    mariadb:
-      image: mariadb:${POLICY_MARIADB_VER}
+      image: nexus3.onap.org:10001/mariadb:${POLICY_MARIADB_VER}
       container_name: mariadb
       hostname: mariadb
       command: ['--lower-case-table-names=1', '--wait_timeout=28800']
index f239890..15054d0 100644 (file)
@@ -1,4 +1,5 @@
 # Copyright (C) 2019 Nordix Foundation.
+# Modifications Copyright (C) 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.
@@ -17,7 +18,7 @@ networks:
     driver: bridge
 services:
    mariadb:
-      image: mariadb:${POLICY_MARIADB_VER}
+      image: nexus3.onap.org:10001/mariadb:${POLICY_MARIADB_VER}
       container_name: mariadb
       hostname: mariadb
       command: ['--lower-case-table-names=1', '--wait_timeout=28800']
index caf8315..142f4d9 100644 (file)
@@ -18,7 +18,7 @@
 version: '2'
 services:
    mariadb:
-      image: mariadb:${POLICY_MARIADB_VER}
+      image: nexus3.onap.org:10001/mariadb:${POLICY_MARIADB_VER}
       container_name: mariadb
       hostname: mariadb
       command: ['--lower-case-table-names=1', '--wait_timeout=28800']