-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
build time #76
Comments
if you're running inside a pipeline, then I would only index 1 revision, by default it will index 50 revisions, and if you only care about the last commit, then this is a waste of resources.
I'm not sure what you mean about the arguments, please could you provide an example of what you're trying to do? |
hello, i try to get some metrics in the gitlab ci pipeline, so i clone my repo in some directory in docker image( i can get history of commits) test wily:
image: python:3.7
stage: test
before_script:
- git checkout backend/dev_test_metrics
- pip install wily
- python -m wily build -n 1
script:
- find ./backend/api -name "*s.py" ! -name "*test*" | xargs python -m wily diff --changes-only --no-detail
- python -m wily report -n 1 backend/api/v1 # now better than diff
#- docker pull $CONTAINER_TEST_IMAGE
#- docker run --rm $CONTAINER_TEST_IMAGE /bin/bash -c "; find ./backend/api -name "*s.py" ! -name "*test*" | xargs python -m wily diff --changes-only --no-detail "
and i want to pass arguments in standart way, not like in exampe( i dont need metrics for my tests etc). |
Significantly improved in 1.14.0, please update and provide feedback |
hi, could you advise how to speed up the build command? I tried to run it inside of pipeline, and it takes ~15 min. And is there any way to pass a lot of arguments to the report command as implemented for diff? because my diff command doesnt work
The text was updated successfully, but these errors were encountered: