-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/candidate-9.4.x'
Signed-off-by: Gavin Halliday <[email protected]> # Conflicts: # helm/hpcc/Chart.yaml # helm/hpcc/templates/_helpers.tpl # helm/hpcc/templates/dafilesrv.yaml # helm/hpcc/templates/dali.yaml # helm/hpcc/templates/dfuserver.yaml # helm/hpcc/templates/eclagent.yaml # helm/hpcc/templates/eclccserver.yaml # helm/hpcc/templates/eclscheduler.yaml # helm/hpcc/templates/esp.yaml # helm/hpcc/templates/localroxie.yaml # helm/hpcc/templates/roxie.yaml # helm/hpcc/templates/sasha.yaml # helm/hpcc/templates/thor.yaml # version.cmake
- Loading branch information
Showing
32 changed files
with
869 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,6 +112,9 @@ jobs: | |
- os: ubuntu-22.04 | ||
name: LN | ||
ln: true | ||
- os: ubuntu-22.04 | ||
name: Enterprise | ||
ee: true | ||
- os: ubuntu-20.04 | ||
name: LN | ||
ln: true | ||
|
@@ -138,7 +141,7 @@ jobs: | |
path: ${{ needs.preamble.outputs.folder_platform }} | ||
|
||
- name: Checkout LN | ||
if: ${{ matrix.ln }} | ||
if: ${{ matrix.ln || matrix.ee }} | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: ${{ github.repository_owner }}/LN | ||
|
@@ -192,7 +195,7 @@ jobs: | |
|
||
# Communtiy Build | ||
- name: CMake Packages (community) | ||
if: ${{ !matrix.ln && !matrix.container && !matrix.documentation }} | ||
if: ${{ !matrix.ln && !matrix.ee && !matrix.container && !matrix.documentation }} | ||
run: | | ||
mkdir -p ${{ needs.preamble.outputs.folder_build }} | ||
echo "${{ secrets.SIGNING_SECRET }}" > ${{ needs.preamble.outputs.folder_build }}/private.key | ||
|
@@ -209,7 +212,7 @@ jobs: | |
done | ||
- name: CMake Containerized Packages (community) | ||
if: ${{ !matrix.ln && matrix.container && !matrix.documentation }} | ||
if: ${{ !matrix.ln && !matrix.ee && matrix.container && !matrix.documentation }} | ||
run: | | ||
mkdir -p ${{ needs.preamble.outputs.folder_build }} | ||
echo "${{ secrets.SIGNING_SECRET }}" > ${{ needs.preamble.outputs.folder_build }}/private.key | ||
|
@@ -223,7 +226,7 @@ jobs: | |
cmake --build /hpcc-dev/build --parallel $(nproc) --target package" | ||
- name: CMake documentation (community) | ||
if: ${{ !matrix.ln && !matrix.container && matrix.documentation }} | ||
if: ${{ !matrix.ln && !matrix.ee && !matrix.container && matrix.documentation }} | ||
run: | | ||
mkdir -p {${{needs.preamble.outputs.folder_build }},EN_US,PT_BR} | ||
sudo rm -f ${{ needs.preamble.outputs.folder_build }}/CMakeCache.txt | ||
|
@@ -235,7 +238,7 @@ jobs: | |
docker run --rm --mount ${{ needs.preamble.outputs.mount_platform }} --mount ${{ needs.preamble.outputs.mount_build }} ${{ steps.vars.outputs.docker_tag_candidate_base }} "cd /hpcc-dev/build/Release/docs/PT_BR && zip ALL_HPCC_DOCS_PT_BR-${{ needs.preamble.outputs.community_tag }}.zip *.pdf" | ||
- name: Upload Assets (community) | ||
if: ${{ !matrix.ln }} | ||
if: ${{ !matrix.ln && !matrix.ee }} | ||
uses: ncipollo/[email protected] | ||
with: | ||
allowUpdates: true | ||
|
@@ -244,7 +247,7 @@ jobs: | |
artifacts: "${{ needs.preamble.outputs.folder_build }}/*.deb,${{ needs.preamble.outputs.folder_build }}/*.rpm,${{ needs.preamble.outputs.folder_build }}/Release/docs/*.zip,${{ needs.preamble.outputs.folder_build }}/Release/docs/EN_US/*.zip,${{ needs.preamble.outputs.folder_build }}/Release/docs/PT_BR/*.zip,${{ needs.preamble.outputs.folder_build }}/docs/EN_US/EclipseHelp/*.zip,${{ needs.preamble.outputs.folder_build }}/docs/EN_US/HTMLHelp/*.zip,${{ needs.preamble.outputs.folder_build }}/docs/PT_BR/HTMLHelp/*.zip" | ||
|
||
- name: Locate k8s deb file (community) | ||
if: ${{ !matrix.ln && matrix.container && !matrix.documentation }} | ||
if: ${{ !matrix.ln && !matrix.ee && matrix.container && !matrix.documentation }} | ||
id: container | ||
run: | | ||
k8s_pkg_path=$(ls -t ${{ needs.preamble.outputs.folder_build }}/*64_k8s.deb 2>/dev/null | head -1) | ||
|
@@ -254,7 +257,7 @@ jobs: | |
- name: Create Docker Image (community) | ||
uses: docker/build-push-action@v4 | ||
if: ${{ !matrix.ln && matrix.container && !matrix.documentation }} | ||
if: ${{ !matrix.ln && !matrix.ee && matrix.container && !matrix.documentation }} | ||
with: | ||
builder: ${{ steps.buildx.outputs.name }} | ||
file: ${{ needs.preamble.outputs.folder_platform }}/dockerfiles/vcpkg/platform-core-${{ matrix.os }}/Dockerfile | ||
|
@@ -360,6 +363,33 @@ jobs: | |
jf docker push ${{ secrets.JFROG_REGISTRY || 'dummy.io' }}/hpccpl-docker-local/platform-core-ln:${{ needs.preamble.outputs.hpcc_version }} --build-name=platform-core-ln --build-number=${{ needs.preamble.outputs.hpcc_version }} --project=hpccpl | ||
jf rt bp platform-core-ln ${{ needs.preamble.outputs.hpcc_version }} --project=hpccpl | ||
# Enterprise Build --- | ||
- name: CMake Packages (enterprise) | ||
if: ${{ matrix.ee }} | ||
run: | | ||
mkdir -p ${{ needs.preamble.outputs.folder_build }} | ||
echo "${{ secrets.SIGNING_SECRET }}" > ${{ needs.preamble.outputs.folder_build }}/private.key | ||
sudo rm -f ${{ needs.preamble.outputs.folder_build }}/CMakeCache.txt | ||
sudo rm -rf ${{ needs.preamble.outputs.folder_build }}/CMakeFiles | ||
docker run --rm --mount ${{ needs.preamble.outputs.mount_platform }} --mount ${{ needs.preamble.outputs.mount_ln }} --mount ${{ needs.preamble.outputs.mount_build }} ${{ steps.vars.outputs.docker_tag_candidate_base }} "${{ needs.preamble.outputs.gpg_import }} && \ | ||
cmake -S /hpcc-dev/LN -B /hpcc-dev/build -DHPCC_SOURCE_DIR=/hpcc-dev/HPCC-Platform ${{ needs.preamble.outputs.cmake_docker_config }} -DBUILD_LEVEL=ENTERPRISE -DSIGN_MODULES_PASSPHRASE=${{ secrets.SIGN_MODULES_PASSPHRASE }} -DSIGN_MODULES_KEYID=${{ secrets.SIGN_MODULES_KEYID }} -DPLATFORM=ON -DINCLUDE_PLUGINS=ON -DCONTAINERIZED=OFF -DSUPPRESS_REMBED=ON -DSUPPRESS_V8EMBED=ON -DSUPPRESS_SPARK=ON -DCPACK_STRIP_FILES=OFF && \ | ||
cmake --build /hpcc-dev/build --parallel $(nproc) --target package" | ||
- name: Upload Assets (enterprise) | ||
if: ${{ matrix.ee }} | ||
uses: ncipollo/[email protected] | ||
with: | ||
allowUpdates: true | ||
generateReleaseNotes: false | ||
prerelease: ${{ contains(github.ref, '-rc') }} | ||
owner: ${{ secrets.LNB_ACTOR }} | ||
repo: LN | ||
token: ${{ secrets.LNB_TOKEN }} | ||
tag: ${{ needs.preamble.outputs.internal_tag }} | ||
artifacts: "${{ needs.preamble.outputs.folder_build }}/hpccsystems-platform-enterprise*.deb,${{ needs.preamble.outputs.folder_build }}/hpccsystems-platform-enterprise*.rpm" | ||
|
||
|
||
# Common --- | ||
- name: Cleanup Environment | ||
if: always() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.