Hi all! We’ve been using DataHub for a while now and are really enjoying it! We’re now trying to deploy a forked version of the repo, and working on getting our CI/CD sorted. We’ve been able to modify our Helm chart to pull from ECS successfully, the only part we’re stuck on is how to build and deploy the docker images up into ECS. I’ve tried using this:
- create python env
- login to ecr...
- name: Gradle Build
continue-on-error: true
run: |
./gradlew clean
./gradlew build
- name: Deploy to ECS
run: |
./gradlew quickstart --info
{tag and upload images to ECS}```
The build is successful (once I exclude tests), but it always fails at the `./gradlew quickstart` step with varying errors. We haven’t made any changes to the codebase yet. I’m curious if anyone else has solved this problem already? Otherwise I’ll update here with what I did to get it working.
The real question here is: What is the most lightweight way to build the GMS and Frontend Images? That’s all we need for our deployment. I’ve tried using this:
(cd docker && COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -f docker-compose-without-neo4j.yml -f docker-compose-without-neo4j.override.yml -f docker-compose.dev.yml build datahub-frontend-react)
But the image isn’t everything needed for the DataHub frontend (I think?)