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

Add acceptance tests for the agent_token resource #95

Merged
merged 1 commit into from
Feb 7, 2021

Conversation

yob
Copy link
Contributor

@yob yob commented Feb 7, 2021

These are the first acceptance tests for the provider, so they come with a bunch of supporting infrastructure:

  • a new Make target
  • Some instructions in the README
  • a new pipeline step that can only run on the main branch
    • if a third party PR removes this restriction, the step will run but fail because it'll run on an agent with no access to the required credentials in SSM ParameterStore

The CI setup here is imperfect. Pull requests won't run the acceptance tests and there's a risk we'll only notice a failure in the acceptance tests after merging. For now we'll have to live with that (maybe by manually running the tests ourselves prior to merging?) while we discuss a better approach.

These are the first acceptance tests for the provider, so they come with
a bunch of supporting infrastructure:

* a new Make target
* Some instructions in the README
* a new pipeline step that can only run on the main branch
  * if a third party PR removes this restriction, the step will run but
    fail because it'll run on an agent with no access to the required
    credentials in SSM ParameterStore

The CI setup here is imperfect. Pull requests won't run the acceptance
tests and there's a risk we'll only notice a failure in the acceptance
tests after merging. For now we'll have to live with that (maybe by
manually running the tests ourselves prior to merging?) while we discuss
a better approach.
@yob yob force-pushed the acceptance-test-agent-tokens branch from 07156db to 719bc2e Compare February 7, 2021 14:58
@yob yob merged commit 8c018c2 into main Feb 7, 2021
@yob yob deleted the acceptance-test-agent-tokens branch February 7, 2021 15:00
@yob yob mentioned this pull request Feb 7, 2021
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant