This repository was archived by the owner on Dec 8, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +28
-28
lines changed Expand file tree Collapse file tree 4 files changed +28
-28
lines changed Original file line number Diff line number Diff line change 4949 exit 1
5050fi
5151
52+ echo " ================================================================"
53+ echo " Load Google Container Registry configuration parameters $( date) ."
54+
55+ if [[ -f " ${KOKORO_GFILE_DIR:- } /gcr-configuration.sh" ]]; then
56+ source " ${KOKORO_GFILE_DIR:- } /gcr-configuration.sh"
57+ fi
58+
5259if [[ -z " ${PROJECT_ROOT+x} " ]]; then
5360 readonly PROJECT_ROOT=" $( cd " $( dirname " $0 " ) /../../.." ; pwd) "
5461fi
@@ -61,13 +68,6 @@ cd "${PROJECT_ROOT}"
6168echo " ================================================================"
6269echo " Building with ${NCPU} cores $( date) on ${PWD} ."
6370
64- echo " ================================================================"
65- echo " Load Google Container Registry configuration parameters $( date) ."
66-
67- if [[ -f " ${KOKORO_GFILE_DIR:- } /gcr-configuration.sh" ]]; then
68- source " ${KOKORO_GFILE_DIR:- } /gcr-configuration.sh"
69- fi
70-
7171echo " ================================================================"
7272echo " Setup Google Container Registry access $( date) ."
7373if [[ -f " ${KOKORO_GFILE_DIR:- } /gcr-service-account.json" ]]; then
Original file line number Diff line number Diff line change 5050 exit 1
5151fi
5252
53+ echo " ================================================================"
54+ echo " Load Google Container Registry configuration parameters $( date) ."
55+
56+ if [[ -f " ${KOKORO_GFILE_DIR:- } /gcr-configuration.sh" ]]; then
57+ source " ${KOKORO_GFILE_DIR:- } /gcr-configuration.sh"
58+ fi
59+
5360if [[ -z " ${PROJECT_ROOT+x} " ]]; then
5461 readonly PROJECT_ROOT=" $( cd " $( dirname " $0 " ) /../../.." ; pwd) "
5562fi
@@ -62,13 +69,6 @@ cd "${PROJECT_ROOT}"
6269echo " ================================================================"
6370echo " Building with ${NCPU} cores $( date) on ${PWD} ."
6471
65- echo " ================================================================"
66- echo " Load Google Container Registry configuration parameters $( date) ."
67-
68- if [[ -f " ${KOKORO_GFILE_DIR:- } /gcr-configuration.sh" ]]; then
69- source " ${KOKORO_GFILE_DIR:- } /gcr-configuration.sh"
70- fi
71-
7272echo " ================================================================"
7373echo " Setup Google Container Registry access $( date) ."
7474if [[ -f " ${KOKORO_GFILE_DIR:- } /gcr-service-account.json" ]]; then
Original file line number Diff line number Diff line change 4545 exit 1
4646fi
4747
48+ echo " ================================================================"
49+ echo " Load Google Container Registry configuration parameters $( date) ."
50+
51+ if [[ -f " ${KOKORO_GFILE_DIR:- } /gcr-configuration.sh" ]]; then
52+ source " ${KOKORO_GFILE_DIR:- } /gcr-configuration.sh"
53+ fi
54+
4855if [[ -z " ${PROJECT_ROOT+x} " ]]; then
4956 readonly PROJECT_ROOT=" $( cd " $( dirname " $0 " ) /../../.." ; pwd) "
5057fi
@@ -57,13 +64,6 @@ cd "${PROJECT_ROOT}"
5764echo " ================================================================"
5865echo " Building with ${NCPU} cores $( date) on ${PWD} ."
5966
60- echo " ================================================================"
61- echo " Load Google Container Registry configuration parameters $( date) ."
62-
63- if [[ -f " ${KOKORO_GFILE_DIR:- } /gcr-configuration.sh" ]]; then
64- source " ${KOKORO_GFILE_DIR:- } /gcr-configuration.sh"
65- fi
66-
6767echo " ================================================================"
6868echo " Setup Google Container Registry access $( date) ."
6969if [[ -f " ${KOKORO_GFILE_DIR:- } /gcr-service-account.json" ]]; then
Original file line number Diff line number Diff line change 4646 exit 1
4747fi
4848
49+ echo " ================================================================"
50+ echo " Load Google Container Registry configuration parameters $( date) ."
51+
52+ if [[ -f " ${KOKORO_GFILE_DIR:- } /gcr-configuration.sh" ]]; then
53+ source " ${KOKORO_GFILE_DIR:- } /gcr-configuration.sh"
54+ fi
55+
4956if [[ -z " ${PROJECT_ROOT+x} " ]]; then
5057 readonly PROJECT_ROOT=" $( cd " $( dirname " $0 " ) /../../.." ; pwd) "
5158fi
@@ -58,13 +65,6 @@ cd "${PROJECT_ROOT}"
5865echo " ================================================================"
5966echo " Building with ${NCPU} cores $( date) on ${PWD} ."
6067
61- echo " ================================================================"
62- echo " Load Google Container Registry configuration parameters $( date) ."
63-
64- if [[ -f " ${KOKORO_GFILE_DIR:- } /gcr-configuration.sh" ]]; then
65- source " ${KOKORO_GFILE_DIR:- } /gcr-configuration.sh"
66- fi
67-
6868echo " ================================================================"
6969echo " Setup Google Container Registry access $( date) ."
7070if [[ -f " ${KOKORO_GFILE_DIR:- } /gcr-service-account.json" ]]; then
You can’t perform that action at this time.
0 commit comments