Questions tagged git-post-receive

Explore the latest questions and answers asked by our top developers.

Latest GitLab job.log not found by post-receive script

After writing a post-receive script that looks for the latest job.log file that is created by the GitLab Runner CI, I’m noticing that the post-receive script gets terminated before it finds the latest job.log file. In particular it stops after a sleep 10 command inside a while loop. Additionally, the GitLab Runner gives a 4:Deadline […]

By A T
Published
Categorised as bash, docker, git-post-receive, gitlab, gitlab-ci Tagged , , , ,

Why is this GitLab post-receive script terminated?

After writing a post-receive script that looks for the latest job.log file that is created by the GitLab Runner CI, I’m noticing that the post-receive script gets terminated before it finds the latest job.log file. In particular it stops after a sleep 10 command inside a while loop. Additionally, the GitLab Runner gives a 4:Deadline […]

By A T
Published
Categorised as bash, docker, git-post-receive, gitlab, gitlab-ci Tagged , , , ,

Permitting Git to write to a file outside of Docker container & alternatives

Objective: Git repo of example.com [Gitea Docker container] git-checkouts files to /docker/gitea/example.com, then moves files into locally-hosted website [nginx Docker container] /docker/www/example.com. My setup: Files are pushed to Gitea repo example.com Gitea instance with post-receive & git-checkout outputs to /docker/gitea/example.com directory (!) Post-receive then executes movefiles.sh to move website data from /docker/gitea/example.com to /docker/www/example.com This […]

By jumacs
Published
Categorised as docker, git, git-post-receive, gitea, move Tagged , , , ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq