From 76a3839f786572bafdeab17aa4144f54da05e459 Mon Sep 17 00:00:00 2001 From: Ryan Faircloth Date: Fri, 28 Jun 2019 21:11:49 -0400 Subject: [PATCH] path change --- .circleci/config.yml | 15 ++++++++++----- .idea/workspace.xml | 10 +++++----- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b97ec3b..7df0e83 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: @@ -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 diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 7eee3da..812bb89 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -24,8 +24,8 @@ - - + + @@ -351,7 +351,7 @@ - @@ -599,8 +599,8 @@ - - + +