File tree Expand file tree Collapse file tree 3 files changed +3
-21
lines changed
Expand file tree Collapse file tree 3 files changed +3
-21
lines changed Original file line number Diff line number Diff line change 4242
4343 - name : Build docker container
4444 run : |
45- cd ${GITHUB_WORKSPACE}/
46- ls -la
47- ls -la sql
48- ls -la tests/
49- ls -la tests/tap
50- ls -la tests/tap/t
51- cat tests/tap/t/011_zodan_sync_third.pl
52- docker build \
45+ docker build \
5346 --build-arg PGVER=${{ matrix.pgver }} \
5447 -t spock -f tests/docker/Dockerfile-step-1.el9 .
5548
Original file line number Diff line number Diff line change @@ -47,18 +47,8 @@ RUN . /home/pgedge/.bashrc && export PG_CONFIG=/home/pgedge/pgedge/pg$PGVER/bin/
4747RUN echo "==========Built Spock=========="
4848
4949#-----------------------------------------
50- COPY \
51- tests/docker/entrypoint.sh \
52- tests/docker/run-tests.sh \
53- tests/docker/run-spock-regress.sh \
54- tests/docker/run-spock-tap.sh \
55- /home/pgedge
56-
57- RUN sudo chmod +x \
58- /home/pgedge/entrypoint.sh \
59- /home/pgedge/run-tests.sh \
60- /home/pgedge/run-spock-regress.sh \
61- /home/pgedge/run-spock-tap.sh
50+ COPY tests/docker/*.sh /home/pgedge/
51+ RUN sudo chmod +x /home/pgedge/*.sh
6252
6353WORKDIR /home/pgedge/
6454USER pgedge
Original file line number Diff line number Diff line change 77export PG_CONFIG=/home/pgedge/pgedge/pg${PGVER} /bin/pg_config
88export PATH=/home/pgedge/pgedge/pg${PGVER} /bin:$PATH
99export LD_LIBRARY_PATH=/home/pgedge/pgedge/pg${PGVER} /lib/:$LD_LIBRARY_PATH
10- export PROVE_TESTS=$proven_tests
1110
1211# PGVER should be previously set in the environment
1312if [ -z " ${PGVER} " ]
You can’t perform that action at this time.
0 commit comments