-
Notifications
You must be signed in to change notification settings - Fork 81
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
Update to python 3.8 in Cypress workflow #639
Conversation
👍 Fixes ...
during the |
So, We could pull from that repo instead of hardcoding our own version, the repo was updated in pulp/pulp-oci-images#103 so it would have been up to date. The problem is that the image also hardcodes a couple of versions which are wrong for us: -FROM pulp/pulp-ci-centos:latest
+# default podman config on debian doesn't assume docker.io if no registry specified
+FROM docker.io/pulp/pulp-ci-centos:latest
+# we don't need any of these, definitely not galaxy_ng_version
-ARG PULPCORE_VERSION=">=3.11.2,<3.12"
-ARG PULP_CONTAINER_VERSION=">=2.5.2,<2.6"
-ARG PULP_ANSIBLE_VERSION="==0.7.3"
-ARG GALAXY_NG_VERSION="==4.3.1"
RUN pip3 install --upgrade \
+ "click<8.0" # might no longer be needed?
requests \
- pulpcore${PULPCORE_VERSION} \
- pulp-container${PULP_CONTAINER_VERSION} \
- pulp-ansible${PULP_ANSIBLE_VERSION} \
- galaxy-ng${GALAXY_NG_VERSION}
+ git+https://github.com/ansible/galaxy_ng.git@${{ env.SHORT_BRANCH }} # run galaxy master, stable-4.2 or stable-4.3
RUN ln /usr/local/lib/python3.8/site-packages/pulp_ansible/app/webserver_snippets/nginx.conf /etc/nginx/pulp/pulp_ansible.conf
RUN ln /usr/local/lib/python3.8/site-packages/pulp_container/app/webserver_snippets/nginx.conf /etc/nginx/pulp/pulp_container.conf
RUN ln /usr/local/lib/python3.8/site-packages/galaxy_ng/app/webserver_snippets/nginx.conf /etc/nginx/pulp/galaxy_ng.conf So, we may be able to pull that file, run a script to update it for our needs and then use the updated version. Another option might be to |
Beep beep boop! Somebody's just asked me to create a backport of this pull request Please, expect to see further updates regarding my progress in updates If you think I'm experiencing problems, ping 🤖 @patchback |
Adding backport-4.3, to fix python version failures in 4.3 .. https://github.com/ansible/ansible-hub-ui/pull/672/checks?check_run_id=3123350899 |
Try re-adding the label. I just received a Sentry error notification. Not sure what happened but it seems like |
Beep beep boop! Somebody's just asked me to create a backport of this pull request Please, expect to see further updates regarding my progress in updates If you think I'm experiencing problems, ping 🤖 @patchback |
Weird, it happened again. I wonder if somebody's been messing with the permissions lately... |
It could be a GH problem or they could change something in the permission model. Try another PR to see if it happens again maybe... |
Please postpone this for 15-30 min, I think I've found the root of the issue. And also I noticed another problem in the code but I want to trigger this flow after the fix once again. |
No problem :) |
Could you re-apply the label so I could see if I've properly fixed the exception? (there was a silly "tuple doesn't have a replace method" mistake while producing a log message and it wasn't logged properly because of this) |
Beep beep boop! Somebody's just asked me to create a backport of this pull request Please, expect to see further updates regarding my progress in updates If you think I'm experiencing problems, ping 🤖 @patchback |
Urgh.. need another patch. I'll keep you posted. |
Debugging in production be like: Please, retry again... After this attempt, hopefully the underlying problem will show up in the bot comment. It is indeed a permission error:
|
I just want this last test before requesting the proper permission on the App side. |
Backport to stable-4.3: 💔 cherry-picking failed — conflicts found❌ Unknown conversion specifier d Backporting merged PR #639 into master
🤖 @patchback |
Ouch... Still, there's a problem. Need another patch. |
@himdel could you relabel once again? Funny how much time may pass until somebody hits a rare code branch 🤯. Also, an hour ago had no idea my bot was installed in this repo... |
Backport to stable-4.3: 💔 cherry-picking failed — could not push❌ Current GitHub App installation does not grant sufficient privileges for pushing to https://github.com/ansible/ansible-hub-ui.git. Lacking the underlying command output was: $ git --git-dir /tmp/ansible--ansible-hub-ui---stable-4.3---_5lw3yc_---PR-639.git/.git --work-tree /tmp/ansible--ansible-hub-ui---stable-4.3---_5lw3yc_---PR-639.git -c user.email=patchback@sanitizers.bot -c user.name=Patchback push --force-with-lease origin HEAD
[RETURN CODE]: 1
[OUTPUT]:
[STDERR]:
Backporting merged PR #639 into master
🤖 @patchback |
Heheh, it's everywhere :) And no worries, I too know the pains of debugging these things :) |
I guess I'll stop now. Even though there are more imporovements to do (like making stderr/stdout actually show up), I'll postpone this — the displayed note is useful enough already and I need to switch over to other tasks. |
@himdel the permissions are fixed now. If you retry, it should create a backport. |
Thanks for the update! :) In the meantime I've found out that we need to stay on python3.6 on that branch for now. |
Maybe you could trigger it just for the sake of a test (and then close the PR). |
Backport to stable-4.3: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply 00836c8 on top of patchback/backports/stable-4.3/00836c829d0f7851ec451fbf47f388a3bf2603db/pr-639 Backporting merged PR #639 into master
🤖 @patchback |
Ah, sure :) here it goes ^ :) (I guess that's no longer so helpful is it? :( ) Let me know if you want us to create/find a PR that touches a workflow and can be backported cleanly. |
That would be nice, if it's not too much of a hustle :) |
It may take a bit, but I think we'll be able to try with #642 once merged, I'll ping you |
Cypress workflow got broken by ansible/galaxy_ng#836
TODO: find a way to prevent it, if possible.