Sin descripción

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

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