Comments (4)
hey @amerkay thank you for the note. Is there a specific command you'd like to use this for?
to potentially not break current users would you be ok if the -P flag is option to the command?
from orbs.
Hi, Thanks for the quick reply!
I'm trying to exclude a the /static folder from run_frontend_workflow
, but process it using run_static_workflow
only if the files in it change. It works if the -P is included to perform perl regex, which allows for negative lookahead.
code-param-name-map: '
[
{"regex": "^frontend(?!\/static).*", "param_name": "run_frontend_workflow"},
{"regex": "^(frontend\/static).*", "param_name": "run_static_workflow"}
]'
So, yes, if you include it as an option, that'll solve my problem :)
from orbs.
@amerkay you can use the perl search mode in v0.40.0 of swissknife for negative lookahead. It does require Perl to be installed but I think this is generally available on most Linux installs.
let me know if this doesn't work for you.
from orbs.
Hey! That's fantastic. Thank you. I'll give it a try next few days and report back if there are any issues :)
from orbs.
Related Issues (17)
- Failed job only runs failed tests on `Rerun workflow from start` HOT 2
- Temporary directory is not present.
- Support all branches for the `wait_for_workflows` command HOT 10
- Wait for jobs
- Getting "project not found" error HOT 5
- Git diff dots, compare from where it diverged HOT 2
- 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.