Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't build unconfigured branches #20

Open
sbeitzel opened this issue Mar 31, 2020 · 0 comments
Open

Don't build unconfigured branches #20

sbeitzel opened this issue Mar 31, 2020 · 0 comments
Assignees

Comments

@sbeitzel
Copy link
Member

When a commit happens on a branch that hasn't been set up on the build server, the build server still tries to build the branch. However, because the directory doesn't exist, the script fails. This will prevent other commits from getting built.

Example error log:

Mar 31 15:25:32 ip-172-30-0-31 triggercheck[11868]: changed directory to /var/zuleika/repos/g4_march_in_off
Mar 31 15:25:32 ip-172-30-0-31 triggercheck[11868]: fatal: not a git repository (or any of the parent directories): .git
Mar 31 15:25:32 ip-172-30-0-31 triggercheck[11868]: make: *** No rule to make target 'sync'.  Stop.
Mar 31 15:25:32 ip-172-30-0-31 triggercheck[11868]: Use of uninitialized value $message in concatenation (.) or string at /var/zuleika/mtbin/triggercheck line 58.
Mar 31 15:25:32 ip-172-30-0-31 systemd[1]: triggercheck.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Mar 31 15:25:32 ip-172-30-0-31 systemd[1]: triggercheck.service: Failed with result 'exit-code'.
Mar 31 15:25:32 ip-172-30-0-31 systemd[1]: Failed to start Checks for change notification trigger files. Part of the music tools pipeline..
@sbeitzel sbeitzel self-assigned this Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant