Skip to content

Commit 67877da

Browse files
author
jmccormick2001
committed
add simple pre-pull script for pulling down crunchy containers that the operator is dependent upon
1 parent fb9b58b commit 67877da

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

bin/pre-pull-crunchy-containers.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/bash
2+
3+
# Copyright 2017-2018 Crunchy Data Solutions, Inc.
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
CCP_IMAGE_PREFIX=crunchydata
17+
CCP_IMAGE_TAG=centos7-10.5-2.1.0
18+
19+
for CNAME in crunchy-postgres crunchy-collect crunchy-grafana crunchy-prometheus crunchy-backup crunchy-backrest-restore
20+
do
21+
docker pull $CCP_IMAGE_PREFIX/$CNAME:$CCP_IMAGE_TAG
22+
done

0 commit comments

Comments
 (0)