Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
grindsa committed Feb 2, 2025
1 parent 7744eae commit fa3ff74
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/ha-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

ha_django_mariadb_tests:
name: "ha_django_mariadb_tests"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: "checkout GIT"
uses: actions/checkout@v4
Expand Down Expand Up @@ -59,14 +59,11 @@ jobs:
docker exec alma9-c1 yum -y install openssh-server openssh-clients procps rsyslog
docker exec alma9-c1 systemctl enable sshd
docker exec alma9-c1 systemctl start sshd
# docker exec alma9-c1 systemctl start rsyslog
docker exec alma9-c1 /usr/sbin/rsyslogd # -d
docker exec alma9-c1 systemctl start rsyslog
docker exec alma9-c1 yum install -y epel-release
docker exec alma9-c2 yum -y install openssh-server openssh-clients procps rsyslog
docker exec alma9-c2 systemctl enable sshd
# docker exec alma9-c2 systemctl start rsyslog
docker exec alma9-c2 /usr/sbin/rsyslogd # -d
docker exec alma9-c2 systemctl start rsyslog
docker exec alma9-c2 systemctl start sshd
docker exec alma9-c2 yum install -y epel-release
Expand Down Expand Up @@ -231,12 +228,11 @@ jobs:
- name: "Test syncronisation between cluster nodes"
run: |
docker exec alma9-c1 bash -c 'echo \"foo\" > /opt/acme2certifier/volume/lsycd_test.txt'
docker exec alma9-c1 bash -c 'ls -la /opt/acme2certifier/volume/*'
sleep 30
docker exec alma9-c1 touch /opt/acme2certifier/volume/lsycd_test.txt
sleep 20
docker exec alma9-c2 ls /opt/acme2certifier/volume/ | grep -i lsycd_test.txt
docker exec alma9-c2 rm /opt/acme2certifier/volume/lsycd_test.txt
sleep 30
sleep 20
docker exec alma9-c1 ls -la /opt/acme2certifier/volume/ | grep -i lsycd_test.txt -vqz
- name: "Install acme2certifier"
Expand Down Expand Up @@ -397,7 +393,6 @@ jobs:
docker exec alma9-c1 cat /var/log/lsyncd/lsyncd.log > ${{ github.workspace }}/artifact/alma9-c1-lsyncd.log
docker exec alma9-c2 cat /var/log/lsyncd/lsyncd.log > ${{ github.workspace }}/artifact/alma9-c2-lsyncd.log
sudo tar -C ${{ github.workspace }}/artifact/ -cvzf ${{ github.workspace }}/artifact/upload/artifact.tar.gz data alma9-c1-messages.log alma9-c2-messages.log alma9-c1-lsyncd.log alma9-c2-lsyncd.log
# sudo tar -C ${{ github.workspace }}/artifact/ -cvzf ${{ github.workspace }}/artifact/upload/artifact.tar.gz data alma9-c1-messages.log
- name: "[ * ] uploading artificates"
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit fa3ff74

Please sign in to comment.