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
Put this directory in your git project, then :
# Start act
sh run-ci-locally.sh
Once the CI has finished running locally, artifacts are available in the folder ./artifacts/<date>/
.
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 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