diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml deleted file mode 100644 index b8b5786..0000000 --- a/.semaphore/semaphore.yml +++ /dev/null @@ -1,43 +0,0 @@ -version: v1.0 -name: Cockpit Session Recording -agent: - machine: - type: e1-standard-2 - os_image: ubuntu2004 - -blocks: - - name: "Run checks" - task: - prologue: - commands: - - checkout - - sudo rm -rf /etc/localtime - - sudo ln -s /usr/share/zoneinfo/America/New_York /etc/localtime - - sudo apt install -y python3-libvirt - - docker build -t rpmbuilder . - - id=$(docker create rpmbuilder) - - docker cp $id:/cockpit-session-recording/ . - - cd cockpit-session-recording - - make test/common - - make bots - jobs: - - name: Check fedora-36 - commands: - - export TEST_OS=fedora-36 - - bots/image-customize -v -i cockpit-ws -i cockpit-packagekit -i `pwd`/cockpit-session-recording*.noarch.rpm -s `pwd`/test/vm.install $TEST_OS - - bots/image-customize -v -u ./test/files/1.journal:/var/log/journal/1.journal $TEST_OS - - bots/image-customize -v -u ./test/files/binary-rec.journal:/var/log/journal/binary-rec.journal $TEST_OS - - test/check-application -v - - name: Check centos-8 - commands: - - export TEST_OS=centos-8-stream - - bots/image-customize -v -i cockpit-ws -i cockpit-packagekit -i `pwd`/cockpit-session-recording*.noarch.rpm -s `pwd`/test/vm.install $TEST_OS - - bots/image-customize -v -u ./test/files/1.journal:/var/log/journal/1.journal $TEST_OS - - bots/image-customize -v -u ./test/files/binary-rec.journal:/var/log/journal/binary-rec.journal $TEST_OS - - test/check-application -v - epilogue: - on_fail: - commands: - - mkdir testfails - - cp TestApplication* testfails - - artifact push job testfails