Skip to content

Community Edition 9.8.44-rc1 Release Candidate 1 #1670

Community Edition 9.8.44-rc1 Release Candidate 1

Community Edition 9.8.44-rc1 Release Candidate 1 #1670

name: Build and publish
# This workflow is triggered on new tags of Community Edition 7.8.x or later,
# or any of the weekly tag names starting 'master'
on:
push:
tags:
- 'master*'
- 'community_*'
- '!community_7.6.*'
- '!community_7.4.*'
- '!community_7.2.*'
- '!community_7.0.*'
- '!community_6.*'
jobs:
build:
name: "Build and publish release container"
runs-on: ubuntu-20.04
if: github.repository == 'hpcc-systems/HPCC-Platform'
steps:
- name: Free additional disk space (remove Android SDK + Tools)
run: |
sudo rm -rf /usr/local/lib/android
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: ./dockerfiles
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
latest: 1 # this should only be set on the current minor branch
github_actor: ${{ secrets.LNB_ACTOR }}
github_token: ${{ secrets.LNB_TOKEN }}
sign_modules: 1
signing_secret: ${{ secrets.SIGNING_SECRET }}
signing_keyid: ${{ secrets.SIGNING_KEYID }}
signing_passphrase: ${{ secrets.SIGNING_PASSPHRASE }}
ml-builds:
needs: build
runs-on: ubuntu-20.04
if: github.repository == 'hpcc-systems/HPCC-Platform'
strategy:
matrix:
engine: ['ml', 'gnn', 'gnn-gpu']
steps:
- name: Free additional disk space (remove Android SDK + Tools)
run: |
sudo rm -rf /usr/local/lib/android
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: ./dockerfiles
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
latest: 1 # this should only be set on the current minor branch
build_ml: ${{ matrix.engine }}
github_actor: ${{ secrets.LNB_ACTOR }}
github_token: ${{ secrets.LNB_TOKEN }}
test-build:
name: "Test published image"
needs: build
runs-on: ubuntu-22.04
if: github.repository == 'hpcc-systems/HPCC-Platform'
env:
WF_YAML_FILE: az-bvt.yml
steps:
- name: "Trigger external azure test code"
run: |
community_tag=$( echo ${{ github.ref }} | cut -d'/' -f3 )
hpcc_version=$( echo $community_tag | sed 's/community_//' | sed 's/-[0-9]$//' )
data="{\"ref\":\"main\", \"inputs\":{ \"hpccVersion\":\"$hpcc_version\",\"hpccSrcBranch\":\"$community_tag\" }}"
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GAHT_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/xwang2713/github-action-hpcc-terraform/actions/workflows/$WF_YAML_FILE/dispatches \
-d "${data}"