-
Notifications
You must be signed in to change notification settings - Fork 22
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
build: Add devcontainer #117
build: Add devcontainer #117
Conversation
I'm working on adding documentation. @mugdha-adhav @vadasambar @gesarki If any of you are familiar with/use VSCode, could you help with early testing for this and providing feedback, if any? Would be good to know if people would benefit from this, especially considering the differences of - Please consider this "alpha" state feature. I'm actively iterating on this. 😅 You should be able to
|
a175043
to
d923e35
Compare
I've tested this with @mugdha-adhav There's a pre-requisite to this dev container, we'll have to pre-build the dev container image. Now ideally we should have a separate repository for the pre-build files. Then we'd have the files for using dev container as in this PR. Currently I have a branch in my fork - mbtamuli#2. That is where I'm building the image We can still keep the pre-build files in the repository, but the repository structure could become confusing.
Let me know what you think. |
TBH, it doesn't make much sense to me to create a new repository just for maintaining these files.
We could add more notes if needed to add more clarity. Also these files are hidden, so most of the times they would be ignored unless we need to fix the dev-containers themselves, in which case the documentation would come in handy. |
📝 Got it. Okay, I'll update this PR with all the necessary changes and get this PR ready for review. |
d923e35
to
1bf9ad7
Compare
@mugdha-adhav I'll need some help with this PR. I'm trying to create the image - You'll need to
|
Also, is there any reason to stick to Go version 1.19? If not, I'll take the opportunity to update any references to Go version 1.21 |
I don't see a reason to stop/pause the upgrade. Just need to ensure that the go dependencies are compatible with the newer version. Also the current node-image that we are building and using in the CI for containerD and crio is for k8s v1.25. Hence the dependencies were pinned to v1.25. We should have a separate milestone for supporting and deprecating k8s versions. |
Sure. Will keep in mind and add the upgrades.
Not tackling k8s upgrades. I see you've reacted to my earlier comment - #117 (comment), please ping me once it's done. |
@mbtamuli I have created the package and provided GitHub actions with the Also appreciate the detailed write-up. JFYI, we needed to create a PAT with the required scope for packages (default one only is scoped to |
@mugdha-adhav No, it doesn't seem to be working. Also, I don't see the package. Maybe you need to make it public? https://github.com/orgs/warm-metal/packages?repo_name=csi-driver-image |
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
9ea61ce
to
c35706c
Compare
What do you mean? Did you create a PAT for running |
Yes, I did it by creating a token. And verified that we could also do it using |
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
…ndys shit Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
Signed-off-by: Mriyam Tamuli <[email protected]>
@mugdha-adhav Seems like a workflow run on PR from a fork won't have the right access to publish a package for the Workflow. Please check the run from my repository. I created a PR against my own repo to simulate the action. Let's try merging this action. I believe it should work. If not, I can raise a follow up PR if it needs fixing. Related reading: https://github.com/orgs/community/discussions/69331 |
Thanks for updating the docs as well! |
This is a draft PR in relation to #96.