Skip to content

Commit

Permalink
Merge branch 'main' into old-galaxy-url
Browse files Browse the repository at this point in the history
  • Loading branch information
m-bull committed Jan 31, 2024
2 parents 0219b3f + b00f285 commit bcff4e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
1 change: 1 addition & 0 deletions ansible/kayobe-automation-run-tempest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
command: |-
docker run --rm --entrypoint=/usr/bin/rally-verify-wrapper.sh
-v "{{ results_path_remote.path }}:/home/rally/artifacts"
--name tempest
--env TEMPEST_OPENRC="$TEMPEST_OPENRC"
--env TEMPEST_CONCURRENCY="$TEMPEST_CONCURRENCY"
--env TEMPEST_VERSION="$TEMPEST_VERSION"
Expand Down
16 changes: 6 additions & 10 deletions docker/kayobe/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# rockylinux:9
ARG BASE_IMAGE="quay.io/centos/centos:stream8"
FROM ${BASE_IMAGE}
MAINTAINER "Will Szumski" <[email protected]>
LABEL maintainer="Will Szumski [email protected]"

# Unclear at this time if different environments will change
# control host bootstrap.
Expand All @@ -26,21 +26,17 @@ ENV container docker
# VOLUME [ "/sys/fs/cgroup" ]

# CMD ["/usr/sbin/init"]
# Note on CentOS 8 rsync-3.1.3-14.el8 install:
# Workaround rsync: --sparse-block=1024: unknown option
# Hopepfully they have fixed this issue before this old
# package is removed.
# See: https://bugzilla.redhat.com/show_bug.cgi?id=2043753

ARG BASE_IMAGE="quay.io/centos/centos:stream8"
RUN dnf install epel-release -y && \
dnf update -y --nobest && \
dnf install -y gcc git vim python3-pyyaml \
libffi-devel sudo which openssh-server e2fsprogs \
diffstat diffutils debootstrap procps-ng gdisk util-linux \
dosfstools lvm2 kpartx systemd-udev bash-completion && \
dosfstools lvm2 kpartx systemd-udev bash-completion rsync && \
if [ "$(grep "^PRETTY_NAME=\"Rocky Linux 9" /etc/os-release)" ] ; then \
dnf install -y rsync python3 python3-pip iproute ; else \
dnf install -y python3-virtualenv rsync-3.1.3-14.el8 ; fi && \
dnf install -y python3 python3-pip iproute ; else \
dnf install -y python3-virtualenv ; fi && \
dnf clean all

# Configure lvm not to use udev for device discovery. This allows you to use
Expand Down Expand Up @@ -80,7 +76,7 @@ COPY --chown=stack:stack $KAYOBE_DOCKER_SSH_CONFIG_PATH /stack/.ssh/config
RUN chmod 600 /stack/.ssh/config

# Copy custom binaries into image. The wildcard worksaround the check on the parent directory existing.
COPY .automation/utils/kayobe-automation-activate .automation.conf/docker*/kayobe/bin/* /usr/local/bin
COPY .automation/utils/kayobe-automation-activate .automation.conf/docker*/kayobe/bin/* /usr/local/bin/

# Allow an ansible.cfg in kayobe-config to be used for control host bootrap
ARG ANSIBLE_CONFIG=/stack/kayobe-automation-env/src/kayobe-config/etc/kayobe/ansible.cfg
Expand Down

0 comments on commit bcff4e9

Please sign in to comment.