GithubHelp home page GithubHelp logo

circleci-monorepo's People

Contributors

effoeffi avatar reuvenharrison avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

circleci-monorepo's Issues

building nested directory folders

First off, this is awesome thank you so much for taking the time to show a simple use case of building projects in different directories.

This worked great for me when projects were at the root level of the repo, but the projects I want to build are under a parent directory "functions", so in my project-dirs file I have something like:

functions/widget
functions/widget2

This appears to break the usability of this method as it now just says:

Modified directories:functions

Calculating dependencies

Building: functions

I know I could move everything up, but I would really like to be able to keep them under a parent folder. Any thoughts? Thanks!

Pickup changes of multiple commits - not just the last

Hi, thanks for the demo-repo - this is really helpful!
I found the link to this repo in the CircleCI forum and I'm running into a similar problem as one user over there:

Has anyone managed to get around the problem of git diff based on $CIRCLE_COMPARE_URL only showing the changes for the latest commit in a PR?
Say I create a feature branch and change something in package A, commit and push that, then later discover I had to change something in package B as well. I make changes in package B, commit and push. Now, even when looping over ever package, $(git diff $COMMIT_RANGE --name-only | grep "$PACKAGE") will only show changes for package B, so the first one won’t be tested.

from: https://discuss.circleci.com/t/does-circleci-2-0-work-with-monorepos/10378/19

So, changing something in service1 and commiting it (but not pushing), then changing something in service2 and commiting it, leads to this output when running

$ git diff --no-commit-id --name-only -r `git log -n 2 --oneline --pretty=format:"%h" | tail -n1`
service2/main.go

The changes in service1 are not found because they happened in the second to last commit.

Is there a way to check a dynamic range of commits rather than just the last one? We'd need the range since the last test we ran on circleci ...

Fails to run

I forked the repo and pointed CircleCI to it. I have set the CIRCLE_TOKEN with my personal API key.
Fails with

jq: error (at <stdin>:2): Cannot index object with number
Exited with code 5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.