Skip to content

Commit 510b401

Browse files
committed
#125: ci: Revert temporary docker image changes
1 parent 7a7e6ac commit 510b401

File tree

1 file changed

+23
-43
lines changed

1 file changed

+23
-43
lines changed

.github/workflows/build-and-test-ubuntu.yml

Lines changed: 23 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,27 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
host: [
18-
# {
19-
# base: ubuntu-22.04,
20-
# compiler: { cc: gcc-11 },
21-
# python: ['3.8', '3.9', '3.10', '3.11', '3.12'],
22-
# vtk: '9.2.2',
23-
# image: ubuntu_22.04-gcc_11-vtk_9.2.2-py_3.all
24-
# },
25-
# {
26-
# base: ubuntu-22.04,
27-
# compiler: { cc: clang-11 },
28-
# python: ['3.8', '3.9', '3.10', '3.11', '3.12'],
29-
# vtk: '9.2.2',
30-
# image: ubuntu_22.04-clang_11-vtk_9.2.2-py_3.all
31-
# },
32-
# {
33-
# base: ubuntu-22.04,
34-
# compiler: { cc: gcc-12 },
35-
# python: ['3.8', '3.9', '3.10', '3.11', '3.12'],
36-
# vtk: '9.3.0',
37-
# image: ubuntu_22.04-gcc_12-vtk_9.3.0-py_3.all
38-
# },
18+
{
19+
base: ubuntu-22.04,
20+
compiler: { cc: gcc-11 },
21+
python: ['3.8', '3.9', '3.10', '3.11', '3.12'],
22+
vtk: '9.2.2',
23+
image: ubuntu_22.04-gcc_11-vtk_9.2.2-py_3.all
24+
},
25+
{
26+
base: ubuntu-22.04,
27+
compiler: { cc: clang-11 },
28+
python: ['3.8', '3.9', '3.10', '3.11', '3.12'],
29+
vtk: '9.2.2',
30+
image: ubuntu_22.04-clang_11-vtk_9.2.2-py_3.all
31+
},
32+
{
33+
base: ubuntu-22.04,
34+
compiler: { cc: gcc-12 },
35+
python: ['3.8', '3.9', '3.10', '3.11', '3.12'],
36+
vtk: '9.3.0',
37+
image: ubuntu_22.04-gcc_12-vtk_9.3.0-py_3.all
38+
},
3939
{
4040
base: ubuntu-24.04,
4141
compiler: { cc: gcc-13 },
@@ -61,8 +61,6 @@ jobs:
6161
- name: Set up Docker Buildx
6262
id: buildx
6363
uses: docker/setup-buildx-action@v3
64-
with:
65-
driver: docker
6664

6765
- name: Inspect Builder
6866
run: |
@@ -73,24 +71,6 @@ jobs:
7371
echo "Platforms: ${{ steps.buildx.outputs.platforms }}"
7472
echo "DOCKER_TAG: ${{ env.DOCKER_TAG }}"
7573
76-
77-
##### DELETE THIS LATER
78-
- name: TEMPORARY - Build modified base image - TEMPORARY
79-
id: build_base_local
80-
uses: docker/build-push-action@v6
81-
with:
82-
context: .
83-
file: ci/docker/base-ubuntu.dockerfile
84-
build-args: |
85-
BASE_IMAGE=ubuntu:24.04
86-
CC=${{ matrix.host.compiler.cc }}
87-
VTK_VERSION=${{ matrix.host.vtk }}
88-
PYTHON_VERSIONS=3.8,3.9,3.10,3.11,3.12
89-
push: false
90-
load: true
91-
tags: vt-base:${{ matrix.host.image }}-pr-${{ github.sha }}
92-
#######################
93-
9474
- name: Build the Docker Image; build and test vt-tv
9575
id: docker_build
9676
continue-on-error: false
@@ -100,8 +80,8 @@ jobs:
10080
# tags: ${{ env.DOCKER_TAG }}
10181
context: .
10282
file: ./ci/docker/build-and-test-ubuntu.dockerfile
103-
build-args: | # TEMPORARY change: switch back BASE_IMAGE later
104-
BASE_IMAGE=vt-base:${{ matrix.host.image }}-pr-${{ github.sha }}
83+
build-args: |
84+
BASE_IMAGE=${{ env.DOCKER_REPOSITORY }}:${{ matrix.host.image }}
10585
VT_TV_TESTS_ENABLED=${{ env.VT_TV_TESTS_ENABLED }}
10686
VT_TV_COVERAGE_ENABLED=${{ env.VT_TV_COVERAGE_ENABLED }}
10787
outputs: type=local,dest=${{ env.OUTPUT_DIR }}

0 commit comments

Comments
 (0)