-
Notifications
You must be signed in to change notification settings - Fork 99
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
unexpected error when getting available versions of collection... community.general #638
Comments
I was seeing this on my RHEL7 Jenkins build agent... I'm going to try and see if I can replicate this issue on my local workstation as well. |
Reproduced on my local development box:
|
Tried making a venv with
I also updated my "execution-environment.yml" to use version 1: ---
version: 1
dependencies:
galaxy: requirements.yml
additional_build_steps:
prepend: |
RUN pip3 install --upgrade pip setuptools The output using ansible-builder 1.2.0 seems the same as for v3.0.0.
|
WHOOPS, I am just now realizing that I am using python3.8, and the latest ansible-builder (3.0.0) doesn't support python 3.8. 🤦♂️ I will go switch to a newer version of python for my venv and see what happens. |
@ryeleo images:
base_image:
name: ghcr.io/ansible-community/community-ee-minimal:latest or for v1: build_arg_defaults:
EE_BASE_IMAGE: ghcr.io/ansible-community/community-ee-minimal:latest Here are another helpful examples: |
@kurokobo, I am very grateful for your advice! You are correct, this did fix the issue! I do feel a fool for not having thought to look more into the ansible-builder documentation, which chats about the 'base image', and has a nice 'sample' showing how it can be done.
Thanks again! |
Thanks y'all for this ansible-builder project!
I'm guessing I may have done some something quirky now that I've ended up with the following error as I try to build a pretty simple project:
[WARNING]: Skipping Galaxy server https://galaxy.ansible.com/api/. Got an unexpected error when getting available versions of collection...
.My execution-environment.yml file:
My requirements.yml file:
My full command with output:
The text was updated successfully, but these errors were encountered: