DescartesResearch / TeaStore

A micro-service reference test application for model extraction, cloud management, energy efficiency, power prediction, single- and multi-tier auto-scaling
https://se.informatik.uni-wuerzburg.de
Apache License 2.0
118 stars 136 forks source link

Only deploy if flag $DEPLOY is set #256

Closed DaGeRe closed 7 months ago

DaGeRe commented 11 months ago

When trying to build the TeaStore images locally, by running

mvn clean package
cd tools/
./build_docker.sh

This results in errors like

ERROR: failed to solve: teastore-base:latest: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed mybuilder removed

for every image that depends on teastore-base.

To be able to build the TeaStore locally for testing purposes, I recommend introducing a flag $DEPLOY, and to only execute the push and the multi platform built if this flag is set.