Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Use go integration tests #57

Merged
merged 2 commits into from
Aug 30, 2017
Merged

Conversation

r2d4
Copy link
Contributor

@r2d4 r2d4 commented Aug 29, 2017

We can run these in parallel once we fix #54

Changed the travis configuration to

  • not use sudo, since it is no longer required.
  • use go 1.8.3
  • run make test integration instead of bash script.

@r2d4
Copy link
Contributor Author

r2d4 commented Aug 29, 2017

Fixes #50

@r2d4 r2d4 force-pushed the integration-tests branch from 736a084 to 4640581 Compare August 29, 2017 20:42
language: go
os: linux
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can specify multiple OSes here, should we run these tests on all platforms?

os:
  - linux
  - osx
  - windows

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried this, but travis always has a backlog of OSX jobs (its at ~800 now). I think its probably best to just test on one platform for now.

aptModified = "gcr.io/gcp-runtimes/apt-modified"

// Why is this node-modified:2.0?
nodeBase = "gcr.io/gcp-runtimes/node-modified:2.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm...I wonder if the source code for these images is lying around anywhere, I'm not a huge fan of this being abstracted

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah as a TODO: get rid of these + get rid of the _expected.json files.

@r2d4 r2d4 force-pushed the integration-tests branch 2 times, most recently from 3f703d0 to fee6d56 Compare August 30, 2017 20:17
@r2d4 r2d4 force-pushed the integration-tests branch from fee6d56 to 784cf7c Compare August 30, 2017 20:24
@r2d4 r2d4 merged commit cd40b32 into GoogleContainerTools:master Aug 30, 2017
@r2d4 r2d4 deleted the integration-tests branch August 30, 2017 21:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not use current directory as temp directory
2 participants