forked from OpenLineage/OpenLineage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate docs to Openlineage/Openlineage repo
Signed-off-by: Pawel Leszczynski <[email protected]>
- Loading branch information
1 parent
11b8e3b
commit 15d214d
Showing
776 changed files
with
189,115 additions
and
170 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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Build & Deploy docs to Netlify GitHub Pages | ||
|
||
on: | ||
push: | ||
tags: | ||
- '[0-9]+.[0-9]+.[0-9]+' | ||
|
||
jobs: | ||
generate_java_doc: | ||
release-javadoc: | ||
# Generates java doc for Java client, add it to the repo under website/static/javadoc | ||
# TODO: generate javadoc for java client to be generated | ||
#./gradlew --console=plain javadoc | ||
# https://github.com/marketplace/actions/update-files-on-github | ||
netlify_deploy: | ||
name: 'Deploy to Netlify' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: jsmrcaga/[email protected] | ||
with: | ||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_TOKEN_SECRET }} | ||
NETLIFY_SITE_ID: 496a9c14-4c35-4918-943a-7fbe994edc03 # TODO: personal netlify site | ||
NETLIFY_DEPLOY_TO_PROD: true # can be false for now |
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,32 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Copyright 2018-2024 contributors to the OpenLineage project | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
set -e | ||
|
||
# check if there are any changes in spec in the latest commit | ||
if git diff --name-only --exit-code HEAD~1 'spec/*.json' 'spec/OpenLineage.yml' >> /dev/null; then | ||
echo "no changes in spec detected, skipping publishing spec" | ||
exit 0 | ||
fi | ||
|
||
# Copy changed spec JSON files to target location | ||
git diff --name-only HEAD~1 'spec/*.json' | while read LINE; do | ||
|
||
#ignore registry files | ||
if [[ $LINE =~ "registry.json" ]]; then | ||
continue | ||
fi | ||
|
||
# extract target file name from $id field in spec files | ||
URL=$(cat $LINE | jq -r '.["$id"]') | ||
|
||
# extract target location in website repo | ||
LOC="website/static/${URL#*//*/}" | ||
LOC_DIR="${LOC%/*}" | ||
|
||
# create dir if necessary, and copy files | ||
mkdir -p $LOC_DIR | ||
cp $LINE $LOC | ||
done |
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,30 @@ | ||
name: Build & Deploy spec to Netlify | ||
|
||
on: | ||
push: | ||
branches: | ||
- migrate-docs | ||
#- main # spec is released whenever pushed to main | ||
|
||
jobs: | ||
generate_spec: | ||
# if: github.event.pull_request.merged == true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./.github/workflows/release_spec.sh | ||
|
||
#generate_openapi: TODO: to be done | ||
netlify_deploy: | ||
# if: github.event.pull_request.merged == true | ||
name: 'Deploy to Netlify' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: jsmrcaga/[email protected] | ||
with: | ||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_TOKEN_SECRET }} | ||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | ||
NETLIFY_DEPLOY_TO_PROD: true | ||
install_command: "cd website" | ||
build_command: "yarn && yarn build" |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,26 @@ | ||
# Dependencies | ||
node_modules | ||
|
||
# Production | ||
/build | ||
|
||
# Generated files | ||
.docusaurus | ||
.cache-loader | ||
|
||
# Misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# intellij | ||
.idea | ||
|
||
argos/screenshots | ||
argos/test-results |
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 @@ | ||
openlineage.io |
Oops, something went wrong.