Skip to content

Commit

Permalink
path change
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Faircloth committed Jun 29, 2019
1 parent e987a9d commit 76a3839
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
15 changes: 10 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
dgoss:
environment:
IMAGE_NAME: rfaircloth/scs
GOSS_VER: v0.3.6
GOSS_DST: ~/bin
GOSS_PATH: ~/goss
GOSS_OPTS: "--max-concurrent=1 --format junit"
GOSS_FILES_STRATEGY: cp

docker:
- image: circleci/buildpack-deps:stretch
steps:
Expand All @@ -42,16 +48,15 @@
name: Install goss
command: |
# rather than give internet scripts SU rights, we install to local user bin and add to path
mkdir -p ~/bin
curl -fsSL https://goss.rocks/install | GOSS_VER=v0.3.6 GOSS_DST=~/bin sh
mkdir -p $GOSS_DST
mkdir -p $GOSS_PATH
curl -fsSL https://goss.rocks/install | sh
- run:
name: Test Docker
command: |
export GOSS_OPTS="--max-concurrent=1 --format junit"
export GOSS_FILES_STRATEGY=cp
mkdir -p ~/project/test-results
pushd package
GOSS_PATH=~/bin ~/bin/dgoss run -t $IMAGE_NAME:$CIRCLE_SHA1
$GOSS_DST/dgoss run -t $IMAGE_NAME:$CIRCLE_SHA1
#3>&1 1>&2 2>&3 > /tmp/goss.tmp || true ; cat /tmp/goss.tmp | grep -v "<"
popd
cat /tmp/goss.tmp | grep "[<\>]" > ~/project/test-results/goss.xml
Expand Down
10 changes: 5 additions & 5 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 76a3839

Please sign in to comment.