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(ci): docker image build #581

Merged
merged 1 commit into from Jul 15, 2022
Merged

fix(ci): docker image build #581

merged 1 commit into from Jul 15, 2022

Conversation

olevski
Copy link
Member

@olevski olevski commented Jul 15, 2022

The docker image build is failing in other PRs with the message below.

Using the latest pip version fixes it. We also do not need to have gcc installed in the image.

#9 19.82   EnvCommandError
#9 19.82 
#9 19.82   Command ['/usr/local/bin/python', '-m', 'pip', 'install', '--no-deps', '-U', '/root/.cache/pypoetry/artifacts/f0/1a/11/cae8bb8eb76eda6204ce3bc7cda0fe8da4565ac1df13a98d35513cea60/cryptography-37.0.2-cp36-abi3-manylinux_2_24_x86_64.whl'] errored with the following return code 1, and output: 
#9 19.82   ERROR: cryptography-37.0.2-cp36-abi3-manylinux_2_24_x86_64.whl is not a supported wheel on this platform.
#9 19.82   WARNING: You are using pip version 20.1.1; however, version 22.1.2 is available.
#9 19.82   You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
#9 19.82   
#9 19.82 
#9 19.82   at /usr/local/lib/python3.7/site-packages/poetry/utils/env.py:1195 in _run
#9 20.08       1191│                 output = subprocess.check_output(
#9 20.09       1192│                     cmd, stderr=subprocess.STDOUT, **kwargs
#9 20.09       1193│                 )
#9 20.09       1194│         except CalledProcessError as e:
#9 20.09     → 1195│             raise EnvCommandError(e, input=input_)
#9 20.09       1196│ 
#9 20.09       1197│         return decode(output)
#9 20.09       1198│ 
#9 20.09       1199│     def execute(self, bin, *args, **kwargs):
#9 20.09 

/deploy #persist

@olevski olevski requested a review from a team as a code owner July 15, 2022 08:36
Copy link
Member

@lorenzo-cavazzi lorenzo-cavazzi left a comment

Choose a reason for hiding this comment

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

Lgtm!
I would deploy and run the acceptance tests before merging it

@olevski olevski temporarily deployed to renku-ci-gw-581 July 15, 2022 09:06 Inactive
@RenkuBot
Copy link
Contributor

You can access the deployment of this PR at https://renku-ci-gw-581.dev.renku.ch

@olevski olevski deployed to renku-ci-gw-581 July 15, 2022 11:38 Active
@olevski
Copy link
Member Author

olevski commented Jul 15, 2022

Manually checked that the deployment and gateway functions as expected.

@olevski olevski merged commit e3158b1 into master Jul 15, 2022
@olevski olevski deleted the fix-docker-build branch July 15, 2022 12:54
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.

None yet

3 participants