-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from SoftwareAG/develop
10.2 GA
- Loading branch information
Showing
4 changed files
with
68 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,34 @@ | ||
sudo: required | ||
|
||
env: | ||
- RELEASE=10.1 | ||
global: | ||
- TARGET_REGISTRY=sergeipogrebnyak | ||
matrix: | ||
- RELEASE=10.2 SOURCE_REGISTRY=store/softwareag | ||
- RELEASE=10.1 SOURCE_REGISTRY=store/softwareag | ||
|
||
services: | ||
- docker | ||
|
||
before_install: | ||
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" | ||
- docker pull store/softwareag/commandcentral:$RELEASE-server | ||
- docker pull store/softwareag/commandcentral:$RELEASE-node | ||
- docker pull $SOURCE_REGISTRY/commandcentral:$RELEASE-server | ||
- docker pull $SOURCE_REGISTRY/commandcentral:$RELEASE-node | ||
- docker network create ccnetwork | ||
|
||
script: | ||
- docker build -t sergeipogrebnyak/commandcentral:$RELEASE-server . | ||
- docker run --name cc -d -p 127.0.0.1:8091:8091 --network ccnetwork sergeipogrebnyak/commandcentral:$RELEASE-server | ||
- docker run --name n1 -d --network ccnetwork -e CC_AUTO_REGISTER=0 store/softwareag/commandcentral:$RELEASE-node | ||
# - docker-compose run --rm init | ||
# - docker-compose down | ||
- docker build --build-arg SOURCE_REGISTRY=$SOURCE_REGISTRY --build-arg RELEASE=$RELEASE -t $TARGET_REGISTRY/commandcentral:$RELEASE-server . | ||
- docker run --name cc -d -p 127.0.0.1:8091:8091 --network ccnetwork $TARGET_REGISTRY/commandcentral:$RELEASE-server | ||
- docker run --name n1 -d --network ccnetwork -e CC_AUTO_REGISTER=0 $SOURCE_REGISTRY/commandcentral:$RELEASE-node | ||
- docker exec cc sagcc list landscape nodes local -e ONLINE -w 180 | ||
- docker exec cc sagcc add landscape nodes alias=n1 url=http://n1:8092 -e OK | ||
- docker exec cc sagcc list landscape nodes n1 -e ONLINE -w 180 | ||
- docker stop n1 cc && docker rm n1 cc | ||
|
||
after_success: | ||
# - if [ "$TRAVIS_BRANCH" == "master" ]; then | ||
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; | ||
- docker push sergeipogrebnyak/commandcentral:$RELEASE-server; | ||
- docker push $TARGET_REGISTRY/commandcentral:$RELEASE-server; | ||
# fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
FROM store/softwareag/commandcentral:10.1-server | ||
ARG SOURCE_REGISTRY=store/softwareag | ||
ARG RELEASE=10.2 | ||
|
||
FROM $SOURCE_REGISTRY/commandcentral:$RELEASE-server | ||
# customize Command Central settings example | ||
RUN echo com.softwareag.platform.management.client.template.composite.skip.restart.runtimes=true>>$SAG_HOME/profiles/CCE/configuration/config.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters