File tree Expand file tree Collapse file tree 3 files changed +15
-11
lines changed
encrypted-execution/tools/test Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,17 @@ jobs:
3030 shell : bash
3131 working-directory : ./8.4/bookworm/apache/
3232 - name : Build
33- run : ./publish-image.sh
34- shell : bash
35- working-directory : ./8.4/bookworm/apache/
36- - name : Run Test Suite
37- run : ./workflow-test.sh
38- working-directory : ./encrypted-execution/tools/test/
39- - name : Publish 8.4 Apache Git Package Repository
40- run : ./publish-image.sh -p
33+ run : ./publish-image.sh -g
4134 shell : bash
4235 working-directory : ./8.4/bookworm/apache/
36+ # - name: Run Test Suite
37+ # run: ./workflow-test.sh
38+ # shell: bash
39+ # working-directory: ./encrypted-execution/tools/test/
40+ # - name: Publish 8.4 Apache Git Package Repository
41+ # run: ./publish-image.sh -g
42+ # shell: bash
43+ # working-directory: ./8.4/bookworm/apache/
4344# - name: Trigger Downstream
4445# run: |
4546# curl \
Original file line number Diff line number Diff line change 1- #! /bin/sh
1+ #! /bin/bash
22# Copyright (c) 2020 Polyverse Corporation
33
44PHP_VERSION=8.4
@@ -10,9 +10,11 @@ headsha=$(git rev-parse --verify HEAD)
1010
1111
1212docker build -t $image :$headsha .
13+ echo " Pushing with commit tag..."
1314docker push $image :$headsha
1415
15- if [[ " $1 " == " -p" ]]; then
16+ if [[ " $1 " == " -g" ]]; then
17+
1618 echo " Pushing as latest tag..."
1719 docker tag $image :$headsha $image :latest
1820 docker push $image :latest
Original file line number Diff line number Diff line change @@ -7,8 +7,9 @@ git_root=`git rev-parse --show-toplevel`
77trap " docker stop $container " EXIT
88echo $image
99
10+ echo " Pulling test image..."
1011echo " Running image"
11- docker run --rm --name " $container " -tid " $image :latest " bash
12+ docker run --rm --name " $container " -tid " $image :$git_root " bash
1213docker exec -w $encrypted_execution_dir $container $encrypted_execution_dir /build-scrambled.sh
1314echo " copying test"
1415docker cp $git_root /encrypted-execution/tools/test/ $container :$encrypted_execution_dir
You can’t perform that action at this time.
0 commit comments