Skip to content

Commit

Permalink
Fixing integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marccampbell committed May 30, 2019
1 parent 076020b commit a4e64fe
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -15,7 +15,7 @@ before_script:
script:
- go test ./pkg/... ./cmd/... -race -coverprofile=coverage.txt -covermode=atomic
- make
- cd integration && make run && cd ..
- make -C integration run

after_success:
- bash <(curl -s https://codecov.io/bash)
Expand Down
2 changes: 2 additions & 0 deletions deploy/.goreleaser.integration.yml
Expand Up @@ -48,6 +48,8 @@ dockers:
- "schemahero/schemahero:integration-test"
binaries:
- schemahero
extra_files:
- ./deploy/entrypoint.sh
- dockerfile: ./deploy/Dockerfile.manager
image_templates:
- "schemahero/schemahero-manager:integration-test"
Expand Down
2 changes: 2 additions & 0 deletions deploy/.goreleaser.snapshot.yml
Expand Up @@ -51,6 +51,8 @@ dockers:
- "schemahero/schemahero:alpha"
binaries:
- schemahero
extra_files:
- ./deploy/entrypoint.sh
- dockerfile: ./deploy/Dockerfile.manager
image_templates:
- "schemahero/schemahero-manager:alpha"
Expand Down
2 changes: 1 addition & 1 deletion deploy/Dockerfile.schemahero
Expand Up @@ -16,7 +16,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/* \
&& chmod +x /usr/local/bin/gosu

COPY deploy/entrypoint.sh /usr/local/bin/entrypoint.sh
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

0 comments on commit a4e64fe

Please sign in to comment.