Skip to content

feat(#11529): throw err if using admin annotation in yaml#176

Merged
VonnyJap merged 1 commit into
masterfrom
feat/SCREWDRV-11529
Mar 4, 2025
Merged

feat(#11529): throw err if using admin annotation in yaml#176
VonnyJap merged 1 commit into
masterfrom
feat/SCREWDRV-11529

Conversation

@pritamstyz4ever
Copy link
Copy Markdown
Contributor

@pritamstyz4ever pritamstyz4ever commented Mar 3, 2025

Context

Build Cluster annotation on a job is currently only derived from pipeline or from screwdriver config.
Screwdriver Admin should have a way to override the behavior to move jobs to specific cluster, but this should be restricted from user

Objective

This PR prevents user from adding the admin annotation in screwdriver.yaml

References

screwdriver-cd/screwdriver#3292
screwdriver-cd/data-schema#590

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.

@VonnyJap VonnyJap merged commit 09cf38b into master Mar 4, 2025
@VonnyJap VonnyJap deleted the feat/SCREWDRV-11529 branch March 4, 2025 18:36
@sd-buildbot
Copy link
Copy Markdown

🎉 This PR is included in version 12.2.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.

4 participants