diff --git a/.github/workflows/rpm_amoy_profile_packager.yml b/.github/workflows/rpm_amoy_profile_packager.yml index 7871af4796..3703861a2d 100644 --- a/.github/workflows/rpm_amoy_profile_packager.yml +++ b/.github/workflows/rpm_amoy_profile_packager.yml @@ -83,32 +83,32 @@ jobs: - name: Setting up Amoy Sentry PBSS Node Spec files run: | - touch packaging/rpm/bor-amoy-sentry-pbss.spec - echo "Name: bor-amoy-sentry-pbss-config" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "Version: ${{ env.GIT_TAG1 }}" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "Release: 1%{?dist}" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "License: GPL/AGPL" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "BuildArch: noarch" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "Summary: bor amoy sentry config rpm package" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - - echo "%description" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "Bor Amoy Sentry rpm package" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec + touch packaging/rpm/bor-pbss-amoy-sentry.spec + echo "Name: bor-pbss-amoy-sentry-config" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "Version: ${{ env.GIT_TAG1 }}" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "Release: 1%{?dist}" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "License: GPL/AGPL" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "BuildArch: noarch" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "Summary: bor amoy sentry config rpm package" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + + echo "%description" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "Bor Amoy Sentry rpm package" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec - echo "" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "%pre" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "%install" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "mkdir -p %{buildroot}/var/lib/bor" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "cp /home/runner/work/bor/bor/packaging/templates/testnet-amoy/sentry/sentry/bor/pbss_config.toml %{buildroot}/var/lib/bor/config.toml" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "mkdir -p %{buildroot}/lib/systemd/system" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "cp /home/runner/work/bor/bor/packaging/templates/systemd/bor.service %{buildroot}/lib/systemd/system/bor.service" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec + echo "" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "%pre" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "%install" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "mkdir -p %{buildroot}/var/lib/bor" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "cp /home/runner/work/bor/bor/packaging/templates/testnet-amoy/sentry/sentry/bor/pbss_config.toml %{buildroot}/var/lib/bor/config.toml" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "mkdir -p %{buildroot}/lib/systemd/system" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "cp /home/runner/work/bor/bor/packaging/templates/systemd/bor.service %{buildroot}/lib/systemd/system/bor.service" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec - echo "%files" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "/var/lib/bor/config.toml" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "/lib/systemd/system/bor.service" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "%attr(0755, bor, bor) /var/lib/bor" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "%post" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec - echo "/bin/systemctl daemon-reload" >> packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec + echo "%files" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "/var/lib/bor/config.toml" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "/lib/systemd/system/bor.service" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "%attr(0755, bor, bor) /var/lib/bor" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "%post" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec + echo "/bin/systemctl daemon-reload" >> packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec - name: Build Amoy Sentry PBSS Node profile RPM run: | @@ -117,7 +117,7 @@ jobs: --define "_rpmdir %{_topdir}/RPMS" \ --define "_srcrpmdir %{_topdir}/SRPMS" \ --define "__spec_install_post /bin/true" \ - -bb packaging/rpm/SPECS/bor-amoy-sentry-pbss.spec + -bb packaging/rpm/SPECS/bor-pbss-amoy-sentry.spec - name: Setting up Amoy Validator Node node run: echo "#########################################################################" @@ -166,32 +166,32 @@ jobs: - name: Setting up Amoy Validator PBSS Node Spec files run: | - touch packaging/rpm/bor-amoy-validator-pbss.spec - echo "Name: bor-amoy-validator-pbss-config" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "Version: ${{ env.GIT_TAG1 }}" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "Release: 1%{?dist}" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "License: GPL/AGPL" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "BuildArch: noarch" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "Summary: bor amoy validator config rpm package" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - - echo "%description" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "Bor Amoy Validator rpm package" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec + touch packaging/rpm/bor-pbss-amoy-validator.spec + echo "Name: bor-pbss-amoy-validator-config" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "Version: ${{ env.GIT_TAG1 }}" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "Release: 1%{?dist}" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "License: GPL/AGPL" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "BuildArch: noarch" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "Summary: bor amoy validator config rpm package" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + + echo "%description" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "Bor Amoy Validator rpm package" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec - echo "" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "%pre" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "%install" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "mkdir -p %{buildroot}/var/lib/bor" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "cp /home/runner/work/bor/bor/packaging/templates/testnet-amoy/sentry/validator/bor/pbss_config.toml %{buildroot}/var/lib/bor/config.toml" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "mkdir -p %{buildroot}/lib/systemd/system" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "cp /home/runner/work/bor/bor/packaging/templates/systemd/bor.service %{buildroot}/lib/systemd/system/bor.service" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec + echo "" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "%pre" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "%install" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "mkdir -p %{buildroot}/var/lib/bor" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "cp /home/runner/work/bor/bor/packaging/templates/testnet-amoy/sentry/validator/bor/pbss_config.toml %{buildroot}/var/lib/bor/config.toml" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "mkdir -p %{buildroot}/lib/systemd/system" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "cp /home/runner/work/bor/bor/packaging/templates/systemd/bor.service %{buildroot}/lib/systemd/system/bor.service" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec - echo "%files" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "/var/lib/bor/config.toml" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "/lib/systemd/system/bor.service" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "%attr(0755, bor, bor) /var/lib/bor" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "%post" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec - echo "/bin/systemctl daemon-reload" >> packaging/rpm/SPECS/bor-amoy-validator-pbss.spec + echo "%files" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "/var/lib/bor/config.toml" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "/lib/systemd/system/bor.service" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "%attr(0755, bor, bor) /var/lib/bor" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "%post" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec + echo "/bin/systemctl daemon-reload" >> packaging/rpm/SPECS/bor-pbss-amoy-validator.spec - name: Build Amoy Validator PBSS Node profile RPM @@ -201,7 +201,7 @@ jobs: --define "_rpmdir %{_topdir}/RPMS" \ --define "_srcrpmdir %{_topdir}/SRPMS" \ --define "__spec_install_post /bin/true" \ - -bb packaging/rpm/SPECS/bor-amoy-validator-pbss.spec + -bb packaging/rpm/SPECS/bor-pbss-amoy-validator.spec - name: Setting up Amoy Boot node @@ -293,11 +293,11 @@ jobs: - name: renaming file for rpm release appendage sentry amoy run: mv /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-amoy-sentry-config-${{ env.GIT_TAG1 }}-1.noarch.rpm /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-amoy-sentry-config-${{ env.GIT_TAG1 }}.noarch.rpm - name: renaming file for rpm release appendage sentry pbss amoy - run: mv /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-amoy-sentry-pbss-config-${{ env.GIT_TAG1 }}-1.noarch.rpm /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-amoy-sentry-pbss-config-${{ env.GIT_TAG1 }}.noarch.rpm + run: mv /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-pbss-amoy-sentry-config-${{ env.GIT_TAG1 }}-1.noarch.rpm /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-pbss-amoy-sentry-config-${{ env.GIT_TAG1 }}.noarch.rpm - name: renaming file for rpm release appendage validator amoy run: mv /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-amoy-validator-config-${{ env.GIT_TAG1 }}-1.noarch.rpm /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-amoy-validator-config-${{ env.GIT_TAG1 }}.noarch.rpm - name: renaming file for rpm release appendage validator pbss amoy - run: mv /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-amoy-validator-pbss-config-${{ env.GIT_TAG1 }}-1.noarch.rpm /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-amoy-validator-pbss-config-${{ env.GIT_TAG1 }}.noarch.rpm + run: mv /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-pbss-amoy-validator-config-${{ env.GIT_TAG1 }}-1.noarch.rpm /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-pbss-amoy-validator-config-${{ env.GIT_TAG1 }}.noarch.rpm - name: adding shasum for the rpm build amoy archive run: cd /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/ && sha256sum bor-amoy-archive-config-${{ env.GIT_TAG1 }}.noarch.rpm > /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-amoy-archive-config-${{ env.GIT_TAG1 }}.noarch.rpm.checksum @@ -306,11 +306,11 @@ jobs: - name: adding shasum for the rpm build amoy sentry run: cd /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/ && sha256sum bor-amoy-sentry-config-${{ env.GIT_TAG1 }}.noarch.rpm > /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-amoy-sentry-config-${{ env.GIT_TAG1 }}.noarch.rpm.checksum - name: adding shasum for the rpm build amoy sentry pbss - run: cd /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/ && sha256sum bor-amoy-sentry-pbss-config-${{ env.GIT_TAG1 }}.noarch.rpm > /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-amoy-sentry-pbss-config-${{ env.GIT_TAG1 }}.noarch.rpm.checksum + run: cd /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/ && sha256sum bor-pbss-amoy-sentry-config-${{ env.GIT_TAG1 }}.noarch.rpm > /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-pbss-amoy-sentry-config-${{ env.GIT_TAG1 }}.noarch.rpm.checksum - name: adding shasum for the rpm build amoy validator run: cd /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/ && sha256sum bor-amoy-validator-config-${{ env.GIT_TAG1 }}.noarch.rpm > /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-amoy-validator-config-${{ env.GIT_TAG1 }}.noarch.rpm.checksum - name: adding shasum for the rpm build amoy validator pbss - run: cd /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/ && sha256sum bor-amoy-validator-pbss-config-${{ env.GIT_TAG1 }}.noarch.rpm > /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-amoy-validator-pbss-config-${{ env.GIT_TAG1 }}.noarch.rpm.checksum + run: cd /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/ && sha256sum bor-pbss-amoy-validator-config-${{ env.GIT_TAG1 }}.noarch.rpm > /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-pbss-amoy-validator-config-${{ env.GIT_TAG1 }}.noarch.rpm.checksum - name: Release bor Packages diff --git a/.github/workflows/rpm_mainnet_profile_packager.yml b/.github/workflows/rpm_mainnet_profile_packager.yml index 0b8a35d4e5..3f9b99e571 100644 --- a/.github/workflows/rpm_mainnet_profile_packager.yml +++ b/.github/workflows/rpm_mainnet_profile_packager.yml @@ -83,32 +83,32 @@ jobs: - name: Setting up Mainnet Sentry PBSS Node Spec files run: | - touch packaging/rpm/bor-mainnet-sentry-pbss.spec - echo "Name: bor-mainnet-sentry-pbss-config" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "Version: ${{ env.GIT_TAG1 }}" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "Release: 1%{?dist}" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "License: GPL/AGPL" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "BuildArch: noarch" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "Summary: bor mainnet sentry config rpm package" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - - echo "%description" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "Bor Mumbai Sentry rpm package" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec + touch packaging/rpm/bor-pbss-mainnet-sentry.spec + echo "Name: bor-pbss-mainnet-sentry-config" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "Version: ${{ env.GIT_TAG1 }}" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "Release: 1%{?dist}" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "License: GPL/AGPL" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "BuildArch: noarch" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "Summary: bor mainnet sentry config rpm package" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + + echo "%description" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "Bor Mumbai Sentry rpm package" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec - echo "" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "%pre" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "%install" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "mkdir -p %{buildroot}/var/lib/bor" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "cp /home/runner/work/bor/bor/packaging/templates/mainnet-v1/sentry/sentry/bor/pbss_config.toml %{buildroot}/var/lib/bor/config.toml" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "mkdir -p %{buildroot}/lib/systemd/system" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "cp /home/runner/work/bor/bor/packaging/templates/systemd/bor.service %{buildroot}/lib/systemd/system/bor.service" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec + echo "" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "%pre" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "%install" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "mkdir -p %{buildroot}/var/lib/bor" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "cp /home/runner/work/bor/bor/packaging/templates/mainnet-v1/sentry/sentry/bor/pbss_config.toml %{buildroot}/var/lib/bor/config.toml" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "mkdir -p %{buildroot}/lib/systemd/system" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "cp /home/runner/work/bor/bor/packaging/templates/systemd/bor.service %{buildroot}/lib/systemd/system/bor.service" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec - echo "%files" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "/var/lib/bor/config.toml" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "/lib/systemd/system/bor.service" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "%attr(0755, bor, bor) /var/lib/bor" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "%post" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec - echo "/bin/systemctl daemon-reload" >> packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec + echo "%files" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "/var/lib/bor/config.toml" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "/lib/systemd/system/bor.service" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "%attr(0755, bor, bor) /var/lib/bor" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "%post" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec + echo "/bin/systemctl daemon-reload" >> packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec - name: Build Mainnet Sentry PBSS Node profile RPM run: | @@ -117,7 +117,7 @@ jobs: --define "_rpmdir %{_topdir}/RPMS" \ --define "_srcrpmdir %{_topdir}/SRPMS" \ --define "__spec_install_post /bin/true" \ - -bb packaging/rpm/SPECS/bor-mainnet-sentry-pbss.spec + -bb packaging/rpm/SPECS/bor-pbss-mainnet-sentry.spec - name: Setting up Mainnet Validator Node node run: echo "#########################################################################" @@ -166,32 +166,32 @@ jobs: - name: Setting up Mainnet Validator Node Spec files run: | - touch packaging/rpm/bor-mainnet-validator-pbss.spec - echo "Name: bor-mainnet-validator-pbss-config" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "Version: ${{ env.GIT_TAG1 }}" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "Release: 1%{?dist}" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "License: GPL/AGPL" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "BuildArch: noarch" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "Summary: bor mainnet validator config rpm package" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - - echo "%description" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "Bor Mainnet Validator rpm package" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec + touch packaging/rpm/bor-pbss-mainnet-validator.spec + echo "Name: bor-pbss-mainnet-validator-config" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "Version: ${{ env.GIT_TAG1 }}" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "Release: 1%{?dist}" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "License: GPL/AGPL" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "BuildArch: noarch" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "Summary: bor mainnet validator config rpm package" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + + echo "%description" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "Bor Mainnet Validator rpm package" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec - echo "" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "%pre" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "%install" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "mkdir -p %{buildroot}/var/lib/bor" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "cp /home/runner/work/bor/bor/packaging/templates/mainnet-v1/sentry/validator/bor/pbss_config.toml %{buildroot}/var/lib/bor/config.toml" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "mkdir -p %{buildroot}/lib/systemd/system" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "cp /home/runner/work/bor/bor/packaging/templates/systemd/bor.service %{buildroot}/lib/systemd/system/bor.service" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec + echo "" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "%pre" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "%install" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "mkdir -p %{buildroot}/var/lib/bor" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "cp /home/runner/work/bor/bor/packaging/templates/mainnet-v1/sentry/validator/bor/pbss_config.toml %{buildroot}/var/lib/bor/config.toml" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "mkdir -p %{buildroot}/lib/systemd/system" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "cp /home/runner/work/bor/bor/packaging/templates/systemd/bor.service %{buildroot}/lib/systemd/system/bor.service" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec - echo "%files" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "/var/lib/bor/config.toml" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "/lib/systemd/system/bor.service" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "%attr(0755, bor, bor) /var/lib/bor" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "%post" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec - echo "/bin/systemctl daemon-reload" >> packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec + echo "%files" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "/var/lib/bor/config.toml" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "/lib/systemd/system/bor.service" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "%attr(0755, bor, bor) /var/lib/bor" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "%post" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec + echo "/bin/systemctl daemon-reload" >> packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec - name: Build Mainnet Validator PBSS Node profile RPM @@ -201,7 +201,7 @@ jobs: --define "_rpmdir %{_topdir}/RPMS" \ --define "_srcrpmdir %{_topdir}/SRPMS" \ --define "__spec_install_post /bin/true" \ - -bb packaging/rpm/SPECS/bor-mainnet-validator-pbss.spec + -bb packaging/rpm/SPECS/bor-pbss-mainnet-validator.spec - name: Setting up Mainnet Boot node run: echo "#########################################################################" @@ -292,11 +292,11 @@ jobs: - name: renaming file for rpm release appendage sentry mainnet run: mv /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-mainnet-sentry-config-${{ env.GIT_TAG1 }}-1.noarch.rpm /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-mainnet-sentry-config-${{ env.GIT_TAG1 }}.noarch.rpm - name: renaming file for rpm release appendage sentry pbss mainnet - run: mv /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-mainnet-sentry-pbss-config-${{ env.GIT_TAG1 }}-1.noarch.rpm /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-mainnet-sentry-pbss-config-${{ env.GIT_TAG1 }}.noarch.rpm + run: mv /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-pbss-mainnet-sentry-config-${{ env.GIT_TAG1 }}-1.noarch.rpm /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-pbss-mainnet-sentry-config-${{ env.GIT_TAG1 }}.noarch.rpm - name: renaming file for rpm release appendage validator mainnet run: mv /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-mainnet-validator-config-${{ env.GIT_TAG1 }}-1.noarch.rpm /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-mainnet-validator-config-${{ env.GIT_TAG1 }}.noarch.rpm - name: renaming file for rpm release appendage validator pbss mainnet - run: mv /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-mainnet-validator-pbss-config-${{ env.GIT_TAG1 }}-1.noarch.rpm /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-mainnet-validator-pbss-config-${{ env.GIT_TAG1 }}.noarch.rpm + run: mv /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-pbss-mainnet-validator-config-${{ env.GIT_TAG1 }}-1.noarch.rpm /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-pbss-mainnet-validator-config-${{ env.GIT_TAG1 }}.noarch.rpm - name: adding shasum for the rpm build mainnet archive run: cd /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/ && sha256sum bor-mainnet-archive-config-${{ env.GIT_TAG1 }}.noarch.rpm > /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-mainnet-archive-config-${{ env.GIT_TAG1 }}.noarch.rpm.checksum @@ -305,11 +305,11 @@ jobs: - name: adding shasum for the rpm build mainnet sentry run: cd /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/ && sha256sum bor-mainnet-sentry-config-${{ env.GIT_TAG1 }}.noarch.rpm > /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-mainnet-sentry-config-${{ env.GIT_TAG1 }}.noarch.rpm.checksum - name: adding shasum for the rpm build mainnet sentry pbss - run: cd /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/ && sha256sum bor-mainnet-sentry-pbss-config-${{ env.GIT_TAG1 }}.noarch.rpm > /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-mainnet-sentry-pbss-config-${{ env.GIT_TAG1 }}.noarch.rpm.checksum + run: cd /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/ && sha256sum bor-pbss-mainnet-sentry-config-${{ env.GIT_TAG1 }}.noarch.rpm > /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-pbss-mainnet-sentry-config-${{ env.GIT_TAG1 }}.noarch.rpm.checksum - name: adding shasum for the rpm build mainnet validator run: cd /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/ && sha256sum bor-mainnet-validator-config-${{ env.GIT_TAG1 }}.noarch.rpm > /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-mainnet-validator-config-${{ env.GIT_TAG1 }}.noarch.rpm.checksum - name: adding shasum for the rpm build mainnet pbss validator - run: cd /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/ && sha256sum bor-mainnet-validator-pbss-config-${{ env.GIT_TAG1 }}.noarch.rpm > /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-mainnet-validator-pbss-config-${{ env.GIT_TAG1 }}.noarch.rpm.checksum + run: cd /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/ && sha256sum bor-pbss-mainnet-validator-config-${{ env.GIT_TAG1 }}.noarch.rpm > /home/runner/work/bor/bor/packaging/rpm_build/RPMS/noarch/bor-pbss-mainnet-validator-config-${{ env.GIT_TAG1 }}.noarch.rpm.checksum - name: Release bor Packages uses: softprops/action-gh-release@v2