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

Fix docker image build workflows #1000

Closed
iameskild opened this issue Jan 18, 2022 · 3 comments · Fixed by #1001
Closed

Fix docker image build workflows #1000

iameskild opened this issue Jan 18, 2022 · 3 comments · Fixed by #1001
Assignees
Labels
area: CI/CD 👷🏽‍♀️ needs: review 👀 This PR is complete and ready for reviewing type: release 🏷 Items related to Nebari releases

Comments

@iameskild
Copy link
Member

Describe the bug

The JupyterLab docker image builds have been consistently failing for the past week or two.

https://github.com/Quansight/qhub/runs/4845380327?check_suite_focus=true#step:8:3189

@iameskild iameskild added this to the Release v0.4.0 milestone Jan 18, 2022
@iameskild iameskild changed the title [bug] Fix docker image build workflows Fix docker image build workflows Jan 18, 2022
@viniciusdc viniciusdc added area: CI/CD 👷🏽‍♀️ needs: investigation 🔍 Someone in the team needs to find the root cause and replicate this bug type: release 🏷 Items related to Nebari releases labels Jan 18, 2022
@viniciusdc viniciusdc self-assigned this Jan 18, 2022
@viniciusdc viniciusdc added the status: in progress 🏗 This task is currently being worked on label Jan 18, 2022
@viniciusdc
Copy link
Contributor

HI @iameskild, thanks for opening this issue. we install code-server during the postbuild phase for the Jupyterlab image, as it seems they made a release that checked their isntall.sh download URL. Then we start getting the following error:

#22 1.075 Installing vhttps://github.com/coder/code-server/releases/tag/v4.0.1 deb package from GitHub releases.
#22 1.077 
#22 1.079 + mkdir -p ~/.cache/code-server
#22 1.087 + curl -#fL -o ~/.cache/code-server/code-server_https://github.com/coder/code-server/releases/tag/v4.0.1_amd64.deb.incomplete -C - https://github.com/cdr/code-server/releases/download/vhttps://github.com/coder/code-server/releases/tag/v4.0.1/code-server_https://github.com/coder/code-server/releases/tag/v4.0.1_amd64.deb
#22 1.219 #=#=#                                                                         

######################################################################## 100.0%##O#- #                                                                       
curl: (22) The requested URL returned error: 404 
#22 1.380 
#22 ERROR: process "/bin/bash -c /opt/jupyterlab/postBuild" did not complete successfully: exit code: 22

I will make a PR updating it 👍

@viniciusdc viniciusdc added needs: review 👀 This PR is complete and ready for reviewing and removed needs: investigation 🔍 Someone in the team needs to find the root cause and replicate this bug status: in progress 🏗 This task is currently being worked on labels Jan 19, 2022
@viniciusdc
Copy link
Contributor

Another issue arises!! (good movie name sksks), it seems that our docker build action has a release yesterday which modified the behavior of handling the context attribute . It seems that they are handling Handlebars as default now, which on the other hand might be conflicting with our path ./*./{{ cookiecutter.repo_directory }}/image

@trallard trallard moved this to Needs Triage 🔍 in QHub Project Mangement 🚀 Jan 20, 2022
@trallard trallard moved this from Needs Triage 🔍 to In Progress 🏃🏽‍♀️ in QHub Project Mangement 🚀 Jan 20, 2022
@viniciusdc
Copy link
Contributor

As per #1003, we will start removing the dependency over cookie-cutter, which should impact the directory path name, mentioned above. For now, I will update the context path to ./qhub/template/*/image

Repository owner moved this from In Progress 🏃🏽‍♀️ to Done 💪🏾 in QHub Project Mangement 🚀 Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: CI/CD 👷🏽‍♀️ needs: review 👀 This PR is complete and ready for reviewing type: release 🏷 Items related to Nebari releases
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants