Skip to content

Commit 8f4ff31

Browse files
committed
iris version update
1 parent 9374194 commit 8f4ff31

File tree

5 files changed

+15
-22
lines changed

5 files changed

+15
-22
lines changed

.ci/build_artifacts.sh

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,17 @@
22

33
ARTIFACT=`pwd`/out/zUtils.FileBinaryTar.xml
44

5-
iris start $ISC_PACKAGE_INSTANCENAME quietly EmergencyID=admin,sys \
5+
iris start $ISC_PACKAGE_INSTANCENAME quietly \
66

7-
/bin/echo -e 'admin\nsys\n' \
8-
"do \$system.OBJ.Export(\"%zUtils.FileBinaryTar.cls\", \"$ARTIFACT\", \"/diffexport\")\n" \
7+
/bin/echo -e '' \
8+
"do \$system.OBJ.Export(\"%zUtils.FileBinaryTar.cls\", \"$ARTIFACT\", \"/diffexport/exportversion=2017.1\")\n" \
99
"halt" \
1010
| iris session $ISC_PACKAGE_INSTANCENAME
1111

12-
/bin/echo -e 'admin\nsys\n' \
12+
/bin/echo -e '' \
1313
| iris stop $ISC_PACKAGE_INSTANCENAME quietly
1414

1515
if [ ! -f "$ARTIFACT" ]
1616
then
1717
exit 1
1818
fi
19-
20-
sed -i.bak 's/^<Export generator="IRIS" .*$/<Export generator="Cache" version="25">/g' $ARTIFACT
21-
rm -rf "$ARTIFACT.bak"

.ci/tests_entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
TESTS=`pwd`/tests/src
44

5-
iris start $ISC_PACKAGE_INSTANCENAME quietly EmergencyID=admin,sys \
5+
iris start $ISC_PACKAGE_INSTANCENAME quietly \
66

7-
/bin/echo -e 'admin\nsys\n' \
7+
/bin/echo -e '' \
88
"set ^UnitTestRoot=\"$TESTS\"\n" \
99
'do ##class(%UnitTest.Manager).RunTest()\n' \
1010
'halt\n' \
1111
| iris session $ISC_PACKAGE_INSTANCENAME | tee /tmp/tests.log
1212

13-
/bin/echo -e 'admin\nsys\n' \
13+
/bin/echo -e '' \
1414
| iris stop $ISC_PACKAGE_INSTANCENAME quietly
1515

1616
if ! grep -iq "All PASSED" /tmp/tests.log

.vscode/settings.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"objectscript.conn": {
33
"active": true,
44
"ns": "%SYS",
5-
"port": "52775",
6-
"username": "test",
7-
"password": "test"
5+
"docker-compose": {
6+
"service": "iris"
7+
}
88
},
99
"objectscript.conn.version": 3
1010
}

Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
FROM daimor/intersystems-iris:2019.1.0S.111.0-community
1+
FROM store/intersystems/iris-community:2020.1.0.202.0
22

33
WORKDIR /opt
44

55
COPY src src
66
COPY .ci/* /
77

8-
RUN iris start $ISC_PACKAGE_INSTANCENAME quietly EmergencyID=admin,sys \
9-
&& /bin/echo -e "admin\nsys\n" \
8+
RUN iris start $ISC_PACKAGE_INSTANCENAME quietly \
9+
&& /bin/echo -e "" \
1010
'do $system.OBJ.ImportDir("/opt/src/", "*.cls", "ck", , 1)\n' \
1111
'zn "USER"\n' \
1212
'set ^UnitTestRoot="/opt/tests/src/"\n' \
1313
'do $system.OBJ.SetQualifiers("/nodelete")\n' \
1414
'halt\n' \
1515
| iris session $ISC_PACKAGE_INSTANCENAME \
16-
&& /bin/echo -e "admin\nsys\n" \
17-
| iris stop $ISC_PACKAGE_INSTANCENAME quietly
16+
&& iris stop $ISC_PACKAGE_INSTANCENAME quietly

docker-compose.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ services:
33
iris:
44
build: .
55
ports:
6-
- 52775:52773
7-
environment:
8-
- IRIS_USER=test
9-
- IRIS_PASSWORD=test
6+
- 52773-52783:52773
107
volumes:
118
- ./tests:/opt/tests

0 commit comments

Comments
 (0)