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

Either re-enable or remove devcontainer GitHub Workflow #2415

Open
anaulin opened this issue May 23, 2024 · 0 comments
Open

Either re-enable or remove devcontainer GitHub Workflow #2415

anaulin opened this issue May 23, 2024 · 0 comments
Labels
🛠️ infrastructure ci, build, deploy, networking, etc.

Comments

@anaulin
Copy link
Member

anaulin commented May 23, 2024

I have manually disabled the build-publish-devcontainer.yml workflow because it has been failing for several weeks now, with the error:

8 [4/5] RUN su vscode -c "cd /tmp && bundle install --gemfile /tmp/Gemfile && sudo rm /tmp/Gemfile /tmp/.ruby-version"
#8 0.437 Your Ruby version is 3.3.1, but your Gemfile specified 3.3.0
#8 ERROR: process "/bin/sh -c su vscode -c \"cd /tmp && bundle install --gemfile /tmp/Gemfile && sudo rm /tmp/Gemfile /tmp/.ruby-version\"" did not complete successfully: exit code: 18
------
 > [4/5] RUN su vscode -c "cd /tmp && bundle install --gemfile /tmp/Gemfile && sudo rm /tmp/Gemfile /tmp/.ruby-version":
0.437 Your Ruby version is 3.3.1, but your Gemfile specified 3.3.0

(example failed run: https://github.com/zinc-collective/convene/actions/runs/9178855810/job/25239670828)

It seems like the base image FROM mcr.microsoft.com/devcontainers/ruby:3.3 now contains a Ruby version that does not fit our app's current version. Looking at the tags available at https://hub.docker.com/_/microsoft-devcontainers-ruby, I don't see a way to pin the base devcontainer to have the correct version of Ruby.

Since nobody is currently using this devcontainer, I figured it is easiest to disable the workflow for now, until it can be fixed, or until we decide to remove it (since I note we have tripped on this workflow before, e.g. see #2300).

This at least will make our build green on main.

@anaulin anaulin added the 🛠️ infrastructure ci, build, deploy, networking, etc. label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠️ infrastructure ci, build, deploy, networking, etc.
Projects
None yet
Development

No branches or pull requests

1 participant