Keine Beschreibung

heruji ba24248a41 更新 'README.md' vor 2 Jahren
docs 99a7e6101d Add deployment in air gapped environment doc (#2744) vor 2 Jahren
elyra f6f126db6e Fix processing of node properties for pipeline app commands (#2740) vor 2 Jahren
etc 77b2217f46 Update generic component operator to support python 3.7 (#2727) vor 2 Jahren
packages 726c0c0032 去除多余组件 vor 2 Jahren
scripts 2e4e03661b Update Copyright headers with current year (#2390) vor 2 Jahren
tests 51176f45fc Add backend support for Kubernetes secrets environment variables (#2715) vor 2 Jahren
testutils 3283f85323 Update to use JupyterLab 3.3.0rc0 (#2495) vor 2 Jahren
.bumpversion.cfg 4d7462fc86 Prepare for next development iteration vor 4 Jahren
.eslintrc.json b23548557a Add eslint rule for type-safe equality operators (#2475) vor 2 Jahren
.gitattributes 2e4e03661b Update Copyright headers with current year (#2390) vor 2 Jahren
.gitignore 2e4e03661b Update Copyright headers with current year (#2390) vor 2 Jahren
.lintstagedrc 5a8c9ef3af Add front end linter (#296) vor 4 Jahren
.prettierrc 5a8c9ef3af Add front end linter (#296) vor 4 Jahren
LICENSE ea8995b3b8 更新README vor 2 Jahren
MANIFEST.in e7db8ef2eb Add Airflow provider package catalog connector (#2438) vor 2 Jahren
Makefile 77b2217f46 Update generic component operator to support python 3.7 (#2727) vor 2 Jahren
README.md ba24248a41 更新 'README.md' vor 2 Jahren
build_requirements.txt 8589e0605c Develop Elyra against the Jupyterlab source repo (#2709) vor 2 Jahren
conftest.py 6921b2f95a Clean up tests that rely on component cache instances (#2652) vor 2 Jahren
create-release.py 99a7e6101d Add deployment in air gapped environment doc (#2744) vor 2 Jahren
cypress.json b0faa0ff9a Add snapshot testing for pipeline files (#1792) vor 3 Jahren
lerna.json f77e8a3d66 Prepare for next development iteration vor 2 Jahren
lint_requirements.txt 720fb3663e Update linting to use black formatter (#2618) vor 2 Jahren
package.json 5345dc8384 Update node packages to fix security vulnerabilities (#2575) vor 2 Jahren
pyproject.toml 720fb3663e Update linting to use black formatter (#2618) vor 2 Jahren
pytest.ini 2e4e03661b Update Copyright headers with current year (#2390) vor 2 Jahren
setup.cfg 70f3b58fb8 Remove hacking dependency, capture version snapshot prior to CI testing (#2671) vor 2 Jahren
setup.py d821232001 调整依赖 vor 2 Jahren
test_requirements.txt 70f3b58fb8 Remove hacking dependency, capture version snapshot prior to CI testing (#2671) vor 2 Jahren
tsconfig.base.json 8589e0605c Develop Elyra against the Jupyterlab source repo (#2709) vor 2 Jahren
tsconfig.json 992af4539a Fix failing pipeline integration tests (#1621) vor 3 Jahren
yarn.lock a26d5e780d Improve pipeline validation (#2698) vor 2 Jahren

README.md

JupyterLab DAG 插件

该组件为 JupyterLab 提供了一个 DAG 的可视化编辑组件, 能够将 Notebook 或 Python 脚本连接形成工作流, 并基于 Airflow 做定时调度执行. 本项目 fork 自 https://github.com/elyra-ai/elyra, 在官方代码的基础上进行二次开发.

构建及安装方法

make install

配置文件

配置文件路径:

<sys-prefix>/share/jupyter/metadata/runtimes/<文件名>.json

对应的 JupyterHub Docker 镜像的挂载路径:

/usr/local/share/jupyter/metadata/runtimes/yili-test.json

配置文件样例 (yili-test.json):

{
  "display_name": "yili-test",
  "metadata": {
    "tags": [],
    "display_name": "yili-test",
    "user_namespace": "airflow01",
    "git_type": "GITLAB",
    "github_api_endpoint": "http://XXXX/",
    "api_endpoint": "http://XXXX/",
    "github_repo": "repo/dags",
    "github_branch": "master",
    "github_repo_token": "XXXXXXXXXXXX",
    "cos_auth_type": "USER_CREDENTIALS",
    "cos_endpoint": "http://XXXX/",
    "cos_bucket": "mybucket",
    "cos_username": "local",
    "cos_password": "local1234",
    "runtime_type": "APACHE_AIRFLOW"
  },
  "schema_name": "airflow"
}