Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 1 KB

README.md

File metadata and controls

53 lines (41 loc) · 1 KB

Test CI/CD pipeline on the host locally

Prerequisite

Download & install act on your local machine (this step is done in the local CI script).

curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash

Test CI/CD

Put this directory in your git project, then :

# Start act
sh run-ci-locally.sh

Results analysis

Once the CI has finished running locally, artifacts are available in the folder ./artifacts/<date>/.

Local registry

It is possible to start a local docker registry running on port 5555 by adding -r flag on script run-ci-locally.sh. For more details, see ./registry/docker-compose.registry.yml.

Runner

Runner docker image can be customized in ./runners/Dockerfile, by default it provides :

  • docker
  • nodejs
  • act
  • github-cli
  • golang-go
  • helm
  • helm-docs
  • k9s
  • kind
  • krew
  • kubectl
  • kubectx
  • kubens
  • kustomize
  • minio-client
  • rclone
  • scw
  • terraform
  • trivy
  • vault
  • yq
  • tools for cypress