Files
factory/doc/adr/03_cicd_gitea_action_argocd.md

1.3 KiB

Bases

Gitea Action

Commande pour executer en local les workflows dans un projet gitea

docker run -w /arcodange/code -v /var/run/docker.sock:/var/run/docker.sock -v "$PWD":/arcodange/code --rm -it --entrypoint='' --name gitea_runner gitea/act_runner:latest act_runner exec

Exemple:

$> docker run -w /arcodange/code -v "$PWD":/arcodange/code --rm -it --entrypoint='' --name gitea_runner gitea/act_runner:latest act_runner exec --list

INFO[0000] Preparing plan with all jobs                 
Stage  Job ID                 Job name               Workflow name       Workflow file     Events
0      Explore-Gitea-Actions  Explore-Gitea-Actions  Gitea Actions Demo  dockerimage.yaml  push

$> docker run -w /arcodange/code -v /var/run/docker.sock:/var/run/docker.sock -v "$PWD":/arcodange/code --rm -it --entrypoint='' --name gitea_runner gitea/act_runner:latest act_runner exec -j "Explore-Gitea-Actions"

INFO[0000] Using the only detected workflow event: push 
INFO[0000] Planning job: Explore-Gitea-Actions          
INFO[0000] cache handler listens on: http://172.17.0.3:37319 
INFO[0000] Start server on http://172.17.0.3:34567      
[Gitea Actions Demo/Explore-Gitea-Actions] 🚀  Start image=gitea/runner-images:ubuntu-latest
...

Argo CD