10 Commits

Author SHA1 Message Date
Dexter Lee
ce075236a4
fix(ci): Fix github package path (#2205) 2021-03-10 10:48:59 -08:00
Dexter Lee
b02039c3da
feat(ci): Add SHA based tagging before pushing to docker registries (#2204) 2021-03-10 10:33:27 -08:00
John Plaisted
5d394c6062
build: fix docker actions. (#1787)
* bug: Fix docker actions.

We renamed directories in docker/ which broke the actions.

Also try to refactor the action files a little so that we can run (but not publish) these images on pull requests that change the docker/ dir as an extra check. Note this only seems to be supported by the dockerhub plugin; the github plugin doesn't support this (so that will be an issue when we move to it only).

* Drop extra pipes
2020-08-07 19:15:09 -07:00
John Plaisted
b8e18b0b5d
refactor(docker): make docker files easier to use during development. (#1777)
* Make docker files easier to use during development.

During development it quite nice to have docker work with locally built code. This allows you to launch all services very quickly, with your changes, and optionally with debugging support.

Changes made to docker files:
- Removed all redundant docker-compose files. We now have 1 giant file, and smaller files to use as overrides.
- Remove redundant README files that provided little information.
- Rename docker/<dir> to match the service name in the docker-compose file for clarity.
- Move environment variables to .env files. We only provide dev / the default environment for quickstart.
- Add debug options to docker files using multistage build to build minimal images with the idea that built files will be mounted instead.
- Add a docker/dev.sh script + compose file to easily use the dev override images (separate tag; images never published; uses debug docker files; mounts binaries to image).
- Added docs/docker documentation for this.
2020-08-06 16:38:53 -07:00
Mars Lan
03f1d78ef8
build(docker): build & publish GitHub Package (#1771)
* build(docker): build & publish docker images to GitHub Packages

Will kepp publishing to Docker Hub meanwhile until all Dockerfiles have been updated to point to GitHub.
Fixes https://github.com/linkedin/datahub/issues/1548

* Rebase & fix dockerfile locations
2020-08-03 13:08:05 -07:00
John Plaisted
a60d650787
build: remove travis (we're using GitHub actions). (#1770)
Remove travis (we're using GitHub actions).

Also ignore markdown in our current workflows.

Also update the README.md badge.
2020-08-03 12:00:28 -07:00
John Plaisted
c56936b9ff
Add workflow to check build and tests on PRs + releases. (#1769)
PRs are setup to skip docs.

Also, only run docker actions on linkedin/datahub (i.e. disable on forks; makes forks nicer since you don't have failing actions).
2020-08-01 14:54:32 -07:00
Mars Lan
63943a1ca8 build: update workflows to build version-tagged docker images upon new release 2020-05-29 20:30:44 -07:00
Mars Lan
2a2989609f build: use shorter workflow names
To generate shorter badges: https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#adding-a-workflow-status-badge-to-your-repository
2020-05-29 16:53:13 -07:00
Mars Lan
bbf7545706 build: parallelize docker image builds 2020-05-29 16:31:59 -07:00