Skip to content

Commit

Permalink
update circleci to run acceptance tests
Browse files Browse the repository at this point in the history
Signed-off-by: George Nikolopoulos <[email protected]>
  • Loading branch information
George Nikolopoulos committed Mar 15, 2019
1 parent ff406e5 commit e519f97
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
- run:
name: Prepare Netscaler
command: |
echo $DOCKERPWD|docker login -u $DOCKERUSER --password-stdin
docker run --rm --name netscaler -p 80:80 --env EULA=yes --detach --cap-add=NET_ADMIN store/citrix/netscalercpx:$NETSCALER_VERSION
sleep 30s
docker exec netscaler /var/netscaler/bins/cli_script.sh "save ns conf"
Expand All @@ -42,6 +41,12 @@ jobs:
command: |
./terraform plan
- run:
name: Run acceptance tests
command: |
make -C .. fmt
NS_URL="http://localhost" make -C .. testacc
- run:
name: Cleanup
command: docker stop netscaler
Expand Down

0 comments on commit e519f97

Please sign in to comment.