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

Dependency Condition Naming change: #1882

Merged

Conversation

ubhattacharjya
Copy link
Contributor

  • "START" Dependency condition has been changed to "CREATE" as it waits for the dependency to atleast get created
  • "RUNNING" Dependency Condition has been changed to "START" as it waits for the dependency to get started.

Summary

Implementation details

Testing

New tests cover the changes:

Description for the changelog

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ubhattacharjya ubhattacharjya requested review from petderek and a team February 23, 2019 23:54
// CreateCondition ensures that a container progresses to next state only when dependency container has started
createCondition = "START"
// StartCondition ensures that a container progresses to next state only when dependency container is running
startCondition = "RUNNING"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should these be
createCondition = "CREATE"
StartCondition = "START"

// SuccessCondition ensures that a container progresses to next state only when
// dependency container has successfully completed with exit code 0
successCondition = "SUCCESS"
// CompleteCondition ensures that a container progresses to next state only when dependency container has completed
completeCondition = "COMPLETE"
// StartCondition ensures that a container progresses to next state only when dependency container is healthy
// HealthymCondition ensures that a container progresses to next state only when dependency container is healthy
Copy link
Contributor

Choose a reason for hiding this comment

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

HealthyCondition not HealthymCondition

* "START" Dependency condition has been changed to "CREATE" as it waits for the dependency to atleast get created
* "RUNNING" Dependency Condition has been changed to "START" as it waits for the dependency to get started.
Copy link
Contributor

@petderek petderek left a comment

Choose a reason for hiding this comment

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

LGTM, let tests pass plz

@petderek
Copy link
Contributor

We validated that the arm integ test is passing manually.

@ubhattacharjya ubhattacharjya merged commit 7ba5947 into aws:container-ordering-feature Feb 24, 2019
@ubhattacharjya ubhattacharjya added this to the 1.26.0 milestone Feb 27, 2019
@ubhattacharjya ubhattacharjya deleted the Naming branch April 8, 2019 21:42
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.

3 participants