Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vfarcic/devops-toolkit


https://github.com/vfarcic/devops-toolkit

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/vfarcic/devops-toolkit)

# [The DevOps Toolkit Series](http://www.devopstoolkitseries.com)

```bash
make init

make dev

make build

export PROJECT_ID=vfarcic

export VERSION=5.1.0

export IMAGE_DH=vfarcic/devops-toolkit-series

export IMAGE_GCR=gcr.io/$PROJECT_ID/devops-toolkit-series

docker image build -t $IMAGE_DH .

docker image tag $IMAGE_DH $IMAGE_DH:$VERSION

docker image tag $IMAGE_DH $IMAGE_GCR:$VERSION

docker login

docker image push $IMAGE_DH

docker image push $IMAGE_DH:$VERSION

gcloud auth configure-docker

docker image push $IMAGE_GCR:$VERSION

gcloud run deploy \
devops-toolkit-series \
--image $IMAGE_GCR:$VERSION \
--region us-east1 \
--allow-unauthenticated \
--port 80 \
--concurrency 100 \
--platform managed \
--project $PROJECT_ID
```