This is a simple project that help when you want check your GitLab CI File
Pre-Requisites | Description | Environment Variables | How to contribute
Starting with git clone:
git clone --depth 1 https://github.com/lpmatos/gitlab-ci-lint.git -b master
This will give access on your local machine to this project.
Pull requests are welcome. If you'd like to support the work and buy me a ☕, I greatly appreciate it!
To this project you yeed:
gem build .\gitlab.gemspec
gem install .\gitlab-ci-lint-0.1.2.gem
gem push .\gitlab-ci-lint-0.1.2.gem
Name | Description |
---|---|
GITLAB_ENDPOINT | GitLab API Lint Endpoint |
GITLAB_CI_FILE | GitLab CI File |
VALUES | Values File |
LOG_FILE | Log File |
Steps to build the Docker Image.
docker image build -t <IMAGE_NAME> -f <PATH_DOCKERFILE> <PATH_CONTEXT_DOCKERFILE>
docker image build -t <IMAGE_NAME> . (This context)
Steps to run the Docker Container.
docker container run -d -p <LOCAL_PORT:CONTAINER_PORT> <IMAGE_NAME> <COMMAND>
docker container run -it --rm --name <CONTAINER_NAME> -p <LOCAL_PORT:CONTAINER_PORT> <IMAGE_NAME> <COMMAND>
winpty docker.exe container run -it --rm <IMAGE_NAME> <COMMAND>
For more information, access the Docker documentation or this.
Build and run a docker-compose.
docker-compose up --build
Down all services deployed by docker-compose.
docker-compose down
Down all services and delete all images.
docker-compose down --rmi all
gitlab_ci_lint --help - Helper
👤 Hey!! If you like this project or if you find some bugs feel free to contact me in my channels:
- Linktree: https://linktr.ee/lpmatos
To check the change history, please access the CHANGELOG.md file.
This repository is a study project, therefore, it will not always be maintained 👻.
Made with 💜 by [me](https://github.com/lpmatos) 👋 inspired on [readme-md-generator](https://github.com/kefranabg/readme-md-generator)