File tree Expand file tree Collapse file tree 5 files changed +13
-5
lines changed Expand file tree Collapse file tree 5 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 90
90
nodeVersion : ['18.x', '20.x', '22.x']
91
91
steps :
92
92
- uses : actions/checkout@v4
93
+ - uses : actions/setup-java@v4
94
+ with :
95
+ distribution : ' temurin'
96
+ java-version : ' 17'
97
+ java-package : ' jre'
93
98
- uses : actions/setup-node@v4
94
99
with :
95
100
node-version : ${{ matrix.nodeVersion }}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export DRIVER_NAME=nodejs
18
18
BUILD_IMAGE_VERSION=1
19
19
20
20
# Test Images
21
- TEST_IMAGE_VERSION=1
21
+ TEST_IMAGE_VERSION=2
22
22
23
23
declare -A BUILD_IMAGE_NAMES=(
24
24
[$DRIVER_NAME -chainguard-node18]=$DOCKER_REGISTRY_NAME /client-$DRIVER_NAME -chainguard-node18-build:$BUILD_IMAGE_VERSION
Original file line number Diff line number Diff line change @@ -3,9 +3,11 @@ FROM $IMAGE
3
3
4
4
USER root
5
5
6
- RUN apk update && apk add python3 jq aws-cli gosu
6
+ RUN apk update && apk add python3 python3-dev py3-pip jq aws-cli gosu openjdk-17
7
7
RUN pip install -U snowflake-connector-python
8
8
9
+ ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk
10
+
9
11
# workspace
10
12
RUN mkdir -p /home/user && \
11
13
chmod 777 /home/user
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ docker run \
13
13
-v $( cd $THIS_DIR /.. && pwd) :/mnt/host \
14
14
-v $WORKSPACE :/mnt/workspace \
15
15
--rm \
16
- nexus.int.snowflakecomputing.com:8086/docker/snowdrivers-test-external-browser:3 \
16
+ nexus.int.snowflakecomputing.com:8086/docker/snowdrivers-test-external-browser:7 \
17
17
" /mnt/host/ci/container/test_authentication.sh"
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ async function runWireMockAsync(port) {
11
11
exec ( `npx wiremock --enable-browser-proxying --proxy-pass-through false --port ${ port } ` ) ;
12
12
const wireMock = new WireMockRestClient ( `http://localhost:${ port } ` , { logLevel : 'debug' } ) ;
13
13
const readyWireMock = waitForWiremockStarted ( wireMock ) ;
14
+ console . log ( "########## WIREMOCK STARTED ##############" )
14
15
resolve ( readyWireMock ) ;
15
16
} catch ( err ) {
16
17
reject ( err ) ;
@@ -19,8 +20,8 @@ async function runWireMockAsync(port) {
19
20
20
21
const timeout = new Promise ( ( resolve , reject ) =>
21
22
timeoutHandle = setTimeout (
22
- ( ) => reject ( 'Wiremock unavailable after 60s .' ) ,
23
- 60000 ) ) ;
23
+ ( ) => reject ( 'Wiremock unavailable after 30s .' ) ,
24
+ 30000 ) ) ;
24
25
return Promise . race ( [ waitingWireMockPromise , timeout ] )
25
26
. then ( result => {
26
27
clearTimeout ( timeoutHandle ) ;
You can’t perform that action at this time.
0 commit comments