pipeline_with_notebooks.pipeline 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. {
  2. "doc_type": "pipeline",
  3. "version": "3.0",
  4. "json_schema": "http://api.dataplatform.ibm.com/schemas/common-pipeline/pipeline-flow/pipeline-flow-v3-schema.json",
  5. "id": "elyra-auto-generated-pipeline",
  6. "primary_pipeline": "primary",
  7. "pipelines": [
  8. {
  9. "id": "primary",
  10. "nodes": [
  11. {
  12. "id": "e0ecf668-c722-4148-9876-d956cba681b9",
  13. "type": "execution_node",
  14. "op": "execute-notebook-node",
  15. "app_data": {
  16. "component_parameters": {
  17. "filename": "notebooks/notebook_1.ipynb",
  18. "outputs": [],
  19. "env_vars": [],
  20. "kubernetes_secrets": [
  21. "USER_NAME=secret-1:myuserid",
  22. "USER_PASSWORD=secret-1:mypassword"
  23. ],
  24. "dependencies": [],
  25. "include_subdirectories": false,
  26. "mounted_volumes": []
  27. },
  28. "label": "",
  29. "ui_data": {
  30. "label": "notebook_1.ipynb",
  31. "image": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20viewBox%3D%220%200%2022%2022%22%3E%0A%20%20%3Cg%20class%3D%22jp-icon-warn0%20jp-icon-selectable%22%20fill%3D%22%23EF6C00%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M18.7%203.3v15.4H3.3V3.3h15.4m1.5-1.5H1.8v18.3h18.3l.1-18.3z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M16.5%2016.5l-5.4-4.3-5.6%204.3v-11h11z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A",
  32. "x_pos": 169,
  33. "y_pos": 115,
  34. "description": "Run notebook file"
  35. }
  36. },
  37. "inputs": [
  38. {
  39. "id": "inPort",
  40. "app_data": {
  41. "ui_data": {
  42. "cardinality": {
  43. "min": 0,
  44. "max": -1
  45. },
  46. "label": "Input Port"
  47. }
  48. }
  49. }
  50. ],
  51. "outputs": [
  52. {
  53. "id": "outPort",
  54. "app_data": {
  55. "ui_data": {
  56. "cardinality": {
  57. "min": 0,
  58. "max": -1
  59. },
  60. "label": "Output Port"
  61. }
  62. }
  63. }
  64. ]
  65. },
  66. {
  67. "id": "84505b00-6d97-4f41-b7c6-0a10997baca4",
  68. "type": "execution_node",
  69. "op": "execute-notebook-node",
  70. "app_data": {
  71. "label": "",
  72. "component_parameters": {
  73. "filename": "notebooks/notebook_2.ipynb",
  74. "outputs": [],
  75. "env_vars": [],
  76. "kubernetes_secrets": [],
  77. "dependencies": [],
  78. "include_subdirectories": false,
  79. "mounted_volumes": []
  80. },
  81. "ui_data": {
  82. "label": "notebook_2.ipynb",
  83. "image": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20viewBox%3D%220%200%2022%2022%22%3E%0A%20%20%3Cg%20class%3D%22jp-icon-warn0%20jp-icon-selectable%22%20fill%3D%22%23EF6C00%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M18.7%203.3v15.4H3.3V3.3h15.4m1.5-1.5H1.8v18.3h18.3l.1-18.3z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M16.5%2016.5l-5.4-4.3-5.6%204.3v-11h11z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A",
  84. "x_pos": 401,
  85. "y_pos": 233,
  86. "description": "Run notebook file"
  87. }
  88. },
  89. "inputs": [
  90. {
  91. "id": "inPort",
  92. "app_data": {
  93. "ui_data": {
  94. "cardinality": {
  95. "min": 0,
  96. "max": -1
  97. },
  98. "label": "Input Port"
  99. }
  100. },
  101. "links": [
  102. {
  103. "id": "f6012664-4082-41f9-a332-29c7d99af78d",
  104. "node_id_ref": "e0ecf668-c722-4148-9876-d956cba681b9",
  105. "port_id_ref": "outPort"
  106. }
  107. ]
  108. }
  109. ],
  110. "outputs": [
  111. {
  112. "id": "outPort",
  113. "app_data": {
  114. "ui_data": {
  115. "cardinality": {
  116. "min": 0,
  117. "max": -1
  118. },
  119. "label": "Output Port"
  120. }
  121. }
  122. }
  123. ]
  124. }
  125. ],
  126. "app_data": {
  127. "ui_data": {
  128. "comments": []
  129. },
  130. "version": 7,
  131. "properties": {
  132. "pipeline_defaults": {
  133. "runtime_image": "tensorflow/tensorflow:2.8.0",
  134. "mounted_volumes": [
  135. "/mnt/vol1=pvc-claim-1"
  136. ]
  137. },
  138. "name": "pipeline_with_notebooks",
  139. "runtime": "Generic",
  140. "description": "Generic pipeline with notebooks only"
  141. }
  142. },
  143. "runtime_ref": ""
  144. }
  145. ],
  146. "schemas": []
  147. }