Skip to content

Commit

Permalink
test corosync-3.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasyang2022 committed Nov 22, 2024
1 parent 37cd25b commit b5de4c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/run-functional-tests
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
CONTAINER_IMAGE=${CONTAINER_IMAGE:-"docker.io/nyang23/haleap:master"}
CONTAINER_IMAGE=${CONTAINER_IMAGE:-"docker.io/nyang23/haleap:corosync-3.1.9"}
PROJECT_PATH=$(dirname $(dirname `realpath $0`))
PROJECT_INSIDE="/opt/crmsh"
COROSYNC_CONF="/etc/corosync/corosync.conf"
Expand Down
3 changes: 3 additions & 0 deletions test_container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ RUN zypper -n install systemd openssh \
python3 python3-pip python3-lxml python3-python-dateutil python3-setuptools python3-PyYAML python3-curses python3-behave python3-coverage python3-packaging \
csync2 libglue-devel corosync corosync-qdevice pacemaker booth corosync-qnetd

RUN zypper ar -fG https://download.opensuse.org/repositories/home:/nicholasyang/openSUSE_Tumbleweed/home:nicholasyang.repo && \
zypper -n update --repo 'home:nicholasyang (openSUSE_Tumbleweed)' --allow-vendor-change corosync

RUN ssh-keygen -t rsa -f /root/.ssh/id_rsa -N '' && \
cp /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys && \
chmod 0600 /root/.ssh/authorized_keys
Expand Down

0 comments on commit b5de4c9

Please sign in to comment.