-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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 label functionality to workflow_launch - related #15197 #15198
Conversation
related: #15197 |
Hi @hassevgaard thanks for the contribution. Can you provide a example and some steps that you took to test this PR |
also it would be nice if you can contribute a test to cover this scenario in |
Hi @TheRealHaoLiu, I had a look at the GUI to find that labels could be enabled and prompted just like jobs. I have written a playbook that utilise the changes i have made to the modules to verify that the changes would work: #!/usr/bin/env ansible-playbook
This worked as intended and spawned the workflow with the labels defined. I have tried to write a test, please verify if it lives up to expectations. I also implemented the test for job_launch as there was no test for labels here either. |
SUMMARY
The label functionality from job_launch was copied to workflow_launch.
ISSUE TYPE
COMPONENT NAME
AWX VERSION