Comments (10)
@jahn-mtg let me take a look at this later today, might not be as hard. I will post back here when i have an update on how hard this is and the expected time
from orbs.
How can I make a contribution?
from orbs.
Feel free tob send a PR my way. I am yet to write a contributing guide but it is pretty light weight right now
from orbs.
Any updates on this? Need this feature as well.
from orbs.
@jahn-mtg this support is now there on v0.47.0 let me know if you have any questions, or find that it isnt working as you'd expect :)
from orbs.
@roopakv wow thank you so much for getting back to me on this! really appreciate it. I was hoping for the regex feature to be implemented, for perhaps something like "all branches except master"
from orbs.
@jahn-mtg would love to understand the use case?
did you want to wait on all branches, but only block against workflows on non master branches? that seems like an edge case, and I'm not sure if i understand you correctly.
Could you explain your use case in detail in a new issue please? :)
from orbs.
@roopakv what we were looking for is the ability to block workflows if another branch has a workflow running EXCEPT when the workflow is occuring on master branch.
The use the case for this is that we have feature/branches all deploying to the same dev ENV and therefore don't want our automated tests to overlap, however master branch is pointed to an entirely different ENV (staging) so it should not block feature/branches from running
I guess to help clarify, something like "branch-to-ignore" instead of "branch-to-consider". I know that adding a new param probably is not the right approach, but just to explain the concept
from orbs.
@jahn-mtg you can achieve this by naming your workflows differently:
-
feature branches:
workflow-name: "deploy-to-dev-env"
branch-to-consider: all -
master branch
workflow-name: "deploy-to-staging"
branch-to-consider: master
this way all feature branches will be queued one behind the other, master will be queued on itself alone.
Let me know if you think this wont solve your usecase
from orbs.
yea we can set it up that way. Thank you so much for the help and making the update! it was definitely helpful @roopakv
from orbs.
Related Issues (17)
- Failed job only runs failed tests on `Rerun workflow from start` HOT 2
- Temporary directory is not present.
- Wait for jobs
- Getting "project not found" error HOT 5
- Git diff dots, compare from where it diverged HOT 2
- grep needs -P to accept regex with lookahead HOT 4
- Incorrect jq usage in append_string_to_params HOT 7
- Run if modified: Check all commits since last build HOT 7
- Run if modified: continuing the job, not halt it
- Control the start order of parallel jobs - possible? HOT 2
- Add support Perl regexp instead of grep extended HOT 6
- Triggering Forked Pull Requests Pipeline HOT 1
- Wait for specified job to get in running status HOT 1
- queue_up_workflow and wait_for_workflow not working HOT 12
- trigger-pipeline command doesn't work for tags HOT 3
- Authentication via `circle-token` query parameter is deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orbs.