Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/juliocesarscheidt/gitlab-cicd-demo
- Owner: juliocesarscheidt
- Created: 2022-06-05T19:13:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-01T16:03:21.000Z (11 months ago)
- Last Synced: 2024-02-02T18:04:49.973Z (11 months ago)
- Topics: aws, cicd, gitlab, gitlab-terraform, mongodb, nodejs, pipeline, s3, s3-bucket, terraform
- Language: HCL
- Homepage:
- Size: 163 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .gitlab/CODEOWNERS
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)