https://sonarcloud.io/dashboard?id=workshop-shoppingcart
cd tests/api.UnitTest/
dotnet test
cd ../../
cd tests/api.IntegrationTest/
dotnet test
cd ../../
docker build -t workshop-shoppingcart-api-test .
docker run --rm -e RUNNING_PROJECT=./tests/api.UnitTest/api.UnitTest.csproj workshop-shoppingcart-api-test
docker run --rm -e RUNNING_PROJECT=./tests/api.IntegrationTest/api.IntegrationTest.csproj workshop-shoppingcart-api-test
docker build -t workshop-shoppingcart-mysql . -f Dockerfile_mysql
docker run --rm --name=workshop-shoppingcart-mysql -p 3306:3306 workshop-shoppingcart-mysql
docker run --rm -v $(pwd)/data/Production:/liquibase/ -e "LIQUIBASE_URL=jdbc:mysql://docker.for.mac.localhost/workshop_shoppingcart" -e "LIQUIBASE_USERNAME=root" -e "LIQUIBASE_PASSWORD=1234" -e "LIQUIBASE_CHANGELOG=changelog.yml" webdevops/liquibase:mysql update
docker run --rm -v $(pwd)/data/UserAcceptanceTest:/liquibase/ -e "LIQUIBASE_URL=jdbc:mysql://docker.for.mac.localhost/workshop_shoppingcart" -e "LIQUIBASE_USERNAME=root" -e "LIQUIBASE_PASSWORD=1234" -e "LIQUIBASE_CHANGELOG=changelog.yml" webdevops/liquibase:mysql update
cd src/api/
docker build -t workshop-shoppingcart-api .
docker run --name workshop-shoppingcart-api -p 5001:5001 -e ConnectionString="server=docker.for.mac.localhost;userid=root;password=1234;database=workshop_shoppingcart;convert zero datetime=True;CHARSET=utf8;" workshop-shoppingcart-api
ASPNETCORE_ENVIRONMENT=Localhost dotnet run
cd src/ui/
docker build -t workshop-shoppingcart-ui .
docker run --name workshop-shoppingcart-ui -p 80:80 workshop-shoppingcart-ui
cd tests/api.AcceptanceTest/ newman run scenario-1.json
cd tests/ui.AcceptanceTest/
pybot --exclude "Not Implement" --variable URL:http://localhost .
docker run --rm -v
docker run --rm --name workshop-shoppingcart-ci-cd -u root -p 8080:8080 -v $(pwd)/jenkins-data:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock -v "$HOME":/home -e "BASE_PATH=$(pwd)/jenkins-data" jenkinsci/blueocean