no cache builds; dnf update -y; update parallel downloads
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Chris Hammer 2023-11-19 20:15:50 -05:00
parent 85e92d9f8c
commit 07b1c64282
3 changed files with 4 additions and 3 deletions

View File

@ -77,8 +77,8 @@ steps:
BUILD_PREFIX : "podman/images" BUILD_PREFIX : "podman/images"
BUILD_NAME : ansible-dev BUILD_NAME : ansible-dev
commands: commands:
- echo "docker build -t $REGISTRY/$BUILD_PREFIX/$BUILD_NAME:$CI_BUILD_NUMBER ." - echo "docker build --no-cache -t $REGISTRY/$BUILD_PREFIX/$BUILD_NAME:$CI_BUILD_NUMBER ."
- docker build -t $REGISTRY/$BUILD_PREFIX/$BUILD_NAME:$CI_BUILD_NUMBER . - docker build --no-cache -t $REGISTRY/$BUILD_PREFIX/$BUILD_NAME:$CI_BUILD_NUMBER .
- name: docker_login - name: docker_login
environment: environment:

View File

@ -10,6 +10,7 @@ COPY conf/hosts /etc/hosts
COPY conf/dnf.conf /etc/dnf/dnf.conf COPY conf/dnf.conf /etc/dnf/dnf.conf
COPY python/requirements.txt /tmp/requirements.txt COPY python/requirements.txt /tmp/requirements.txt
RUN dnf update -y
RUN dnf install -y python3-pip git ansible-core python3-ansible-lint RUN dnf install -y python3-pip git ansible-core python3-ansible-lint
# && pip install pip --upgrade \ # && pip install pip --upgrade \
# && pip install -r /tmp/requirements.txt # && pip install -r /tmp/requirements.txt

View File

@ -4,4 +4,4 @@ installonly_limit=3
clean_requirements_on_remove=True clean_requirements_on_remove=True
best=True best=True
skip_if_unavailable=False skip_if_unavailable=False
max_parallel_downloads=10 max_parallel_downloads=20