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

feat(3128): Allow user to define new jobs which are not part of the pipeline template [2] #165

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

tkyi
Copy link
Member

@tkyi tkyi commented Jun 19, 2024

Context

Users occasionally need to add more jobs to the pipeline, beyond those included in the pipeline template. Currently, this feature is not supported in the pipeline template.

Objective

This PR moves validation for user-defined jobs vs pipeline template jobs to the config-parser. Also allows users to add their own novel custom jobs.

References

Related to screwdriver-cd/screwdriver#3128, blocked by screwdriver-cd/data-schema#568

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.

};
}
if (!isEmpty(oldSlackSettings)) {
Copy link
Contributor

@pritamstyz4ever pritamstyz4ever Jun 27, 2024

Choose a reason for hiding this comment

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

seems redundant, considering we are already setting the oldSlackSettings to {} based on when templateSettingsConfig.slack is empty.

Copy link
Contributor

@pritamstyz4ever pritamstyz4ever left a comment

Choose a reason for hiding this comment

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

LGTM. (Just need to fix the tests)

@tkyi tkyi merged commit 1520f5a into master Jun 27, 2024
2 checks passed
@tkyi tkyi deleted the newJobForPipelineTemplate branch June 27, 2024 23:49
@sd-buildbot
Copy link

🎉 This PR is included in version 10.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants