mirror of
https://github.com/lancachenet/monolithic
synced 2024-11-21 19:43:05 +00:00
LanCache.Net changes
This commit is contained in:
parent
97501a00e7
commit
9f29675ef1
3 changed files with 11 additions and 11 deletions
|
@ -44,11 +44,11 @@ jobs:
|
|||
name: Save docker image
|
||||
command: |
|
||||
mkdir -p workspace
|
||||
docker save -o workspace/steamcache-monolithic.tar steamcache/monolithic:goss-test
|
||||
docker save -o workspace/lancachenet-monolithic.tar lancachenet/monolithic:goss-test
|
||||
- persist_to_workspace:
|
||||
root: workspace
|
||||
paths:
|
||||
steamcache-monolithic.tar
|
||||
lancachenet-monolithic.tar
|
||||
- store_test_results:
|
||||
path: reports
|
||||
- store_artifacts:
|
||||
|
@ -66,6 +66,6 @@ jobs:
|
|||
name: "Deploy latest to docker hub"
|
||||
command: |
|
||||
docker login -u $DOCKER_USER -p $DOCKER_PASS
|
||||
docker load -i /tmp/workspace/steamcache-monolithic.tar
|
||||
docker tag steamcache/monolithic:goss-test steamcache/monolithic:latest
|
||||
docker push steamcache/monolithic:latest
|
||||
docker load -i /tmp/workspace/lancachenet-monolithic.tar
|
||||
docker tag lancachenet/monolithic:goss-test lancachenet/monolithic:latest
|
||||
docker push lancachenet/monolithic:latest
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
FROM steamcache/generic:latest
|
||||
MAINTAINER SteamCache.Net Team <team@steamcache.net>
|
||||
FROM lancachenet/generic:latest
|
||||
MAINTAINER LanCache.Net Team <team@lancache.net>
|
||||
|
||||
ENV GENERICCACHE_VERSION 2
|
||||
ENV WEBUSER www-data
|
||||
|
|
|
@ -8,7 +8,7 @@ if [ $? -ne 0 ]; then
|
|||
exit $?
|
||||
fi
|
||||
|
||||
docker build --tag steamcache/monolithic:goss-test .
|
||||
docker build --tag lancachenet/monolithic:goss-test .
|
||||
case $1 in
|
||||
circleci)
|
||||
shift;
|
||||
|
@ -18,7 +18,7 @@ case $1 in
|
|||
shift
|
||||
fi
|
||||
export GOSS_OPTS="$GOSS_OPTS --format junit"
|
||||
dgoss run $@ steamcache/monolithic:goss-test > reports/goss/report.xml
|
||||
dgoss run $@ lancachenet/monolithic:goss-test > reports/goss/report.xml
|
||||
#store result for exit code
|
||||
RESULT=$?
|
||||
#delete the junk that goss currently outputs :(
|
||||
|
@ -31,10 +31,10 @@ case $1 in
|
|||
KEEPIMAGE=true
|
||||
shift
|
||||
fi
|
||||
dgoss run $@ steamcache/monolithic:goss-test
|
||||
dgoss run $@ lancachenet/monolithic:goss-test
|
||||
RESULT=$?
|
||||
;;
|
||||
esac
|
||||
[[ "$KEEPIMAGE" == "true" ]] || docker rmi steamcache/monolithic:goss-test
|
||||
[[ "$KEEPIMAGE" == "true" ]] || docker rmi lancachenet/monolithic:goss-test
|
||||
|
||||
exit $RESULT
|
||||
|
|
Loading…
Reference in a new issue