File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,12 @@ setup: setup-trivy setup-deploy-tools
73
73
pip install pipenv
74
74
PIP_IGNORE_INSTALLED=1 pipenv install --dev --deploy --ignore-pipfile
75
75
76
+ # download and install a few ibm cloud cli tools
77
+ curl -fsSL https://clis.cloud.ibm.com/install/linux | sh
78
+ ibmcloud -v
79
+ ibmcloud plugin install container-service -f
80
+ ibmcloud plugin install container-registry
81
+
76
82
.PHONY : start-local-test-db
77
83
start-local-test-db : stop-local-test-db
78
84
docker run -p 54320:5432 -d --name $(TEST_DB_CONTAINER_NAME ) -e POSTGRES_HOST_AUTH_METHOD=trust postgres:10
@@ -154,6 +160,9 @@ endif
154
160
@ibmcloud login --apikey $(IBM_CLOUD_API_KEY) -a https://cloud.ibm.com -r $(IBM_CLOUD_REGION)
155
161
# login to the docker registry
156
162
@echo $(IBM_CLOUD_API_KEY) | docker login -u iamapikey --password-stdin $(CONTAINER_REGISTRY)
163
+ # login to cr and set region
164
+ @ibmcloud cr region-set global
165
+ @ibmcloud cr login
157
166
158
167
.PHONY : build-images
159
168
build-images :
You can’t perform that action at this time.
0 commit comments