Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #395 from laverya/enable-ship-chart-integration-tests
Browse files Browse the repository at this point in the history
enable init_chart integration tests on CircleCI
  • Loading branch information
laverya committed Aug 18, 2018
2 parents 93da8ac + 7faf3e7 commit 4931a46
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ jobs:
$GOPATH/bin/ginkgo -p -stream integration/base
$GOPATH/bin/ginkgo -p -stream integration/update
$GOPATH/bin/ginkgo -p -stream integration/init_app
$GOPATH/bin/ginkgo -p -stream integration/init_chart
deploy_unstable:
docker:
Expand Down
4 changes: 3 additions & 1 deletion integration/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ ADD . /go/src/github.com/replicatedhq/ship
RUN cd /go/src/github.com/replicatedhq/ship && \
go test -c ./integration/base && \
go test -c ./integration/update && \
go test -c ./integration/init_app
go test -c ./integration/init_app && \
go test -c ./integration/init_chart

# package things up
FROM alpine
Expand All @@ -52,6 +53,7 @@ RUN cd /test && rm *.go
COPY --from=build-step /go/src/github.com/replicatedhq/ship/base.test /test/base/
COPY --from=build-step /go/src/github.com/replicatedhq/ship/update.test /test/update/
COPY --from=build-step /go/src/github.com/replicatedhq/ship/init_app.test /test/init_app/
COPY --from=build-step /go/src/github.com/replicatedhq/ship/init_chart.test /test/init_chart/
ENTRYPOINT ./integration_docker_start.sh


Expand Down
6 changes: 5 additions & 1 deletion integration/integration_docker_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@ echo "END UPDATE TESTS"
cd ../init_app
echo "START INIT_APP TESTS"
./init_app.test
echo "END UPDATE TESTS"
echo "END INIT_APP TESTS"

cd ../init_chart
echo "START INIT_CHART TESTS"
./init_chart.test
echo "END INIT_CHART TESTS"

0 comments on commit 4931a46

Please sign in to comment.