diff --git a/.github/workflows/kubuntu-18.04.yml b/.github/workflows/kubuntu-18.04.yml deleted file mode 100644 index 4c296b4..0000000 --- a/.github/workflows/kubuntu-18.04.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: kubuntu-18.04 - -on: - push: - branches: - - kubuntu-18.04 - paths-ignore: - - '.github/workflows/**' - schedule: - - cron: '0 4 * * 4' - workflow_dispatch: - -env: - BRANCH: kubuntu-18.04 - GITHUB_ENDPOINT: netbootxyz/ubuntu-squash - DISCORD_HOOK_URL: ${{ secrets.DISCORD_HOOK_URL }} - BUILD_TYPE: iso_extraction - DEBIAN_FRONTEND: noninteractive - CI_TOKEN: ${{ secrets.CI_TOKEN }} - -jobs: - version-checker: - name: Version Checker - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: kubuntu-18.04 - - - name: Get SHA of actual branch instead of master - run: | - export GITHUB_SHA=$(git rev-parse HEAD) - echo "GITHUB_SHA=$GITHUB_SHA" >> $GITHUB_ENV - - - name: Retrieve latest version from upstream and set vars - run: | - export EXTERNAL_VERSION=$(sudo bash version.sh) - echo "EXTERNAL_VERSION=$EXTERNAL_VERSION" >> $GITHUB_ENV - export GITHUB_TAG=${EXTERNAL_VERSION}-$(echo ${{ env.GITHUB_SHA }} | cut -c1-8) - echo "GITHUB_TAG=$GITHUB_TAG" >> $GITHUB_ENV - wget https://raw.githubusercontent.com/netbootxyz/build-pipelines/master/build.sh && chmod +x build.sh - - - name: Compare tag - id: compare - run: ./build.sh compare ${{ env.GITHUB_TAG }} - continue-on-error: true - - - name: Build if newer tag is available - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - ./build.sh build ${{ env.BUILD_TYPE }} - git tag ${{ env.GITHUB_TAG }} - - - name: Generate Release Notes - run: | - echo "Release generated for Branch: **${{ env.BRANCH }}**" > ${{ github.workspace }}-CHANGELOG.txt - - - name: Create release and upload assets - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ env.GITHUB_TAG }} - name: ${{ env.GITHUB_TAG }} - draft: false - prerelease: false - files: buildout/* - token: ${{ secrets.GITHUB_TOKEN }} - body_path: ${{ github.workspace }}-CHANGELOG.txt - - - name: Generate endpoints - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - git config --global user.name netboot-ci - git config --global user.email netboot-ci@netboot.xyz - ./build.sh endpoints ${{ env.GITHUB_TAG }} - - - name: Notify Discord on failure - if: failure() - run: | - ./build.sh discord failure - - - name: Notify Discord on completion - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' && success() - run: | - ./build.sh discord success diff --git a/.github/workflows/kubuntu-23.10.yml b/.github/workflows/kubuntu-23.10.yml deleted file mode 100644 index 3db3306..0000000 --- a/.github/workflows/kubuntu-23.10.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: kubuntu-23.10 - -on: - push: - branches: - - kubuntu-23.10 - paths-ignore: - - '.github/workflows/**' - schedule: - - cron: '0 4 * * 4' - workflow_dispatch: - -env: - BRANCH: kubuntu-23.10 - GITHUB_ENDPOINT: netbootxyz/ubuntu-squash - DISCORD_HOOK_URL: ${{ secrets.DISCORD_HOOK_URL }} - BUILD_TYPE: initrd_patch - DEBIAN_FRONTEND: noninteractive - CI_TOKEN: ${{ secrets.CI_TOKEN }} - -jobs: - version-checker: - name: Version Checker - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: kubuntu-23.10 - - - name: Get SHA of actual branch instead of master - run: | - export GITHUB_SHA=$(git rev-parse HEAD) - echo "GITHUB_SHA=$GITHUB_SHA" >> $GITHUB_ENV - - - name: Retrieve latest version from upstream and set vars - run: | - export EXTERNAL_VERSION=$(sudo bash version.sh) - echo "EXTERNAL_VERSION=$EXTERNAL_VERSION" >> $GITHUB_ENV - export GITHUB_TAG=${EXTERNAL_VERSION}-$(echo ${{ env.GITHUB_SHA }} | cut -c1-8) - echo "GITHUB_TAG=$GITHUB_TAG" >> $GITHUB_ENV - wget https://raw.githubusercontent.com/netbootxyz/build-pipelines/master/build.sh && chmod +x build.sh - - - name: Compare tag - id: compare - run: ./build.sh compare ${{ env.GITHUB_TAG }} - continue-on-error: true - - - name: Build if newer tag is available - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - ./build.sh build ${{ env.BUILD_TYPE }} - git tag ${{ env.GITHUB_TAG }} - - - name: Generate Release Notes - run: | - echo "Release generated for Branch: **${{ env.BRANCH }}**" > ${{ github.workspace }}-CHANGELOG.txt - - - name: Create release and upload assets - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ env.GITHUB_TAG }} - name: ${{ env.GITHUB_TAG }} - draft: false - prerelease: false - files: buildout/* - token: ${{ secrets.GITHUB_TOKEN }} - body_path: ${{ github.workspace }}-CHANGELOG.txt - - - name: Generate endpoints - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - git config --global user.name netboot-ci - git config --global user.email netboot-ci@netboot.xyz - ./build.sh endpoints ${{ env.GITHUB_TAG }} - - - name: Notify Discord on failure - if: failure() - run: | - ./build.sh discord failure - - - name: Notify Discord on completion - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' && success() - run: | - ./build.sh discord success diff --git a/.github/workflows/lubuntu-18.04.yml b/.github/workflows/lubuntu-18.04.yml deleted file mode 100644 index e41bc3f..0000000 --- a/.github/workflows/lubuntu-18.04.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: lubuntu-18.04 - -on: - push: - branches: - - lubuntu-18.04 - paths-ignore: - - '.github/workflows/**' - schedule: - - cron: '0 4 * * 4' - workflow_dispatch: - -env: - BRANCH: lubuntu-18.04 - GITHUB_ENDPOINT: netbootxyz/ubuntu-squash - DISCORD_HOOK_URL: ${{ secrets.DISCORD_HOOK_URL }} - BUILD_TYPE: iso_extraction - DEBIAN_FRONTEND: noninteractive - CI_TOKEN: ${{ secrets.CI_TOKEN }} - -jobs: - version-checker: - name: Version Checker - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: lubuntu-18.04 - - - name: Get SHA of actual branch instead of master - run: | - export GITHUB_SHA=$(git rev-parse HEAD) - echo "GITHUB_SHA=$GITHUB_SHA" >> $GITHUB_ENV - - - name: Retrieve latest version from upstream and set vars - run: | - export EXTERNAL_VERSION=$(sudo bash version.sh) - echo "EXTERNAL_VERSION=$EXTERNAL_VERSION" >> $GITHUB_ENV - export GITHUB_TAG=${EXTERNAL_VERSION}-$(echo ${{ env.GITHUB_SHA }} | cut -c1-8) - echo "GITHUB_TAG=$GITHUB_TAG" >> $GITHUB_ENV - wget https://raw.githubusercontent.com/netbootxyz/build-pipelines/master/build.sh && chmod +x build.sh - - - name: Compare tag - id: compare - run: ./build.sh compare ${{ env.GITHUB_TAG }} - continue-on-error: true - - - name: Build if newer tag is available - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - ./build.sh build ${{ env.BUILD_TYPE }} - git tag ${{ env.GITHUB_TAG }} - - - name: Generate Release Notes - run: | - echo "Release generated for Branch: **${{ env.BRANCH }}**" > ${{ github.workspace }}-CHANGELOG.txt - - - name: Create release and upload assets - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ env.GITHUB_TAG }} - name: ${{ env.GITHUB_TAG }} - draft: false - prerelease: false - files: buildout/* - token: ${{ secrets.GITHUB_TOKEN }} - body_path: ${{ github.workspace }}-CHANGELOG.txt - - - name: Generate endpoints - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - git config --global user.name netboot-ci - git config --global user.email netboot-ci@netboot.xyz - ./build.sh endpoints ${{ env.GITHUB_TAG }} - - - name: Notify Discord on failure - if: failure() - run: | - ./build.sh discord failure - - - name: Notify Discord on completion - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' && success() - run: | - ./build.sh discord success diff --git a/.github/workflows/lubuntu-23.10.yml b/.github/workflows/lubuntu-23.10.yml deleted file mode 100644 index e4b0064..0000000 --- a/.github/workflows/lubuntu-23.10.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: lubuntu-23.10 - -on: - push: - branches: - - lubuntu-23.10 - paths-ignore: - - '.github/workflows/**' - schedule: - - cron: '0 4 * * 4' - workflow_dispatch: - -env: - BRANCH: lubuntu-23.10 - GITHUB_ENDPOINT: netbootxyz/ubuntu-squash - DISCORD_HOOK_URL: ${{ secrets.DISCORD_HOOK_URL }} - BUILD_TYPE: initrd_patch - DEBIAN_FRONTEND: noninteractive - CI_TOKEN: ${{ secrets.CI_TOKEN }} - -jobs: - version-checker: - name: Version Checker - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: lubuntu-23.10 - - - name: Get SHA of actual branch instead of master - run: | - export GITHUB_SHA=$(git rev-parse HEAD) - echo "GITHUB_SHA=$GITHUB_SHA" >> $GITHUB_ENV - - - name: Retrieve latest version from upstream and set vars - run: | - export EXTERNAL_VERSION=$(sudo bash version.sh) - echo "EXTERNAL_VERSION=$EXTERNAL_VERSION" >> $GITHUB_ENV - export GITHUB_TAG=${EXTERNAL_VERSION}-$(echo ${{ env.GITHUB_SHA }} | cut -c1-8) - echo "GITHUB_TAG=$GITHUB_TAG" >> $GITHUB_ENV - wget https://raw.githubusercontent.com/netbootxyz/build-pipelines/master/build.sh && chmod +x build.sh - - - name: Compare tag - id: compare - run: ./build.sh compare ${{ env.GITHUB_TAG }} - continue-on-error: true - - - name: Build if newer tag is available - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - ./build.sh build ${{ env.BUILD_TYPE }} - git tag ${{ env.GITHUB_TAG }} - - - name: Generate Release Notes - run: | - echo "Release generated for Branch: **${{ env.BRANCH }}**" > ${{ github.workspace }}-CHANGELOG.txt - - - name: Create release and upload assets - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ env.GITHUB_TAG }} - name: ${{ env.GITHUB_TAG }} - draft: false - prerelease: false - files: buildout/* - token: ${{ secrets.GITHUB_TOKEN }} - body_path: ${{ github.workspace }}-CHANGELOG.txt - - - name: Generate endpoints - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - git config --global user.name netboot-ci - git config --global user.email netboot-ci@netboot.xyz - ./build.sh endpoints ${{ env.GITHUB_TAG }} - - - name: Notify Discord on failure - if: failure() - run: | - ./build.sh discord failure - - - name: Notify Discord on completion - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' && success() - run: | - ./build.sh discord success diff --git a/.github/workflows/ubuntu-budgie-18.04.yml b/.github/workflows/ubuntu-budgie-18.04.yml deleted file mode 100644 index 2415ed3..0000000 --- a/.github/workflows/ubuntu-budgie-18.04.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: ubuntu-budgie-18.04 - -on: - push: - branches: - - ubuntu-budgie-18.04 - paths-ignore: - - '.github/workflows/**' - schedule: - - cron: '0 4 * * 4' - workflow_dispatch: - -env: - BRANCH: ubuntu-budgie-18.04 - GITHUB_ENDPOINT: netbootxyz/ubuntu-squash - DISCORD_HOOK_URL: ${{ secrets.DISCORD_HOOK_URL }} - BUILD_TYPE: iso_extraction - DEBIAN_FRONTEND: noninteractive - CI_TOKEN: ${{ secrets.CI_TOKEN }} - -jobs: - version-checker: - name: Version Checker - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: ubuntu-budgie-18.04 - - - name: Get SHA of actual branch instead of master - run: | - export GITHUB_SHA=$(git rev-parse HEAD) - echo "GITHUB_SHA=$GITHUB_SHA" >> $GITHUB_ENV - - - name: Retrieve latest version from upstream and set vars - run: | - export EXTERNAL_VERSION=$(sudo bash version.sh) - echo "EXTERNAL_VERSION=$EXTERNAL_VERSION" >> $GITHUB_ENV - export GITHUB_TAG=${EXTERNAL_VERSION}-$(echo ${{ env.GITHUB_SHA }} | cut -c1-8) - echo "GITHUB_TAG=$GITHUB_TAG" >> $GITHUB_ENV - wget https://raw.githubusercontent.com/netbootxyz/build-pipelines/master/build.sh && chmod +x build.sh - - - name: Compare tag - id: compare - run: ./build.sh compare ${{ env.GITHUB_TAG }} - continue-on-error: true - - - name: Build if newer tag is available - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - ./build.sh build ${{ env.BUILD_TYPE }} - git tag ${{ env.GITHUB_TAG }} - - - name: Generate Release Notes - run: | - echo "Release generated for Branch: **${{ env.BRANCH }}**" > ${{ github.workspace }}-CHANGELOG.txt - - - name: Create release and upload assets - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ env.GITHUB_TAG }} - name: ${{ env.GITHUB_TAG }} - draft: false - prerelease: false - files: buildout/* - token: ${{ secrets.GITHUB_TOKEN }} - body_path: ${{ github.workspace }}-CHANGELOG.txt - - - name: Generate endpoints - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - git config --global user.name netboot-ci - git config --global user.email netboot-ci@netboot.xyz - ./build.sh endpoints ${{ env.GITHUB_TAG }} - - - name: Notify Discord on failure - if: failure() - run: | - ./build.sh discord failure - - - name: Notify Discord on completion - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' && success() - run: | - ./build.sh discord success diff --git a/.github/workflows/ubuntu-budgie-23.10.yml b/.github/workflows/ubuntu-budgie-23.10.yml deleted file mode 100644 index 2ac204e..0000000 --- a/.github/workflows/ubuntu-budgie-23.10.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: ubuntu-budgie-23.10 - -on: - push: - branches: - - ubuntu-budgie-23.10 - paths-ignore: - - '.github/workflows/**' - schedule: - - cron: '0 4 * * 4' - workflow_dispatch: - -env: - BRANCH: ubuntu-budgie-23.10 - GITHUB_ENDPOINT: netbootxyz/ubuntu-squash - DISCORD_HOOK_URL: ${{ secrets.DISCORD_HOOK_URL }} - BUILD_TYPE: initrd_patch - DEBIAN_FRONTEND: noninteractive - CI_TOKEN: ${{ secrets.CI_TOKEN }} - -jobs: - version-checker: - name: Version Checker - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: ubuntu-budgie-23.10 - - - name: Get SHA of actual branch instead of master - run: | - export GITHUB_SHA=$(git rev-parse HEAD) - echo "GITHUB_SHA=$GITHUB_SHA" >> $GITHUB_ENV - - - name: Retrieve latest version from upstream and set vars - run: | - export EXTERNAL_VERSION=$(sudo bash version.sh) - echo "EXTERNAL_VERSION=$EXTERNAL_VERSION" >> $GITHUB_ENV - export GITHUB_TAG=${EXTERNAL_VERSION}-$(echo ${{ env.GITHUB_SHA }} | cut -c1-8) - echo "GITHUB_TAG=$GITHUB_TAG" >> $GITHUB_ENV - wget https://raw.githubusercontent.com/netbootxyz/build-pipelines/master/build.sh && chmod +x build.sh - - - name: Compare tag - id: compare - run: ./build.sh compare ${{ env.GITHUB_TAG }} - continue-on-error: true - - - name: Build if newer tag is available - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - ./build.sh build ${{ env.BUILD_TYPE }} - git tag ${{ env.GITHUB_TAG }} - - - name: Generate Release Notes - run: | - echo "Release generated for Branch: **${{ env.BRANCH }}**" > ${{ github.workspace }}-CHANGELOG.txt - - - name: Create release and upload assets - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ env.GITHUB_TAG }} - name: ${{ env.GITHUB_TAG }} - draft: false - prerelease: false - files: buildout/* - token: ${{ secrets.GITHUB_TOKEN }} - body_path: ${{ github.workspace }}-CHANGELOG.txt - - - name: Generate endpoints - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - git config --global user.name netboot-ci - git config --global user.email netboot-ci@netboot.xyz - ./build.sh endpoints ${{ env.GITHUB_TAG }} - - - name: Notify Discord on failure - if: failure() - run: | - ./build.sh discord failure - - - name: Notify Discord on completion - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' && success() - run: | - ./build.sh discord success diff --git a/.github/workflows/ubuntu-default-23.10.yml b/.github/workflows/ubuntu-default-23.10.yml deleted file mode 100644 index 842e7e1..0000000 --- a/.github/workflows/ubuntu-default-23.10.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: ubuntu-default-23.10 - -on: - push: - branches: - - ubuntu-default-23.10 - paths-ignore: - - '.github/workflows/**' - schedule: - - cron: '0 4 * * 4' - workflow_dispatch: - -env: - BRANCH: ubuntu-default-23.10 - GITHUB_ENDPOINT: netbootxyz/ubuntu-squash - DISCORD_HOOK_URL: ${{ secrets.DISCORD_HOOK_URL }} - BUILD_TYPE: initrd_patch - DEBIAN_FRONTEND: noninteractive - CI_TOKEN: ${{ secrets.CI_TOKEN }} - -jobs: - version-checker: - name: Version Checker - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: ubuntu-default-23.10 - - - name: Get SHA of actual branch instead of master - run: | - export GITHUB_SHA=$(git rev-parse HEAD) - echo "GITHUB_SHA=$GITHUB_SHA" >> $GITHUB_ENV - - - name: Retrieve latest version from upstream and set vars - run: | - export EXTERNAL_VERSION=$(sudo bash version.sh) - echo "EXTERNAL_VERSION=$EXTERNAL_VERSION" >> $GITHUB_ENV - export GITHUB_TAG=${EXTERNAL_VERSION}-$(echo ${{ env.GITHUB_SHA }} | cut -c1-8) - echo "GITHUB_TAG=$GITHUB_TAG" >> $GITHUB_ENV - wget https://raw.githubusercontent.com/netbootxyz/build-pipelines/master/build.sh && chmod +x build.sh - - - name: Compare tag - id: compare - run: ./build.sh compare ${{ env.GITHUB_TAG }} - continue-on-error: true - - - name: Build if newer tag is available - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - ./build.sh build ${{ env.BUILD_TYPE }} - git tag ${{ env.GITHUB_TAG }} - - - name: Generate Release Notes - run: | - echo "Release generated for Branch: **${{ env.BRANCH }}**" > ${{ github.workspace }}-CHANGELOG.txt - - - name: Create release and upload assets - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ env.GITHUB_TAG }} - name: ${{ env.GITHUB_TAG }} - draft: false - prerelease: false - files: buildout/* - token: ${{ secrets.GITHUB_TOKEN }} - body_path: ${{ github.workspace }}-CHANGELOG.txt - - - name: Generate endpoints - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - git config --global user.name netboot-ci - git config --global user.email netboot-ci@netboot.xyz - ./build.sh endpoints ${{ env.GITHUB_TAG }} - - - name: Notify Discord on failure - if: failure() - run: | - ./build.sh discord failure - - - name: Notify Discord on completion - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' && success() - run: | - ./build.sh discord success diff --git a/.github/workflows/ubuntu-kylin-18.04.yml b/.github/workflows/ubuntu-kylin-18.04.yml deleted file mode 100644 index ac4deb2..0000000 --- a/.github/workflows/ubuntu-kylin-18.04.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: ubuntu-kylin-18.04 - -on: - push: - branches: - - ubuntu-kylin-18.04 - paths-ignore: - - '.github/workflows/**' - schedule: - - cron: '0 4 * * 4' - workflow_dispatch: - -env: - BRANCH: ubuntu-kylin-18.04 - GITHUB_ENDPOINT: netbootxyz/ubuntu-squash - DISCORD_HOOK_URL: ${{ secrets.DISCORD_HOOK_URL }} - BUILD_TYPE: iso_extraction - DEBIAN_FRONTEND: noninteractive - CI_TOKEN: ${{ secrets.CI_TOKEN }} - -jobs: - version-checker: - name: Version Checker - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: ubuntu-kylin-18.04 - - - name: Get SHA of actual branch instead of master - run: | - export GITHUB_SHA=$(git rev-parse HEAD) - echo "GITHUB_SHA=$GITHUB_SHA" >> $GITHUB_ENV - - - name: Retrieve latest version from upstream and set vars - run: | - export EXTERNAL_VERSION=$(sudo bash version.sh) - echo "EXTERNAL_VERSION=$EXTERNAL_VERSION" >> $GITHUB_ENV - export GITHUB_TAG=${EXTERNAL_VERSION}-$(echo ${{ env.GITHUB_SHA }} | cut -c1-8) - echo "GITHUB_TAG=$GITHUB_TAG" >> $GITHUB_ENV - wget https://raw.githubusercontent.com/netbootxyz/build-pipelines/master/build.sh && chmod +x build.sh - - - name: Compare tag - id: compare - run: ./build.sh compare ${{ env.GITHUB_TAG }} - continue-on-error: true - - - name: Build if newer tag is available - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - ./build.sh build ${{ env.BUILD_TYPE }} - git tag ${{ env.GITHUB_TAG }} - - - name: Generate Release Notes - run: | - echo "Release generated for Branch: **${{ env.BRANCH }}**" > ${{ github.workspace }}-CHANGELOG.txt - - - name: Create release and upload assets - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ env.GITHUB_TAG }} - name: ${{ env.GITHUB_TAG }} - draft: false - prerelease: false - files: buildout/* - token: ${{ secrets.GITHUB_TOKEN }} - body_path: ${{ github.workspace }}-CHANGELOG.txt - - - name: Generate endpoints - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - git config --global user.name netboot-ci - git config --global user.email netboot-ci@netboot.xyz - ./build.sh endpoints ${{ env.GITHUB_TAG }} - - - name: Notify Discord on failure - if: failure() - run: | - ./build.sh discord failure - - - name: Notify Discord on completion - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' && success() - run: | - ./build.sh discord success diff --git a/.github/workflows/ubuntu-kylin-23.10.yml b/.github/workflows/ubuntu-kylin-23.10.yml deleted file mode 100644 index 786cdd0..0000000 --- a/.github/workflows/ubuntu-kylin-23.10.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: ubuntu-kylin-23.10 - -on: - push: - branches: - - ubuntu-kylin-23.10 - paths-ignore: - - '.github/workflows/**' - schedule: - - cron: '0 4 * * 4' - workflow_dispatch: - -env: - BRANCH: ubuntu-kylin-23.10 - GITHUB_ENDPOINT: netbootxyz/ubuntu-squash - DISCORD_HOOK_URL: ${{ secrets.DISCORD_HOOK_URL }} - BUILD_TYPE: initrd_patch - DEBIAN_FRONTEND: noninteractive - CI_TOKEN: ${{ secrets.CI_TOKEN }} - -jobs: - version-checker: - name: Version Checker - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: ubuntu-kylin-23.10 - - - name: Get SHA of actual branch instead of master - run: | - export GITHUB_SHA=$(git rev-parse HEAD) - echo "GITHUB_SHA=$GITHUB_SHA" >> $GITHUB_ENV - - - name: Retrieve latest version from upstream and set vars - run: | - export EXTERNAL_VERSION=$(sudo bash version.sh) - echo "EXTERNAL_VERSION=$EXTERNAL_VERSION" >> $GITHUB_ENV - export GITHUB_TAG=${EXTERNAL_VERSION}-$(echo ${{ env.GITHUB_SHA }} | cut -c1-8) - echo "GITHUB_TAG=$GITHUB_TAG" >> $GITHUB_ENV - wget https://raw.githubusercontent.com/netbootxyz/build-pipelines/master/build.sh && chmod +x build.sh - - - name: Compare tag - id: compare - run: ./build.sh compare ${{ env.GITHUB_TAG }} - continue-on-error: true - - - name: Build if newer tag is available - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - ./build.sh build ${{ env.BUILD_TYPE }} - git tag ${{ env.GITHUB_TAG }} - - - name: Generate Release Notes - run: | - echo "Release generated for Branch: **${{ env.BRANCH }}**" > ${{ github.workspace }}-CHANGELOG.txt - - - name: Create release and upload assets - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ env.GITHUB_TAG }} - name: ${{ env.GITHUB_TAG }} - draft: false - prerelease: false - files: buildout/* - token: ${{ secrets.GITHUB_TOKEN }} - body_path: ${{ github.workspace }}-CHANGELOG.txt - - - name: Generate endpoints - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - git config --global user.name netboot-ci - git config --global user.email netboot-ci@netboot.xyz - ./build.sh endpoints ${{ env.GITHUB_TAG }} - - - name: Notify Discord on failure - if: failure() - run: | - ./build.sh discord failure - - - name: Notify Discord on completion - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' && success() - run: | - ./build.sh discord success diff --git a/.github/workflows/ubuntu-mate-18.04.yml b/.github/workflows/ubuntu-mate-18.04.yml deleted file mode 100644 index 60f93a2..0000000 --- a/.github/workflows/ubuntu-mate-18.04.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: ubuntu-mate-18.04 - -on: - push: - branches: - - ubuntu-mate-18.04 - paths-ignore: - - '.github/workflows/**' - schedule: - - cron: '0 4 * * 4' - workflow_dispatch: - -env: - BRANCH: ubuntu-mate-18.04 - GITHUB_ENDPOINT: netbootxyz/ubuntu-squash - DISCORD_HOOK_URL: ${{ secrets.DISCORD_HOOK_URL }} - BUILD_TYPE: iso_extraction - DEBIAN_FRONTEND: noninteractive - CI_TOKEN: ${{ secrets.CI_TOKEN }} - -jobs: - version-checker: - name: Version Checker - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: ubuntu-mate-18.04 - - - name: Get SHA of actual branch instead of master - run: | - export GITHUB_SHA=$(git rev-parse HEAD) - echo "GITHUB_SHA=$GITHUB_SHA" >> $GITHUB_ENV - - - name: Retrieve latest version from upstream and set vars - run: | - export EXTERNAL_VERSION=$(sudo bash version.sh) - echo "EXTERNAL_VERSION=$EXTERNAL_VERSION" >> $GITHUB_ENV - export GITHUB_TAG=${EXTERNAL_VERSION}-$(echo ${{ env.GITHUB_SHA }} | cut -c1-8) - echo "GITHUB_TAG=$GITHUB_TAG" >> $GITHUB_ENV - wget https://raw.githubusercontent.com/netbootxyz/build-pipelines/master/build.sh && chmod +x build.sh - - - name: Compare tag - id: compare - run: ./build.sh compare ${{ env.GITHUB_TAG }} - continue-on-error: true - - - name: Build if newer tag is available - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - ./build.sh build ${{ env.BUILD_TYPE }} - git tag ${{ env.GITHUB_TAG }} - - - name: Generate Release Notes - run: | - echo "Release generated for Branch: **${{ env.BRANCH }}**" > ${{ github.workspace }}-CHANGELOG.txt - - - name: Create release and upload assets - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ env.GITHUB_TAG }} - name: ${{ env.GITHUB_TAG }} - draft: false - prerelease: false - files: buildout/* - token: ${{ secrets.GITHUB_TOKEN }} - body_path: ${{ github.workspace }}-CHANGELOG.txt - - - name: Generate endpoints - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - git config --global user.name netboot-ci - git config --global user.email netboot-ci@netboot.xyz - ./build.sh endpoints ${{ env.GITHUB_TAG }} - - - name: Notify Discord on failure - if: failure() - run: | - ./build.sh discord failure - - - name: Notify Discord on completion - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' && success() - run: | - ./build.sh discord success diff --git a/.github/workflows/ubuntu-mate-23.10.yml b/.github/workflows/ubuntu-mate-23.10.yml deleted file mode 100644 index e64daa7..0000000 --- a/.github/workflows/ubuntu-mate-23.10.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: ubuntu-mate-23.10 - -on: - push: - branches: - - ubuntu-mate-23.10 - paths-ignore: - - '.github/workflows/**' - schedule: - - cron: '0 4 * * 4' - workflow_dispatch: - -env: - BRANCH: ubuntu-mate-23.10 - GITHUB_ENDPOINT: netbootxyz/ubuntu-squash - DISCORD_HOOK_URL: ${{ secrets.DISCORD_HOOK_URL }} - BUILD_TYPE: initrd_patch - DEBIAN_FRONTEND: noninteractive - CI_TOKEN: ${{ secrets.CI_TOKEN }} - -jobs: - version-checker: - name: Version Checker - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: ubuntu-mate-23.10 - - - name: Get SHA of actual branch instead of master - run: | - export GITHUB_SHA=$(git rev-parse HEAD) - echo "GITHUB_SHA=$GITHUB_SHA" >> $GITHUB_ENV - - - name: Retrieve latest version from upstream and set vars - run: | - export EXTERNAL_VERSION=$(sudo bash version.sh) - echo "EXTERNAL_VERSION=$EXTERNAL_VERSION" >> $GITHUB_ENV - export GITHUB_TAG=${EXTERNAL_VERSION}-$(echo ${{ env.GITHUB_SHA }} | cut -c1-8) - echo "GITHUB_TAG=$GITHUB_TAG" >> $GITHUB_ENV - wget https://raw.githubusercontent.com/netbootxyz/build-pipelines/master/build.sh && chmod +x build.sh - - - name: Compare tag - id: compare - run: ./build.sh compare ${{ env.GITHUB_TAG }} - continue-on-error: true - - - name: Build if newer tag is available - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - ./build.sh build ${{ env.BUILD_TYPE }} - git tag ${{ env.GITHUB_TAG }} - - - name: Generate Release Notes - run: | - echo "Release generated for Branch: **${{ env.BRANCH }}**" > ${{ github.workspace }}-CHANGELOG.txt - - - name: Create release and upload assets - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ env.GITHUB_TAG }} - name: ${{ env.GITHUB_TAG }} - draft: false - prerelease: false - files: buildout/* - token: ${{ secrets.GITHUB_TOKEN }} - body_path: ${{ github.workspace }}-CHANGELOG.txt - - - name: Generate endpoints - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - git config --global user.name netboot-ci - git config --global user.email netboot-ci@netboot.xyz - ./build.sh endpoints ${{ env.GITHUB_TAG }} - - - name: Notify Discord on failure - if: failure() - run: | - ./build.sh discord failure - - - name: Notify Discord on completion - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' && success() - run: | - ./build.sh discord success diff --git a/.github/workflows/xubuntu-18.04.yml b/.github/workflows/xubuntu-18.04.yml deleted file mode 100644 index 6dee36b..0000000 --- a/.github/workflows/xubuntu-18.04.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: xubuntu-18.04 - -on: - push: - branches: - - xubuntu-18.04 - paths-ignore: - - '.github/workflows/**' - schedule: - - cron: '0 4 * * 4' - workflow_dispatch: - -env: - BRANCH: xubuntu-18.04 - GITHUB_ENDPOINT: netbootxyz/ubuntu-squash - DISCORD_HOOK_URL: ${{ secrets.DISCORD_HOOK_URL }} - BUILD_TYPE: iso_extraction - DEBIAN_FRONTEND: noninteractive - CI_TOKEN: ${{ secrets.CI_TOKEN }} - -jobs: - version-checker: - name: Version Checker - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: xubuntu-18.04 - - - name: Get SHA of actual branch instead of master - run: | - export GITHUB_SHA=$(git rev-parse HEAD) - echo "GITHUB_SHA=$GITHUB_SHA" >> $GITHUB_ENV - - - name: Retrieve latest version from upstream and set vars - run: | - export EXTERNAL_VERSION=$(sudo bash version.sh) - echo "EXTERNAL_VERSION=$EXTERNAL_VERSION" >> $GITHUB_ENV - export GITHUB_TAG=${EXTERNAL_VERSION}-$(echo ${{ env.GITHUB_SHA }} | cut -c1-8) - echo "GITHUB_TAG=$GITHUB_TAG" >> $GITHUB_ENV - wget https://raw.githubusercontent.com/netbootxyz/build-pipelines/master/build.sh && chmod +x build.sh - - - name: Compare tag - id: compare - run: ./build.sh compare ${{ env.GITHUB_TAG }} - continue-on-error: true - - - name: Build if newer tag is available - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - ./build.sh build ${{ env.BUILD_TYPE }} - git tag ${{ env.GITHUB_TAG }} - - - name: Generate Release Notes - run: | - echo "Release generated for Branch: **${{ env.BRANCH }}**" > ${{ github.workspace }}-CHANGELOG.txt - - - name: Create release and upload assets - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ env.GITHUB_TAG }} - name: ${{ env.GITHUB_TAG }} - draft: false - prerelease: false - files: buildout/* - token: ${{ secrets.GITHUB_TOKEN }} - body_path: ${{ github.workspace }}-CHANGELOG.txt - - - name: Generate endpoints - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' - run: | - git config --global user.name netboot-ci - git config --global user.email netboot-ci@netboot.xyz - ./build.sh endpoints ${{ env.GITHUB_TAG }} - - - name: Notify Discord on failure - if: failure() - run: | - ./build.sh discord failure - - - name: Notify Discord on completion - if: steps.compare.outcome == 'success' && steps.compare.conclusion == 'success' && success() - run: | - ./build.sh discord success