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

Bump pipeline from 1.38.0 to 1.39.0 #744

Merged
merged 2 commits into from
May 22, 2024
Merged

Bump pipeline from 1.38.0 to 1.39.0 #744

merged 2 commits into from
May 22, 2024

Conversation

paketo-bot
Copy link
Member

@paketo-bot paketo-bot commented May 13, 2024

Bumps pipeline from 1.38.0 to 1.39.0.

Release Notes

🐞 Bug Fixes

⛏ Dependency Upgrades

🚧 Tasks

@paketo-bot paketo-bot requested review from a team as code owners May 13, 2024 13:56
@paketo-bot paketo-bot added semver:patch A change requiring a patch version bump type:task A general task labels May 13, 2024
Comment on lines -5 to +8
GOOS="linux" GOARCH="amd64" go build -ldflags='-s -w' -tags osusergo -o "linux/amd64/bin/helper" "$GOMOD/cmd/helper"
GOOS="linux" GOARCH="arm64" go build -ldflags='-s -w' -tags osusergo -o "linux/arm64/bin/helper" "$GOMOD/cmd/helper"
GOOS="linux" GOARCH="amd64" go build -ldflags='-s -w' -tags osusergo -o linux/amd64/bin/main "$GOMOD/cmd/main"
GOOS="linux" GOARCH="arm64" go build -ldflags='-s -w' -tags osusergo -o linux/arm64/bin/main "$GOMOD/cmd/main"
GOOS="linux" GOARCH="amd64" go build -ldflags='-s -w' -o "linux/amd64/bin/helper" "$GOMOD/cmd/helper"
GOOS="linux" GOARCH="arm64" go build -ldflags='-s -w' -o "linux/arm64/bin/helper" "$GOMOD/cmd/helper"
GOOS="linux" GOARCH="amd64" go build -ldflags='-s -w' -o linux/amd64/bin/main "$GOMOD/cmd/main"
GOOS="linux" GOARCH="arm64" go build -ldflags='-s -w' -o linux/arm64/bin/main "$GOMOD/cmd/main"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a safe change.

When cgo is available, and the required routines are implemented in libc for a particular platform, cgo-based (libc-backed) code is used. This can be overridden by using osusergo build tag, which enforces the pure Go implementation.

So we were adding this to force using pure go, not cgo, but we are doing that for CI builds here so I think we should be safe. The only exception would be when building locally.

Now that we control build.sh in pipeline-builder, we may want to consider adding export CGO_ENABLED=0 to the build.sh script and removing it from CI so that things are more consistent outside of CI.

Bumps pipeline from 1.38.0 to 1.39.0.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@paketo-bot paketo-bot changed the title Bump pipeline from 1.38.0 to 1.38.0 Bump pipeline from 1.38.0 to 1.39.0 May 22, 2024
@dmikusa dmikusa merged commit fcbc90b into main May 22, 2024
5 checks passed
@dmikusa dmikusa deleted the update/pipeline branch May 22, 2024 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump type:task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants