-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HPCC-33379 CentOS-7 and Python 3.8 build failing
Bump vcpkg submodule to latest Signed-off-by: Gordon Smith <[email protected]>
- Loading branch information
1 parent
0675b2d
commit c222bc8
Showing
5 changed files
with
30 additions
and
6 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 |
---|---|---|
|
@@ -108,22 +108,27 @@ jobs: | |
run: | | ||
branch_label_1=${{ github.base_ref }} | ||
branch_label_2=$(echo ${{ github.ref }} | cut -d'/' -f3) | ||
echo "branch_label=${branch_label_1:-$branch_label_2}" >> $GITHUB_OUTPUT | ||
branch_label=${branch_label_1:-$branch_label_2} | ||
echo "branch_label=$branch_label" >> $GITHUB_OUTPUT | ||
vcpkg_sha_short=$(git rev-parse --short=8 HEAD) | ||
echo "vcpkg_sha_short=$vcpkg_sha_short" >> $GITHUB_OUTPUT | ||
docker_build_label=hpccsystems/platform-build-base-${{ inputs.os }} | ||
docker_build_label=hpccsystems/platform-build-${{ inputs.os }} | ||
echo "docker_tag=$docker_build_label:$vcpkg_sha_short" >> $GITHUB_OUTPUT | ||
echo "docker_tag_candidate_base=$docker_build_label:$branch_label" >> $GITHUB_OUTPUT | ||
- name: Print vars | ||
shell: "bash" | ||
run: | | ||
echo "${{ toJSON(steps.vars.outputs) }}" | ||
- uses: docker/setup-buildx-action@v2 | ||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Pull Build Image | ||
run: | | ||
docker pull ${{ steps.vars.outputs.docker_tag }} || true | ||
docker pull ${{ steps.vars.outputs.docker_tag_candidate_base }} || true | ||
- uses: hendrikmuhs/[email protected] | ||
with: | ||
|
@@ -135,6 +140,22 @@ jobs: | |
docker-${{ inputs.os }}-${{ inputs.build-type }}- | ||
docker-${{ inputs.os }}- | ||
- name: Docker build image | ||
uses: docker/build-push-action@v5 | ||
with: | ||
builder: ${{ steps.buildx.outputs.name }} | ||
file: HPCC-Platform/dockerfiles/vcpkg/${{ inputs.os }}.dockerfile | ||
context: HPCC-Platform/dockerfiles/vcpkg/. | ||
push: false | ||
build-args: | | ||
VCPKG_REF=${{ steps.vars.outputs.vcpkg_sha_short }} | ||
tags: | | ||
${{ steps.vars.outputs.docker_tag }} | ||
${{ steps.vars.outputs.docker_tag_candidate_base }} | ||
cache-from: | | ||
type=registry,ref=${{ steps.vars.outputs.docker_tag }} | ||
type=registry,ref=${{ steps.vars.outputs.docker_tag_candidate_base }} | ||
- name: CMake Configure and Build | ||
shell: "bash" | ||
run: | | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
ARG VCPKG_REF=latest | ||
FROM hpccsystems/platform-build-base-centos-7:$VCPKG_REF | ||
|
||
RUN yum install -y flex bison && \ | ||
yum clean all | ||
|
||
ENTRYPOINT ["/bin/bash", "--login", "-c"] | ||
|
||
CMD ["/bin/bash"] |
Submodule vcpkg
updated
9 files
+1 −0 | .dockerignore | |
+1 −2 | .github/workflows/prebuild-docker.yml | |
+10 −8 | .github/workflows/prebuild-gh_envs.yml | |
+44 −0 | dockerfiles/CentOS-Base.repo | |
+4 −4 | dockerfiles/build.sh | |
+5 −5 | dockerfiles/centos-7.dockerfile | |
+4 −1 | dockerfiles/centos-8.dockerfile | |
+119 −0 | vcpkg-win2022.json | |
+1 −1 | vcpkg.json |