Skip to content

Commit eba1ad5

Browse files
Pogrebnyak, SergeiPogrebnyak, Sergei
Pogrebnyak, Sergei
authored and
Pogrebnyak, Sergei
committed
Production images
1 parent 590369e commit eba1ad5

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ env:
44
global:
55
- TARGET_REGISTRY=sergeipogrebnyak
66
matrix:
7-
- RELEASE=10.2 SOURCE_REGISTRY=softwareag
8-
- RELEASE=10.1 SOURCE_REGISTRY=softwareag
7+
- RELEASE=10.2 SOURCE_REGISTRY=store/softwareag
8+
- RELEASE=10.1 SOURCE_REGISTRY=store/softwareag
99

1010
services:
1111
- docker
@@ -19,7 +19,7 @@ before_install:
1919
script:
2020
# - docker-compose run --rm init
2121
# - docker-compose down
22-
- docker build --build-arg SOURCE_REGISTRY=$SOURCE_REGISTRY -t $TARGET_REGISTRY/commandcentral:$RELEASE-server .
22+
- docker build --build-arg SOURCE_REGISTRY=$SOURCE_REGISTRY --build-arg RELEASE=$RELEASE -t $TARGET_REGISTRY/commandcentral:$RELEASE-server .
2323
- docker run --name cc -d -p 127.0.0.1:8091:8091 --network ccnetwork $TARGET_REGISTRY/commandcentral:$RELEASE-server
2424
- docker run --name n1 -d --network ccnetwork -e CC_AUTO_REGISTER=0 $SOURCE_REGISTRY/commandcentral:$RELEASE-node
2525
- docker exec cc sagcc list landscape nodes local -e ONLINE -w 180

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
ARG SOURCE_REGISTRY=store/softwareag
2-
FROM $SOURCE_REGISTRY/commandcentral:10.2-server
2+
ARG RELEASE=10.2
3+
4+
FROM $SOURCE_REGISTRY/commandcentral:$RELEASE-server
35

46
# customize Command Central settings example
57
RUN echo com.softwareag.platform.management.client.template.composite.skip.restart.runtimes=true>>$SAG_HOME/profiles/CCE/configuration/config.ini

docker-compose.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ version: "3"
22

33
services:
44
cc:
5-
#image: store/softwareag/commandcentral:10.2-server
6-
image: softwareag/commandcentral:10.2-server
5+
image: store/softwareag/commandcentral:10.2-server
6+
# image: softwareag/commandcentral:10.2-server
77
ports:
88
- "8090:8090"
99
- "8091:8091"
1010
environment:
1111
- CC_PASSWORD
1212

1313
test1:
14-
# image: store/softwareag/commandcentral:10.2-node
15-
image: softwareag/commandcentral:10.2-node
14+
image: store/softwareag/commandcentral:10.2-node
15+
# image: softwareag/commandcentral:10.2-node
1616
ports:
1717
- "5555:5555" # IS
1818
- "9000:9000" # UM
@@ -24,8 +24,8 @@ services:
2424
- cc
2525

2626
init:
27-
# image: store/softwareag/commandcentral:10.2-server
28-
image: softwareag/commandcentral:10.2-server
27+
image: store/softwareag/commandcentral:10.2-server
28+
# image: softwareag/commandcentral:10.2-server
2929
environment:
3030
- CC_SERVER=cc
3131
- CC_PASSWORD

0 commit comments

Comments
 (0)