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

sources: add empty file to placate twoliter #4

Merged
merged 3 commits into from
Dec 12, 2024

Conversation

jmt-lab
Copy link
Contributor

@jmt-lab jmt-lab commented Dec 12, 2024

Description of changes:
Add empty sources folder

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

@jmt-lab jmt-lab requested review from rpkelly and ginglis13 December 12, 2024 18:34
Copy link
Contributor

@cbgbt cbgbt left a comment

Choose a reason for hiding this comment

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

Such files are nice to add to README.md since GitHub renders those, but not gonna block on that!

@ginglis13
Copy link
Contributor

ginglis13 commented Dec 12, 2024

before the force push, CI was failing with

/home/runner/work/bottlerocket-kernel-kit/bottlerocket-kernel-kit/build/tools/docker-go --module-path /home/runner/work/bottlerocket-kernel-kit/bottlerocket-kernel-kit/sources/ecs-gpu-init --sdk-image public.ecr.aws/bottlerocket/bottlerocket-sdk:v0.50.0 --go-mod-cache /home/runner/work/bottlerocket-kernel-kit/bottlerocket-kernel-kit/.gomodcache/pkg/mod --command go list -mod=readonly ./... >/dev/null && go mod vendor
pattern ./...: directory prefix . does not contain main module or its selected dependencies

So it looks like there's more hackiness going on with twoliter and the sources dir

https://github.com/bottlerocket-os/bottlerocket-kernel-kit/actions/runs/12302633960/job/34335926119?pr=4

Copy link
Contributor

@ginglis13 ginglis13 left a comment

Choose a reason for hiding this comment

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

LGTM on green

@jmt-lab jmt-lab force-pushed the develop branch 4 times, most recently from 2887eec to bd6d597 Compare December 12, 2024 19:06
Comment on lines 57 to 59
allow-git = [
# The settings SDK is currently provided as a git dependency,
# We will allow it as an exception until the following is resolved:
# https://github.com/bottlerocket-os/bottlerocket-settings-sdk/issues/18
"https://github.com/bottlerocket-os/bottlerocket-settings-sdk",
]
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need this for some reason?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah no i'll clean it up

Comment on lines +1 to +2
This is a temporary workaround for twoliter who currently expects a sources
directory to exist in order for the docker volume mounts to work in buildkit
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a backlog issue in Twoliter to avoid needing this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll be adding it, we had a regression on a bug fix I did.

@ginglis13 ginglis13 merged commit 5413f51 into bottlerocket-os:develop Dec 12, 2024
2 checks passed
rpkelly pushed a commit to rpkelly/bottlerocket-kernel-kit that referenced this pull request Dec 20, 2024
sources: add empty file to placate twoliter
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.

5 participants