cloud-native-starter icon indicating copy to clipboard operation
cloud-native-starter copied to clipboard

Impact of "IBM Cloud Container Registry is Deprecating Container Builds"

Open thomassuedbroecker opened this issue 5 years ago • 5 comments

We need to verify the impact of "IBM Cloud Container Registry is Deprecating Container Builds". This could have impact for our bash scripts and other automations we made for the workshops.

https://www.ibm.com/cloud/blog/announcements/ibm-cloud-container-registry-deprecating-container-builds?_ga=2.151918137.1436322187.1603873424-1354875151.1603726778

thomassuedbroecker avatar Oct 28 '20 08:10 thomassuedbroecker

ibmcloud cr build is used in these scripts:

  • iks-scripts/deploy-articles-java-jee.sh
  • iks-scripts/deploy-authors-nodejs.sh
  • iks-scripts/deploy-web-api-java-jee-v2.sh
  • iks-scripts/deploy-web-api-java-jee.sh
  • iks-scripts/deploy-web-app-vuejs.sh
  • reactive/iks-scripts/deploy-articles-reactive-postgres.sh
  • reactive/iks-scripts/deploy-authors.sh
  • reactive/iks-scripts/deploy-web-api-reactive.sh
  • reactive/iks-scripts/deploy-web-app-reactive.sh

and also referenced in the documentation here:

  • authors-java-jee/README.md
  • workshop/02-container.md
  • workshop/06-java-development.md
  • workshop-one-service/4-kubernetes.md

Seems like we need to replace it with local docker build, docker tag, and docker push. This in turn requires local installation of Docker. Alternative: look into Code Engines build options.

Harald-U avatar Oct 28 '20 20:10 Harald-U

@Harald-U Thanks for the list. Let's see how to convert the existing commands and scripts in the workshops.

thomassuedbroecker avatar Oct 29 '20 09:10 thomassuedbroecker

@thomassuedbroecker I have updated the deploy scripts in iks-scripts, tested, works. Next I'll do the reactive scripts :-) Local Docker is a requirement anyways, ic cr build requires local docker installed.

Harald-U avatar Nov 02 '20 15:11 Harald-U

There are scripts for reactive but the instructions (https://github.com/IBM/cloud-native-starter/blob/master/reactive/README.md#reactive-java-microservices) point to a toolchain: "Server-side Setup in IBM Cloud Kubernetes Service"(https://github.com/nheidloff/cloud-native-starter-reactive-toolchain). The toolchain definition will probably need rework once the deployment method for IKS changes. I wouldn't modify the scripts in reactive/iks-scripts, I would rather remove them. Your decision :-D

Harald-U avatar Nov 02 '20 15:11 Harald-U

@Harald-U Thanks for your help :-)

thomassuedbroecker avatar Nov 03 '20 08:11 thomassuedbroecker