Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should run the Integration Tests as part of the continuous integration build #159

Closed
brainmurphy opened this issue Feb 8, 2016 · 19 comments

Comments

@brainmurphy
Copy link
Member

These tests give us greater confidence in the changes we make. There is an issue in that they require a functioning AWS environment to execute.

@slang25
Copy link
Member

slang25 commented Jan 15, 2018

We should definitely do something around this, cause the integration tests are constantly breaking as a result of this.
I have a branch locally that is working against localstack, which works for most of the tests, but not for cross region tests, or iam policy checks. We could run that on travis with docker without too much effort, although it would be good to have a dedicated aws to run this in properly too.

@stale
Copy link

stale bot commented Jul 20, 2018

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jul 20, 2018
@martincostello
Copy link
Member

I think this is one we shouldn't let go stale 😉

@stale stale bot removed the wontfix label Jul 20, 2018
@martincostello martincostello self-assigned this Aug 10, 2018
@martincostello
Copy link
Member

As discussed, I'm going to pick up looking at this for both real end-to-end tests with real AWS resources, as well as investigating using localstack for inner-loop unit/functional tests.

Once I've got a PoC for it sorted out, I'll raise a PR and we can go through it and decide how to proceed.

@martincostello martincostello added this to the v7.0.0 milestone Aug 10, 2018
@duncanbrown
Copy link
Contributor

Just a random thought - might be worth considering goaws (https://github.com/p4tin/goaws) as an alternative to localstack: I've recently been using it with JustSaying for local development, and haven't had any issues yet (only been doing pretty simple stuff, though). I started using it as it seems much lighter-weight than localstack - docker image is just 12MB, and it runs in just a few MB of memory.

@martincostello
Copy link
Member

Cool, thanks @duncanbrown. I'll take a look at that too!

@martincostello
Copy link
Member

I've started having looking into this.

This was referenced Aug 18, 2018
@martincostello
Copy link
Member

Begun in #381.

@martincostello
Copy link
Member

#381 has been merged which adds support for using goaws (thanks @duncanbrown 👍 ) during the Travis CI builds, as well as on Windows with Build.ps1 -EnableIntegrationTests if you have Docker installed and configured for Linux containers.

A future PR will validate the tests work with environment variables for real AWS resources, as well as a way of running the Windows build with integration tests in AppVeyor somehow given the free/OSS plan doesn't support Linux containers.

@stale
Copy link

stale bot commented Oct 25, 2018

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Oct 25, 2018
@shaynevanasperen
Copy link
Contributor

@martincostello The AppVeyor free/OSS plan does support Linux containers now.

@stale
Copy link

stale bot commented Jan 2, 2019

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@martincostello
Copy link
Member

Windows containers in Docker do not support Linux VMs on the free plan: #522 (comment)

@martincostello
Copy link
Member

I've created an internal Jira to track getting us access to two real AWS accounts for doing testing with real AWS resources.

@stale
Copy link

stale bot commented Apr 30, 2019

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 30, 2019
@stale
Copy link

stale bot commented Jun 25, 2019

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 25, 2019
@martincostello martincostello modified the milestones: v7.0.0, Future Jun 29, 2019
@martincostello
Copy link
Member

We still don't have the AWS account, so pushing to a future release so it's not a blocker for v7.

@stale
Copy link

stale bot commented Aug 24, 2019

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@martincostello
Copy link
Member

I'm going to close this as "done" on the basis we have integration tests running for Linux in Travis CI.

We can open a new issue and make things even better at some point in the future if we get the time and resource (i.e. the AWS account) to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants