mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Update to use Ripple Artifactory for docker cache
This updates the build process to use the local Artifactory server as a docker image cache to avoid being rate limited by docker hub during the build process.
This commit is contained in:
committed by
Nik Bougalis
parent
3e2b568ef9
commit
95426efb8a
@@ -113,7 +113,7 @@ rpm_sign:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- rpm_build
|
- rpm_build
|
||||||
image:
|
image:
|
||||||
name: centos:7
|
name: artifactory.ops.ripple.com/centos:7
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
before_script:
|
before_script:
|
||||||
- |
|
- |
|
||||||
@@ -142,7 +142,7 @@ dpkg_sign:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- dpkg_build
|
- dpkg_build
|
||||||
image:
|
image:
|
||||||
name: ubuntu:18.04
|
name: artifactory.ops.ripple.com/ubuntu:18.04
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
before_script:
|
before_script:
|
||||||
- |
|
- |
|
||||||
@@ -181,7 +181,7 @@ centos_7_smoketest:
|
|||||||
- rpm_build
|
- rpm_build
|
||||||
- rpm_sign
|
- rpm_sign
|
||||||
image:
|
image:
|
||||||
name: centos:7
|
name: artifactory.ops.ripple.com/centos:7
|
||||||
<<: *run_local_smoketest
|
<<: *run_local_smoketest
|
||||||
|
|
||||||
fedora_29_smoketest:
|
fedora_29_smoketest:
|
||||||
@@ -190,7 +190,7 @@ fedora_29_smoketest:
|
|||||||
- rpm_build
|
- rpm_build
|
||||||
- rpm_sign
|
- rpm_sign
|
||||||
image:
|
image:
|
||||||
name: fedora:29
|
name: artifactory.ops.ripple.com/fedora:29
|
||||||
<<: *run_local_smoketest
|
<<: *run_local_smoketest
|
||||||
|
|
||||||
fedora_28_smoketest:
|
fedora_28_smoketest:
|
||||||
@@ -199,7 +199,7 @@ fedora_28_smoketest:
|
|||||||
- rpm_build
|
- rpm_build
|
||||||
- rpm_sign
|
- rpm_sign
|
||||||
image:
|
image:
|
||||||
name: fedora:28
|
name: artifactory.ops.ripple.com/fedora:28
|
||||||
<<: *run_local_smoketest
|
<<: *run_local_smoketest
|
||||||
|
|
||||||
fedora_27_smoketest:
|
fedora_27_smoketest:
|
||||||
@@ -208,7 +208,7 @@ fedora_27_smoketest:
|
|||||||
- rpm_build
|
- rpm_build
|
||||||
- rpm_sign
|
- rpm_sign
|
||||||
image:
|
image:
|
||||||
name: fedora:27
|
name: artifactory.ops.ripple.com/fedora:27
|
||||||
<<: *run_local_smoketest
|
<<: *run_local_smoketest
|
||||||
|
|
||||||
## this one is not LTS, but we
|
## this one is not LTS, but we
|
||||||
@@ -220,7 +220,7 @@ ubuntu_20_smoketest:
|
|||||||
- dpkg_build
|
- dpkg_build
|
||||||
- dpkg_sign
|
- dpkg_sign
|
||||||
image:
|
image:
|
||||||
name: ubuntu:20.04
|
name: artifactory.ops.ripple.com/ubuntu:20.04
|
||||||
<<: *run_local_smoketest
|
<<: *run_local_smoketest
|
||||||
|
|
||||||
ubuntu_18_smoketest:
|
ubuntu_18_smoketest:
|
||||||
@@ -229,7 +229,7 @@ ubuntu_18_smoketest:
|
|||||||
- dpkg_build
|
- dpkg_build
|
||||||
- dpkg_sign
|
- dpkg_sign
|
||||||
image:
|
image:
|
||||||
name: ubuntu:18.04
|
name: artifactory.ops.ripple.com/ubuntu:18.04
|
||||||
<<: *run_local_smoketest
|
<<: *run_local_smoketest
|
||||||
|
|
||||||
ubuntu_16_smoketest:
|
ubuntu_16_smoketest:
|
||||||
@@ -238,7 +238,7 @@ ubuntu_16_smoketest:
|
|||||||
- dpkg_build
|
- dpkg_build
|
||||||
- dpkg_sign
|
- dpkg_sign
|
||||||
image:
|
image:
|
||||||
name: ubuntu:16.04
|
name: artifactory.ops.ripple.com/ubuntu:16.04
|
||||||
<<: *run_local_smoketest
|
<<: *run_local_smoketest
|
||||||
|
|
||||||
debian_9_smoketest:
|
debian_9_smoketest:
|
||||||
@@ -247,7 +247,7 @@ debian_9_smoketest:
|
|||||||
- dpkg_build
|
- dpkg_build
|
||||||
- dpkg_sign
|
- dpkg_sign
|
||||||
image:
|
image:
|
||||||
name: debian:9
|
name: artifactory.ops.ripple.com/debian:9
|
||||||
<<: *run_local_smoketest
|
<<: *run_local_smoketest
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
@@ -265,7 +265,7 @@ debian_9_smoketest:
|
|||||||
verify_head_signed:
|
verify_head_signed:
|
||||||
stage: verify_sig
|
stage: verify_sig
|
||||||
image:
|
image:
|
||||||
name: ubuntu:latest
|
name: artifactory.ops.ripple.com/ubuntu:latest
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
script:
|
script:
|
||||||
- . ./Builds/containers/gitlab-ci/verify_head_commit.sh
|
- . ./Builds/containers/gitlab-ci/verify_head_commit.sh
|
||||||
@@ -315,7 +315,7 @@ push_test:
|
|||||||
DEB_REPO: "rippled-deb-test-mirror"
|
DEB_REPO: "rippled-deb-test-mirror"
|
||||||
RPM_REPO: "rippled-rpm-test-mirror"
|
RPM_REPO: "rippled-rpm-test-mirror"
|
||||||
image:
|
image:
|
||||||
name: alpine:latest
|
name: artifactory.ops.ripple.com/alpine:latest
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- files.info
|
- files.info
|
||||||
@@ -340,7 +340,7 @@ centos_7_verify_repo_test:
|
|||||||
variables:
|
variables:
|
||||||
RPM_REPO: "rippled-rpm-test-mirror"
|
RPM_REPO: "rippled-rpm-test-mirror"
|
||||||
image:
|
image:
|
||||||
name: centos:7
|
name: artifactory.ops.ripple.com/centos:7
|
||||||
dependencies:
|
dependencies:
|
||||||
- rpm_sign
|
- rpm_sign
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
@@ -351,7 +351,7 @@ fedora_29_verify_repo_test:
|
|||||||
variables:
|
variables:
|
||||||
RPM_REPO: "rippled-rpm-test-mirror"
|
RPM_REPO: "rippled-rpm-test-mirror"
|
||||||
image:
|
image:
|
||||||
name: fedora:29
|
name: artifactory.ops.ripple.com/fedora:29
|
||||||
dependencies:
|
dependencies:
|
||||||
- rpm_sign
|
- rpm_sign
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
@@ -362,7 +362,7 @@ fedora_28_verify_repo_test:
|
|||||||
variables:
|
variables:
|
||||||
RPM_REPO: "rippled-rpm-test-mirror"
|
RPM_REPO: "rippled-rpm-test-mirror"
|
||||||
image:
|
image:
|
||||||
name: fedora:28
|
name: artifactory.ops.ripple.com/fedora:28
|
||||||
dependencies:
|
dependencies:
|
||||||
- rpm_sign
|
- rpm_sign
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
@@ -373,7 +373,7 @@ fedora_27_verify_repo_test:
|
|||||||
variables:
|
variables:
|
||||||
RPM_REPO: "rippled-rpm-test-mirror"
|
RPM_REPO: "rippled-rpm-test-mirror"
|
||||||
image:
|
image:
|
||||||
name: fedora:27
|
name: artifactory.ops.ripple.com/fedora:27
|
||||||
dependencies:
|
dependencies:
|
||||||
- rpm_sign
|
- rpm_sign
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
@@ -385,7 +385,7 @@ ubuntu_20_verify_repo_test:
|
|||||||
DISTRO: "focal"
|
DISTRO: "focal"
|
||||||
DEB_REPO: "rippled-deb-test-mirror"
|
DEB_REPO: "rippled-deb-test-mirror"
|
||||||
image:
|
image:
|
||||||
name: ubuntu:20.04
|
name: artifactory.ops.ripple.com/ubuntu:20.04
|
||||||
dependencies:
|
dependencies:
|
||||||
- dpkg_sign
|
- dpkg_sign
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
@@ -397,7 +397,7 @@ ubuntu_18_verify_repo_test:
|
|||||||
DISTRO: "bionic"
|
DISTRO: "bionic"
|
||||||
DEB_REPO: "rippled-deb-test-mirror"
|
DEB_REPO: "rippled-deb-test-mirror"
|
||||||
image:
|
image:
|
||||||
name: ubuntu:18.04
|
name: artifactory.ops.ripple.com/ubuntu:18.04
|
||||||
dependencies:
|
dependencies:
|
||||||
- dpkg_sign
|
- dpkg_sign
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
@@ -409,7 +409,7 @@ ubuntu_16_verify_repo_test:
|
|||||||
DISTRO: "xenial"
|
DISTRO: "xenial"
|
||||||
DEB_REPO: "rippled-deb-test-mirror"
|
DEB_REPO: "rippled-deb-test-mirror"
|
||||||
image:
|
image:
|
||||||
name: ubuntu:16.04
|
name: artifactory.ops.ripple.com/ubuntu:16.04
|
||||||
dependencies:
|
dependencies:
|
||||||
- dpkg_sign
|
- dpkg_sign
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
@@ -421,7 +421,7 @@ debian_9_verify_repo_test:
|
|||||||
DISTRO: "stretch"
|
DISTRO: "stretch"
|
||||||
DEB_REPO: "rippled-deb-test-mirror"
|
DEB_REPO: "rippled-deb-test-mirror"
|
||||||
image:
|
image:
|
||||||
name: debian:9
|
name: artifactory.ops.ripple.com/debian:9
|
||||||
dependencies:
|
dependencies:
|
||||||
- dpkg_sign
|
- dpkg_sign
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
@@ -439,7 +439,7 @@ debian_9_verify_repo_test:
|
|||||||
wait_before_push_prod:
|
wait_before_push_prod:
|
||||||
stage: wait_approval_prod
|
stage: wait_approval_prod
|
||||||
image:
|
image:
|
||||||
name: alpine:latest
|
name: artifactory.ops.ripple.com/alpine:latest
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
script:
|
script:
|
||||||
- echo "proceeding to next stage"
|
- echo "proceeding to next stage"
|
||||||
@@ -460,7 +460,7 @@ push_prod:
|
|||||||
DEB_REPO: "rippled-deb"
|
DEB_REPO: "rippled-deb"
|
||||||
RPM_REPO: "rippled-rpm"
|
RPM_REPO: "rippled-rpm"
|
||||||
image:
|
image:
|
||||||
name: alpine:latest
|
name: artifactory.ops.ripple.com/alpine:latest
|
||||||
stage: push_to_prod
|
stage: push_to_prod
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
@@ -486,7 +486,7 @@ centos_7_verify_repo_prod:
|
|||||||
variables:
|
variables:
|
||||||
RPM_REPO: "rippled-rpm"
|
RPM_REPO: "rippled-rpm"
|
||||||
image:
|
image:
|
||||||
name: centos:7
|
name: artifactory.ops.ripple.com/centos:7
|
||||||
dependencies:
|
dependencies:
|
||||||
- rpm_sign
|
- rpm_sign
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
@@ -497,7 +497,7 @@ fedora_29_verify_repo_prod:
|
|||||||
variables:
|
variables:
|
||||||
RPM_REPO: "rippled-rpm"
|
RPM_REPO: "rippled-rpm"
|
||||||
image:
|
image:
|
||||||
name: fedora:29
|
name: artifactory.ops.ripple.com/fedora:29
|
||||||
dependencies:
|
dependencies:
|
||||||
- rpm_sign
|
- rpm_sign
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
@@ -508,7 +508,7 @@ fedora_28_verify_repo_prod:
|
|||||||
variables:
|
variables:
|
||||||
RPM_REPO: "rippled-rpm"
|
RPM_REPO: "rippled-rpm"
|
||||||
image:
|
image:
|
||||||
name: fedora:28
|
name: artifactory.ops.ripple.com/fedora:28
|
||||||
dependencies:
|
dependencies:
|
||||||
- rpm_sign
|
- rpm_sign
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
@@ -519,7 +519,7 @@ fedora_27_verify_repo_prod:
|
|||||||
variables:
|
variables:
|
||||||
RPM_REPO: "rippled-rpm"
|
RPM_REPO: "rippled-rpm"
|
||||||
image:
|
image:
|
||||||
name: fedora:27
|
name: artifactory.ops.ripple.com/fedora:27
|
||||||
dependencies:
|
dependencies:
|
||||||
- rpm_sign
|
- rpm_sign
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
@@ -531,7 +531,7 @@ ubuntu_20_verify_repo_prod:
|
|||||||
DISTRO: "focal"
|
DISTRO: "focal"
|
||||||
DEB_REPO: "rippled-deb"
|
DEB_REPO: "rippled-deb"
|
||||||
image:
|
image:
|
||||||
name: ubuntu:20.04
|
name: artifactory.ops.ripple.com/ubuntu:20.04
|
||||||
dependencies:
|
dependencies:
|
||||||
- dpkg_sign
|
- dpkg_sign
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
@@ -543,7 +543,7 @@ ubuntu_18_verify_repo_prod:
|
|||||||
DISTRO: "bionic"
|
DISTRO: "bionic"
|
||||||
DEB_REPO: "rippled-deb"
|
DEB_REPO: "rippled-deb"
|
||||||
image:
|
image:
|
||||||
name: ubuntu:18.04
|
name: artifactory.ops.ripple.com/ubuntu:18.04
|
||||||
dependencies:
|
dependencies:
|
||||||
- dpkg_sign
|
- dpkg_sign
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
@@ -555,7 +555,7 @@ ubuntu_16_verify_repo_prod:
|
|||||||
DISTRO: "xenial"
|
DISTRO: "xenial"
|
||||||
DEB_REPO: "rippled-deb"
|
DEB_REPO: "rippled-deb"
|
||||||
image:
|
image:
|
||||||
name: ubuntu:16.04
|
name: artifactory.ops.ripple.com/ubuntu:16.04
|
||||||
dependencies:
|
dependencies:
|
||||||
- dpkg_sign
|
- dpkg_sign
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
@@ -567,7 +567,7 @@ debian_9_verify_repo_prod:
|
|||||||
DISTRO: "stretch"
|
DISTRO: "stretch"
|
||||||
DEB_REPO: "rippled-deb"
|
DEB_REPO: "rippled-deb"
|
||||||
image:
|
image:
|
||||||
name: debian:9
|
name: artifactory.ops.ripple.com/debian:9
|
||||||
dependencies:
|
dependencies:
|
||||||
- dpkg_sign
|
- dpkg_sign
|
||||||
<<: *only_primary
|
<<: *only_primary
|
||||||
@@ -587,7 +587,7 @@ get_prod_hashes:
|
|||||||
DEB_REPO: "rippled-deb"
|
DEB_REPO: "rippled-deb"
|
||||||
RPM_REPO: "rippled-rpm"
|
RPM_REPO: "rippled-rpm"
|
||||||
image:
|
image:
|
||||||
name: alpine:latest
|
name: artifactory.ops.ripple.com/alpine:latest
|
||||||
stage: get_final_hashes
|
stage: get_final_hashes
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
Reference in New Issue
Block a user