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

README shows unsupported feature to prevent manual promotion in pipeline #10

Open
aratno opened this issue Aug 29, 2019 · 2 comments
Open

Comments

@aratno
Copy link

aratno commented Aug 29, 2019

The README shows support for an "allow" field here, but this appears unsupported in the semaphore.yml file. When I tried including this:

- name: Deploy to Production
  pipeline_file: deploy_to_production.yml
  allow:
    when: "branch = 'master'"

I got this error in the web UI for the running pipeline:

Error: [{"Schema does not allow additional properties.", "#/promotions/1/allow"}]

Is this feature supported or not?

@DamjanBecirovic
Copy link
Contributor

Support for when conditions in the allow and auto fields of promotions is still in development.

I will update the README to indicate this, thank you for pointing it out.

@aratno
Copy link
Author

aratno commented Sep 13, 2019

@DamjanBecirovic do you have any timeline for when this feature will be implemented? I'd love to be notified when it's ready.

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

No branches or pull requests

2 participants