-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: No Code Metadata Modeling (#2629)
Co-authored-by: Dexter Lee <[email protected]> Co-authored-by: Gabe Lyons <[email protected]> Co-authored-by: Shirshanka Das <[email protected]>
- Loading branch information
1 parent
7a0bab6
commit 97e9660
Showing
405 changed files
with
25,185 additions
and
1,758 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
name: docker-datahub-upgrade docker | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'docs/**' | ||
- '**.md' | ||
pull_request: | ||
branches: | ||
- master | ||
paths: | ||
- './datahub-upgrade/**' | ||
- '.github/workflows/docker-datahub-upgrade.yml' | ||
paths_ignore: | ||
- '**.md' | ||
- '**.env' | ||
release: | ||
types: [published, edited] | ||
|
||
jobs: | ||
setup: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
tag: ${{ steps.tag.outputs.tag }} | ||
publish: ${{ steps.publish.outputs.publish }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Compute Tag | ||
id: tag | ||
run: | | ||
echo "GITHUB_REF: $GITHUB_REF" | ||
SHORT_SHA=$(git rev-parse --short "$GITHUB_SHA") | ||
echo "SHORT_SHA: $SHORT_SHA" | ||
TAG=$(echo ${GITHUB_REF} | sed -e "s,refs/heads/.*$,head\,${SHORT_SHA},g" -e 's,refs/tags/,,g' -e 's,refs/pull/\([0-9]*\).*,pr\1,g') | ||
echo "tag=$TAG" | ||
echo "::set-output name=tag::$TAG" | ||
- name: Check whether publishing enabled | ||
id: publish | ||
env: | ||
ENABLE_PUBLISH: ${{ secrets.ORG_DOCKER_PASSWORD }} | ||
run: | | ||
echo "Enable publish: ${{ env.ENABLE_PUBLISH != '' }}" | ||
echo "::set-output name=publish::${{ env.ENABLE_PUBLISH != '' }}" | ||
push_to_registries: | ||
name: Build and Push Docker Image to Docker Hub | ||
runs-on: ubuntu-latest | ||
if: ${{ needs.setup.outputs.publish == 'true' }} | ||
needs: setup | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v2 | ||
- name: Docker meta | ||
id: docker_meta | ||
uses: crazy-max/ghaction-docker-meta@v1 | ||
with: | ||
# list of Docker images to use as base name for tags | ||
images: | | ||
acryldata/datahub-upgrade | ||
# add git short SHA as Docker tag | ||
tag-custom: ${{ needs.setup.outputs.tag }} | ||
tag-custom-only: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.ORG_DOCKER_PASSWORD }} | ||
- name: Build and Push image | ||
uses: docker/build-push-action@v2 | ||
with: | ||
file: ./docker/datahub-upgrade/Dockerfile | ||
tags: ${{ steps.docker_meta.outputs.tags }} | ||
push: ${{ needs.setup.outputs.publish == 'true' }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.