Нет описания

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

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"
}