From d83abde1a6a1bbd2e54ee3d1d71e58b7501867fa Mon Sep 17 00:00:00 2001 From: Gleb Sizov Date: Wed, 14 Aug 2024 16:22:13 +0200 Subject: [PATCH] Added workflow --- .../verify-opensource-rpm-installable.yml | 30 +++++++++++++++++++ screwdriver.yaml | 13 -------- 2 files changed, 30 insertions(+), 13 deletions(-) create mode 100644 .github/workflows/verify-opensource-rpm-installable.yml diff --git a/.github/workflows/verify-opensource-rpm-installable.yml b/.github/workflows/verify-opensource-rpm-installable.yml new file mode 100644 index 000000000000..f1df8fc9aaa4 --- /dev/null +++ b/.github/workflows/verify-opensource-rpm-installable.yml @@ -0,0 +1,30 @@ +name: Verify open source RPM installable + +on: + workflow_dispatch: + + pull_request: + paths: + - .github/workflows/verify-opensource-rpm-installable.yml + branches: + - master + + schedule: + - cron: '0 0 * * *' + +jobs: + verify-opensource-rpm-installable: + runs-on: ubuntu-latest + + container: + image: almalinux:8 + + steps: + - name: Install Vespa + run: | + dnf list llvm-libs --showduplicates + dnf install -y dnf-plugins-core + dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/g/vespa/vespa/repo/epel-8/group_vespa-vespa-epel-8.repo + dnf config-manager --enable powertools + dnf install -y epel-release + dnf install -y vespa diff --git a/screwdriver.yaml b/screwdriver.yaml index bfd914e7d98a..49bc8367cc55 100644 --- a/screwdriver.yaml +++ b/screwdriver.yaml @@ -302,19 +302,6 @@ jobs: exit 1 fi - verify-opensource-rpm-installable: - image: almalinux:8 - annotations: - screwdriver.cd/buildPeriodically: H 0 * * * - steps: - - install: | - dnf list llvm-libs --showduplicates - dnf install -y dnf-plugins-core - dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/g/vespa/vespa/repo/epel-8/group_vespa-vespa-epel-8.repo - dnf config-manager --enable powertools - dnf install -y epel-release - dnf install -y vespa - mirror-copr-rpms-to-archive: requires: [publish-release] image: docker.io/almalinux:8