diff --git a/.github/workflows/Manual_Centos7.yml b/.github/workflows/Manual_Centos7.yml index 870c245..09abde8 100644 --- a/.github/workflows/Manual_Centos7.yml +++ b/.github/workflows/Manual_Centos7.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Configure Host run: | chmod +x Setup_Host.sh @@ -21,7 +21,7 @@ jobs: - name: Running Build in Centos7 Container run: docker run --name container_gluster -v /build-out:/out gluster-build - name: Upload Artifactory - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: gluster-rpms path: /build-out/*.rpm diff --git a/.github/workflows/Manual_Centos8.yml b/.github/workflows/Manual_Centos8.yml index d003bdf..b20d9a5 100644 --- a/.github/workflows/Manual_Centos8.yml +++ b/.github/workflows/Manual_Centos8.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Configure Host run: | chmod +x Setup_Host.sh @@ -21,7 +21,7 @@ jobs: - name: Running Build in Centos8 Container run: docker run --name container_gluster -v /build-out:/out gluster-build - name: Upload Artifactory - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: gluster-rpms path: /build-out/*.rpm diff --git a/.github/workflows/Manual_Fedora.yml b/.github/workflows/Manual_Fedora.yml index d63223a..e1f10e3 100644 --- a/.github/workflows/Manual_Fedora.yml +++ b/.github/workflows/Manual_Fedora.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Configure Host run: | chmod +x Setup_Host.sh @@ -22,7 +22,7 @@ jobs: - name: Running Build in Fedora Container run: docker run --name container_gluster -v /build-out:/out gluster-build - name: Upload Artifactory - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: gluster-rpms path: /build-out/*.rpm diff --git a/.github/workflows/Nightly_Build_Centos7.yml b/.github/workflows/Nightly_Build_Centos7.yml index dc34f02..1e2a43f 100644 --- a/.github/workflows/Nightly_Build_Centos7.yml +++ b/.github/workflows/Nightly_Build_Centos7.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Configure Host run: | chmod +x Setup_Host.sh @@ -20,7 +20,7 @@ jobs: - name: Running Build in Centos7 Container run: docker run --name container_gluster -v /build-out:/out quay.io/gluster/centos7-gluster-build - name: Upload Artifactory - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: gluster-rpms path: /build-out/*.rpm diff --git a/.github/workflows/Nightly_Build_Centos8.yml b/.github/workflows/Nightly_Build_Centos8.yml index 1481546..d23efef 100644 --- a/.github/workflows/Nightly_Build_Centos8.yml +++ b/.github/workflows/Nightly_Build_Centos8.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Configure Host run: | chmod +x Setup_Host.sh @@ -20,7 +20,7 @@ jobs: - name: Running Build in Centos8 Container run: docker run --name container_gluster -v /build-out:/out quay.io/gluster/centos8-gluster-build - name: Upload Artifactory - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: gluster-rpms path: /build-out/*.rpm diff --git a/.github/workflows/Nightly_Build_Fedora_Latest.yml b/.github/workflows/Nightly_Build_Fedora_Latest.yml index 05b5457..7b83706 100644 --- a/.github/workflows/Nightly_Build_Fedora_Latest.yml +++ b/.github/workflows/Nightly_Build_Fedora_Latest.yml @@ -2,7 +2,7 @@ name: Nightly Build (fedora/quay) on: schedule: - - cron: ' 45 0 * * *' + - cron: '45 0 * * *' jobs: @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Configure Host run: | chmod +x Setup_Host.sh @@ -21,7 +21,7 @@ jobs: - name: Running Build in Fedora Container run: docker run --name container_gluster -v /build-out:/out quay.io/gluster/fedora-gluster-build - name: Upload Artifactory - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: gluster-rpms path: /build-out/*.rpm diff --git a/.github/workflows/custom-branch-builds.yml b/.github/workflows/custom-branch-builds.yml index 2905a7f..b3ee2b6 100644 --- a/.github/workflows/custom-branch-builds.yml +++ b/.github/workflows/custom-branch-builds.yml @@ -7,19 +7,22 @@ on: buildosflavor: description: 'Select the OS Flavour - centos / fedora / ubuntu / debian' required: true + type: choice options: ['centos', 'fedora', 'ubuntu', 'debian'] default: 'fedora' buildosver: description: 'Select the OS version - centos (7/stream8) / fedora(Fxx/latest) / ubuntu(impish/jammy) / debian(bullseye)' required: true - options: ['7', 'stream8', 'F33', 'focal', 'bullseye'] - default: 'F33' + type: choice + options: ['7', 'stream8', 'F38', 'focal', 'bullseye'] + default: 'F38' branchesflavor: description: 'Select the Gluster Branch: eg:- devel, v10.1, v9.5,v8.6' required: true - options: ['devel', 'v10.1', 'v9.5'] + type: choice + options: ['devel', 'v11.1', 'v10.5', 'v9.6'] default: 'devel' env: @@ -34,7 +37,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Configure Host run: | chmod +x Setup_Host.sh @@ -119,7 +122,7 @@ jobs: fi - name: Upload Artifactory - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: gluster-rpms path: /build-out/*.* diff --git a/.github/workflows/manual-builds-custom.yml b/.github/workflows/manual-builds-custom.yml index b618937..58bff17 100644 --- a/.github/workflows/manual-builds-custom.yml +++ b/.github/workflows/manual-builds-custom.yml @@ -7,6 +7,7 @@ on: buildosflavor: description: 'centos7 / centos8 / fedora / ubuntu / debian' required: true + type: choice options: ['centos7', 'centos8', 'fedora', 'ubuntu', 'debian'] default: 'fedora' @@ -15,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Configure Host run: | chmod +x Setup_Host.sh diff --git a/.github/workflows/manual-ubuntu.yml b/.github/workflows/manual-ubuntu.yml index 93eaf85..3dbcece 100644 --- a/.github/workflows/manual-ubuntu.yml +++ b/.github/workflows/manual-ubuntu.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Configure Host run: | chmod +x Setup_Host.sh @@ -22,7 +22,7 @@ jobs: - name: Running Build in ubuntu Container run: docker run --security-opt seccomp=unconfined --name container_gluster -v /build-out:/out gluster-build - name: Upload Artifactory - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: gluster-deb path: /build-out/*.*deb diff --git a/.github/workflows/nightly-build-debian.yml b/.github/workflows/nightly-build-debian.yml index 853510a..ebd8947 100644 --- a/.github/workflows/nightly-build-debian.yml +++ b/.github/workflows/nightly-build-debian.yml @@ -2,7 +2,7 @@ name: Nightly Build (debian/quay) on: schedule: - - cron: ' 40 0 * * *' + - cron: '40 0 * * *' jobs: build: @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Configure Host run: | chmod +x Setup_Host.sh @@ -20,7 +20,7 @@ jobs: - name: Running Build in ubuntu Container run: docker run --name container_gluster -v /build-out:/out quay.io/gluster/debian-gluster-build - name: Upload Artifactory - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: gluster-deb path: /build-out/*.*deb diff --git a/.github/workflows/nightly-build-ubuntu.yml b/.github/workflows/nightly-build-ubuntu.yml index 14574ea..2e20aed 100644 --- a/.github/workflows/nightly-build-ubuntu.yml +++ b/.github/workflows/nightly-build-ubuntu.yml @@ -2,7 +2,7 @@ name: Nightly Build (ubuntu/quay) on: schedule: - - cron: ' 35 0 * * *' + - cron: '35 0 * * *' jobs: build: @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Configure Host run: | chmod +x Setup_Host.sh @@ -22,7 +22,7 @@ jobs: - name: Running Build in ubuntu Container run: docker run --security-opt seccomp=unconfined --name container_gluster -v /build-out:/out quay.io/gluster/ubuntu-gluster-build - name: Upload Artifactory - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: gluster-deb path: /build-out/*.*deb diff --git a/.github/workflows/quay-monthly-trigger.yml b/.github/workflows/quay-monthly-trigger.yml index df97021..186687a 100644 --- a/.github/workflows/quay-monthly-trigger.yml +++ b/.github/workflows/quay-monthly-trigger.yml @@ -12,13 +12,13 @@ jobs: steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Add an update to repo file to trigger quay build... - run: echo "Quay Build is triggered on $(date)" >> ./Docker/monthly-trigger-log.txt # ...and then use the action as you would normally do - - uses: EndBug/add-and-commit@v7 + - uses: EndBug/add-and-commit@v9 with: message: 'GitHub Actions Monthly Trigger' add: 'monthly-trigger-log.txt --force' diff --git a/Docker/Centos7/Dockerfile b/Docker/Centos7/Dockerfile index 7871b72..ba6b4c1 100644 --- a/Docker/Centos7/Dockerfile +++ b/Docker/Centos7/Dockerfile @@ -3,9 +3,10 @@ FROM centos:7 LABEL project="centos7-gluster-build" LABEL maintainer "gluster-users@gluster.org" -RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm - -RUN yum -y --setopt tsflags=nodocs --enablerepo=extras install epel-release-7 autoconf automake bison cmockery2-devel \ +RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \ + sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* +RUN yum install -y epel-release && \ + yum -y --setopt tsflags=nodocs --enablerepo=extras install epel-release-7 autoconf automake bison cmockery2-devel \ dos2unix flex selinux-policy-devel rsync libcurl-devel fuse-devel glib2-devel libacl-devel libaio-devel libattr-devel \ libtool libxml2-devel make openssl-devel pkgconfig python-devel rpm-build readline-devel \ userspace-rcu-devel git userspace-rcu redhat-rpm-config rpcgen make libuuid-devel deltarpm firewalld gperftools-devel openssl