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

Update monit tools GH pipeline #238

Merged
merged 1 commit into from
Sep 12, 2023
Merged

Conversation

nikodemas
Copy link
Member

We got an issue on our previous release (see cms-sw/cmsdist#8682 (comment)).

Therefore, here is a fix suggested by @vkuznet:

to fix this issue you should change CI/CD workflow files which build go tools to
build their static executable.

go build -o monit monit.go

This command by default builds shared version of the executable. To make static
version you should change it to

go build -o monit monit.go -s -w -extldflags -static

Then, the new executable will no longer depends on specific GLIBC version.

@nikodemas nikodemas merged commit 4bb1b99 into dmwm:master Sep 12, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant