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

fix(2331): Pass locked job steps [2.5] #440

Merged
merged 3 commits into from
Feb 23, 2021
Merged

fix(2331): Pass locked job steps [2.5] #440

merged 3 commits into from
Feb 23, 2021

Conversation

tkyi
Copy link
Member

@tkyi tkyi commented Feb 22, 2021

Context

Would be nice if the UI could show locked steps in a job when template is used.

Objective

This PR allows more data to be sent from config parser through commands so locked step can be shown in the UI.

References

Related to screwdriver-cd/screwdriver#2331

License

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@@ -13,7 +13,7 @@ const SCHEMA_JOB_COMMAND = Joi.object()
name: Joi.string(),
command: Joi.string()
})
.unknown(false)
Copy link
Member

Choose a reason for hiding this comment

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

should we just add locked as optional here, instead of allowing unknown ?

Copy link
Member Author

Choose a reason for hiding this comment

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

added

@tkyi tkyi merged commit 43890f7 into master Feb 23, 2021
@tkyi tkyi deleted the lockedStep branch February 23, 2021 22:49
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