Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/juliocesarscheidt/gitlab-cicd-demo


https://github.com/juliocesarscheidt/gitlab-cicd-demo

aws cicd gitlab gitlab-terraform mongodb nodejs pipeline s3 s3-bucket terraform

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# gitlab-cicd-demo

In order to run the pipeline, set the following variables on CI/CD env:

```bash
# aws
export AWS_ACCESS_KEY_ID="AWS_ACCESS_KEY_ID"
export AWS_SECRET_ACCESS_KEY="AWS_SECRET_ACCESS_KEY"
export AWS_REGION="us-east-1"
# mongo
export MONGO_URI="mongodb+srv://:@/?maxPoolSize=1&retryWrites=true&w=majority"
export MONGO_DATABASE="bitcoin"
# s3
export S3_BUCKET_NAME="bitcoin-bucket-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 12 | tr '[:upper:]' '[:lower:]' | head -n 1)"
```

## Application architecture
![Architecture](./architecture/gitlab-cicd-demo.drawio.png)