File tree Expand file tree Collapse file tree 3 files changed +14
-11
lines changed Expand file tree Collapse file tree 3 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 17
17
jobs :
18
18
test :
19
19
strategy :
20
+ fail-fast : false
20
21
matrix :
21
22
image :
22
23
- intersystemsdc/iris-community:latest
31
32
env :
32
33
FOLDER : /home/irisowner/sqlalchemy-iris
33
34
run : |
34
- docker run -i --rm -v `pwd`:$FOLDER -w $FOLDER --entrypoint $FOLDER/test-in-docker.sh $IMAGE
35
+ docker build --build-arg BASE=$IMAGE -t sqlalchemy-iris
36
+ docker run -i --rm sqlalchemy-iris
35
37
36
38
deploy :
37
39
needs : test
Original file line number Diff line number Diff line change
1
+ ARG BASE=intersystemsdc/iris-community
2
+ FROM $BASE
3
+
4
+ COPY --chown=irisowner:irisowner . /home/irisowner/sqlalchemy-iris
5
+
6
+ WORKDIR /home/irisowner/sqlalchemy-iris
7
+
8
+ RUN pip install -r requirements-dev.txt -r requirements-iris.txt && \
9
+ pip install -e .
10
+
11
+ ENTRYPOINT /home/irisowner/sqlalchemy-iris/test-in-docker.sh
Original file line number Diff line number Diff line change @@ -25,18 +25,8 @@ exit_on_error () {
25
25
fi
26
26
}
27
27
28
- mkdir sqlalchemy_iris.egg-info
29
-
30
- ls -la
31
-
32
28
iris_start
33
29
34
- pip install -r requirements-dev.txt -r requirements-iris.txt
35
- exit_on_error
36
-
37
- pip install -e .
38
- exit_on_error
39
-
40
30
# Test in Network mode
41
31
python3 -m pytest
42
32
exit_on_error
You can’t perform that action at this time.
0 commit comments