Hello here, Have you guys some tips to build the a...
# all-things-deployment
r
Hello here, Have you guys some tips to build the all project ? I mean it's a bit difficult from my POV to take the sources and build it. With a lot a modules, different languages and so, the jdkversion, the node version, the gradle version... Anyway i was wondering if you have some inputs or tutorial to do that properly, all that in a CI/CD pipeline purpose. Thanks for your inputs 🙂
s
you can see https://github.com/datahub-project/datahub/tree/master/.github/workflows to see how docker images are being built in our CI CD pipelines
r
Well thanks. I'm not familiar with github workflows but indeed it can help 🙂 I guess for a simple build it's around this one : https://github.com/datahub-project/datahub/blob/master/.github/workflows/build-and-test.yml Thanks again 🙂
I thought that the latest version uses jdk 11 but it's seems that it's still built with jdk8 regarding that :
Copy code
- name: Set up JDK 1.8
        uses: actions/setup-java@v1
        with:
          java-version: 1.8
Anyway i'll try jdk8 to buy the master.
And after 26min :
Copy code
> Task :datahub-graphql-core:compileJava FAILED
Expiring Daemon because JVM heap space is exhausted
Expiring Daemon because JVM heap space is exhausted
My laptop was at 5.8GB/16GB used at this moment, don't get the point.