You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2021/04/14 17:09:06 UTC

[couchdb] 01/01: Add docker creds to CI run (#3508)

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch main-jenkins-creds
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 0a817ab90c87d520488393f28263850cccaab132
Author: Joan Touzet <wo...@users.noreply.github.com>
AuthorDate: Wed Apr 14 17:08:04 2021 +0000

    Add docker creds to CI run (#3508)
---
 build-aux/Jenkinsfile.full | 22 ++++++++++++++++++++++
 build-aux/Jenkinsfile.pr   |  2 ++
 2 files changed, 24 insertions(+)

diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index fbd76d9..ecdf476 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -83,6 +83,8 @@ pipeline {
           label 'docker'
           image 'couchdbdev/debian-stretch-erlang-20.3.8.25-1:latest'
           args "${DOCKER_ARGS}"
+          registryUrl 'https://docker.io/'
+          registryCredentialsId 'dockerhub_creds'
         }
       }
       options {
@@ -200,6 +202,8 @@ pipeline {
               image 'couchdbdev/centos-7-erlang-20.3.8.25-1:latest'
               label 'docker'
               args "${DOCKER_ARGS}"
+              registryUrl 'https://docker.io/'
+              registryCredentialsId 'dockerhub_creds'
             }
           }
           environment {
@@ -244,6 +248,8 @@ pipeline {
               image 'couchdbdev/centos-8-erlang-20.3.8.25-1:latest'
               label 'docker'
               args "${DOCKER_ARGS}"
+              registryUrl 'https://docker.io/'
+              registryCredentialsId 'dockerhub_creds'
             }
           }
           environment {
@@ -288,6 +294,8 @@ pipeline {
               image 'couchdbdev/ubuntu-xenial-erlang-20.3.8.25-1:latest'
               label 'docker'
               args "${DOCKER_ARGS}"
+              registryUrl 'https://docker.io/'
+              registryCredentialsId 'dockerhub_creds'
             }
           }
           environment {
@@ -331,6 +339,8 @@ pipeline {
               image 'couchdbdev/ubuntu-bionic-erlang-20.3.8.25-1:latest'
               label 'docker'
               args "${DOCKER_ARGS}"
+              registryUrl 'https://docker.io/'
+              registryCredentialsId 'dockerhub_creds'
             }
           }
           environment {
@@ -374,6 +384,8 @@ pipeline {
               image 'couchdbdev/ubuntu-focal-erlang-20.3.8.25-1:latest'
               label 'docker'
               args "${DOCKER_ARGS}"
+              registryUrl 'https://docker.io/'
+              registryCredentialsId 'dockerhub_creds'
             }
           }
           environment {
@@ -417,6 +429,8 @@ pipeline {
               image 'couchdbdev/debian-stretch-erlang-20.3.8.25-1:latest'
               label 'docker'
               args "${DOCKER_ARGS}"
+              registryUrl 'https://docker.io/'
+              registryCredentialsId 'dockerhub_creds'
             }
           }
           environment {
@@ -460,6 +474,8 @@ pipeline {
               image 'couchdbdev/debian-buster-erlang-20.3.8.25-1:latest'
               label 'docker'
               args "${DOCKER_ARGS}"
+              registryUrl 'https://docker.io/'
+              registryCredentialsId 'dockerhub_creds'
             }
           }
           environment {
@@ -504,6 +520,8 @@ pipeline {
               image 'couchdbdev/arm64v8-debian-buster-erlang-20.3.8.25-1:latest'
               label 'arm64v8'
               args "${DOCKER_ARGS}"
+              registryUrl 'https://docker.io/'
+              registryCredentialsId 'dockerhub_creds'
             }
           }
           environment {
@@ -551,6 +569,8 @@ pipeline {
 //              image 'couchdbdev/ppc64le-debian-buster-erlang-20.3.8.25-1:latest'
 //              label 'ppc64le'
 //              args "${DOCKER_ARGS}"
+//              registryUrl 'https://docker.io/'
+//              registryCredentialsId 'dockerhub_creds'
 //            }
 //          }
 //          environment {
@@ -664,6 +684,8 @@ pipeline {
           image 'couchdbdev/debian-buster-erlang-20.3.8.25-1:latest'
           label 'docker'
           args "${DOCKER_ARGS}"
+          registryUrl 'https://docker.io/'
+          registryCredentialsId 'dockerhub_creds'
         }
       }
       options {
diff --git a/build-aux/Jenkinsfile.pr b/build-aux/Jenkinsfile.pr
index 718dba1..16b8c47 100644
--- a/build-aux/Jenkinsfile.pr
+++ b/build-aux/Jenkinsfile.pr
@@ -69,6 +69,8 @@ pipeline {
           image "${DOCKER_IMAGE}"
           label 'docker'
           args "${DOCKER_ARGS}"
+          registryUrl 'https://docker.io/'
+          registryCredentialsId 'dockerhub_creds'
         }
       }
       options {