Browse Source

Travis: use better tagging structure

tempestpy_adaptions
Matthias Volk 7 years ago
parent
commit
b867e5366a
  1. 8
      .travis.yml
  2. 2
      travis/build.sh
  3. 0
      travis/build_helper.sh
  4. 8
      travis/generate_travis.py

8
.travis.yml

@ -48,8 +48,8 @@ jobs:
- travis/build_carl.sh - travis/build_carl.sh
after_success: after_success:
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
- docker commit carl mvolk/carl-debug:travis;
- docker push mvolk/carl-debug:travis;
- docker commit carl mvolk/carl:travis-debug;
- docker push mvolk/carl:travis-debug;
# ubuntu-17.10 - DefaultReleaseTravis # ubuntu-17.10 - DefaultReleaseTravis
- stage: Build Carl - stage: Build Carl
os: linux os: linux
@ -341,8 +341,8 @@ jobs:
- find build -iname '*err*.log' -type f -print -exec cat {} \; - find build -iname '*err*.log' -type f -print -exec cat {} \;
after_success: after_success:
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
- docker commit storm mvolk/storm-debug:travis;
- docker push mvolk/storm-debug:travis;
- docker commit storm mvolk/storm:travis-debug;
- docker push mvolk/storm:travis-debug;
# ubuntu-17.10 - DefaultReleaseTravis # ubuntu-17.10 - DefaultReleaseTravis
- stage: Test all - stage: Test all
os: linux os: linux

2
travis/build.sh

@ -28,7 +28,7 @@ linux)
set -e set -e
case "$CONFIG" in case "$CONFIG" in
*DebugTravis) *DebugTravis)
docker run -d -it --name storm --privileged mvolk/carl-debug:travis
docker run -d -it --name storm --privileged mvolk/carl:travis-debug
;; ;;
*ReleaseTravis) *ReleaseTravis)
docker run -d -it --name storm --privileged mvolk/carl:travis docker run -d -it --name storm --privileged mvolk/carl:travis

0
travis/build-helper.sh → travis/build_helper.sh

8
travis/generate_travis.py

@ -90,8 +90,8 @@ if __name__ == "__main__":
buildConfig += " after_success:\n" buildConfig += " after_success:\n"
buildConfig += ' - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";\n' buildConfig += ' - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";\n'
if "Debug" in build_type: if "Debug" in build_type:
buildConfig += " - docker commit carl mvolk/carl-debug:travis;\n"
buildConfig += " - docker push mvolk/carl-debug:travis;\n"
buildConfig += " - docker commit carl mvolk/carl:travis-debug;\n"
buildConfig += " - docker push mvolk/carl:travis-debug;\n"
elif "Release" in build_type: elif "Release" in build_type:
buildConfig += " - docker commit carl mvolk/carl:travis;\n" buildConfig += " - docker commit carl mvolk/carl:travis;\n"
buildConfig += " - docker push mvolk/carl:travis;\n" buildConfig += " - docker push mvolk/carl:travis;\n"
@ -154,8 +154,8 @@ if __name__ == "__main__":
buildConfig += " after_success:\n" buildConfig += " after_success:\n"
buildConfig += ' - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";\n' buildConfig += ' - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";\n'
if "Debug" in build_type: if "Debug" in build_type:
buildConfig += " - docker commit storm mvolk/storm-debug:travis;\n"
buildConfig += " - docker push mvolk/storm-debug:travis;\n"
buildConfig += " - docker commit storm mvolk/storm:travis-debug;\n"
buildConfig += " - docker push mvolk/storm:travis-debug;\n"
elif "Release" in build_type: elif "Release" in build_type:
buildConfig += " - docker commit storm mvolk/storm:travis;\n" buildConfig += " - docker commit storm mvolk/storm:travis;\n"
buildConfig += " - docker push mvolk/storm:travis;\n" buildConfig += " - docker push mvolk/storm:travis;\n"

Loading…
Cancel
Save