From: Jim Hahn Date: Thu, 12 Nov 2020 19:11:35 +0000 (-0500) Subject: Work around docker rate limit in CSITs X-Git-Url: https://gerrit.onap.org/r/gitweb?p=integration%2Fcsit.git;a=commitdiff_plain;h=6a4ac5810191b9971c3f1566b8da3c5b2c9725b1 Work around docker rate limit in CSITs 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 --- diff --git a/scripts/policy/docker-compose-api.yml b/scripts/policy/docker-compose-api.yml index e32190f1..7555bfb9 100644 --- a/scripts/policy/docker-compose-api.yml +++ b/scripts/policy/docker-compose-api.yml @@ -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'] diff --git a/scripts/policy/docker-compose-drools.yml b/scripts/policy/docker-compose-drools.yml index 974b465f..61c67828 100644 --- a/scripts/policy/docker-compose-drools.yml +++ b/scripts/policy/docker-compose-drools.yml @@ -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: diff --git a/scripts/policy/docker-compose-engine.yml b/scripts/policy/docker-compose-engine.yml index 1fc5f9f3..fe9bbead 100644 --- a/scripts/policy/docker-compose-engine.yml +++ b/scripts/policy/docker-compose-engine.yml @@ -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: diff --git a/scripts/policy/docker-compose-pap.yml b/scripts/policy/docker-compose-pap.yml index 5438557b..1c739ac9 100644 --- a/scripts/policy/docker-compose-pap.yml +++ b/scripts/policy/docker-compose-pap.yml @@ -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'] diff --git a/scripts/policy/drools-apps/docker-compose-drools-apps.yml b/scripts/policy/drools-apps/docker-compose-drools-apps.yml index 5098a177..e4fe28c0 100644 --- a/scripts/policy/drools-apps/docker-compose-drools-apps.yml +++ b/scripts/policy/drools-apps/docker-compose-drools-apps.yml @@ -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'] diff --git a/scripts/policy/policy-apex-pdp/docker-compose-apex.yml b/scripts/policy/policy-apex-pdp/docker-compose-apex.yml index b7ba21c8..0201cc91 100644 --- a/scripts/policy/policy-apex-pdp/docker-compose-apex.yml +++ b/scripts/policy/policy-apex-pdp/docker-compose-apex.yml @@ -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'] diff --git a/scripts/policy/policy-distribution/docker-compose-distribution.yml b/scripts/policy/policy-distribution/docker-compose-distribution.yml index f2398908..15054d01 100644 --- a/scripts/policy/policy-distribution/docker-compose-distribution.yml +++ b/scripts/policy/policy-distribution/docker-compose-distribution.yml @@ -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'] diff --git a/scripts/policy/policy-xacml-pdp/docker-compose-pdpx.yml b/scripts/policy/policy-xacml-pdp/docker-compose-pdpx.yml index caf8315b..142f4d97 100644 --- a/scripts/policy/policy-xacml-pdp/docker-compose-pdpx.yml +++ b/scripts/policy/policy-xacml-pdp/docker-compose-pdpx.yml @@ -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']