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

Missing version tags for docker-outside-of-docker #1122

Closed
rubensa opened this issue Sep 13, 2024 · 13 comments
Closed

Missing version tags for docker-outside-of-docker #1122

rubensa opened this issue Sep 13, 2024 · 13 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rubensa
Copy link
Contributor

rubensa commented Sep 13, 2024

Looks like last docker-outside-of-docker tag is feature_docker-outside-of-docker_1.3.2 (for version 1.3.2 from January).

Following versions (1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.5.0) have not been tagged (see: https://github.com/devcontainers/features/commits/main/src/docker-outside-of-docker/devcontainer-feature.json).

Could you, please, add tags for the missing releases (so it is easy to get the code at specific version)? (and keep that tagging for future releases, like this).

@rubensa
Copy link
Contributor Author

rubensa commented Sep 13, 2024

Looks like the same is happening for other features.

For example, last tag for node is feature_node_1.4.0 where the last code is 1.6.0.

@rubensa
Copy link
Contributor Author

rubensa commented Sep 13, 2024

Looks like the tagging support was introduced in devcontainers/action version v1.3.0 but it's not working since last February so might me a bug silently introduced in latest version v1.4.2 released on Feb 16 ?

@rubensa
Copy link
Contributor Author

rubensa commented Sep 13, 2024

Looks like automatic tagging is failing. For example, in last release execution, in the log there is the message:

Adding repo tag 'feature_desktop-lite_1.2.5'...
Warning: Failed to automatically add repo tag, manually tag with:   'git tag feature_desktop-lite_1.2.5 b0667c5589bfe1b382c49392c58fe4c9433f1fde'

@rubensa
Copy link
Contributor Author

rubensa commented Sep 13, 2024

The message comes from here.

@rubensa
Copy link
Contributor Author

rubensa commented Sep 13, 2024

As far as I can see, the culprit might be the replacement from jsonc-parser to json5 that might be, somehow, making the call with octokit to create the tag, to fail.

@bryanlittlefield
Copy link

Seeing the same issues on our end also. This has become more critical as our team is navigating around Issue #1017

@bamurtaugh
Copy link
Member

Thanks all for flagging. @joshspicer would you mind taking a look, given your expertise in devcontainers/action?

@joshspicer
Copy link
Member

joshspicer commented Oct 1, 2024

As far as I can see, the culprit might be the replacement from jsonc-parser to json5 that might be, somehow, making the call with octokit to create the tag, to fail.

Hm, not clear to me why we moved away from jsonc-parser (which is used extensively within dev container tooling and is definitely tolerant of comments, per that PR's goal).

Looks like there was just once instance of using the built-in JSON parser devcontainers/action#210 (comment), which I imagine should've been the only change in that PR🤔

@joshspicer joshspicer added the bug Something isn't working label Oct 1, 2024
@joshspicer joshspicer self-assigned this Oct 4, 2024
@joshspicer joshspicer added this to the October 2024 milestone Oct 4, 2024
@joshspicer
Copy link
Member

I forked the latest build of the extension and ran it against a demo repo - tagging worked fine. I suspect this is a configuration issue on this repo

@joshspicer
Copy link
Member

Comparing the two runs, it appears to be a permissions issue with the GITHUB_TOKEN:

Image
Image

joshspicer added a commit that referenced this issue Oct 4, 2024
I suspect this will fix the git tagging issue reported in #1122
joshspicer added a commit that referenced this issue Oct 7, 2024
I suspect this will fix the git tagging issue reported in #1122
@rubensa
Copy link
Contributor Author

rubensa commented Oct 18, 2024

Just checked and seems tags are being generated again.

@bamurtaugh Should it be possible to add the "old" missing tags?

@bamurtaugh
Copy link
Member

Thanks for the question @rubensa - @joshspicer it'd be awesome to get your insights!

@joshspicer
Copy link
Member

We don't have any automated tooling for this and as it's one-off it is probably faster to update the tags manually. Are you (and other folks reading this) interested primarily in the tags for docker-outside-of-docker?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants