Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Data catalog #2

Closed
wants to merge 8 commits into from
Closed

Conversation

tumido
Copy link
Member

@tumido tumido commented Oct 22, 2020

馃挜 馃挘 This is WIP. Do not merge. 馃挘 馃挜

I've worked on kustomize-ing the Data Catalog for Internal DH on: AICoE/idh-manifests#29, AICoE/idh-manifests#27

This PR is an attempt to convert those manifests to a scheme consumable via kfdef. This is a custom, additional, component to ODH and the aim is to have it implemented here and usable for operate-first, before it lands in ODH upstream (that can take time, but we need to have it usable right now.

To-be-done:

@sesheta sesheta added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Oct 22, 2020
@tumido tumido mentioned this pull request Oct 23, 2020
@HumairAK HumairAK added this to In progress in Master Board Oct 27, 2020
@sesheta
Copy link
Member

sesheta commented Oct 27, 2020

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign tumido after the PR has been reviewed.
You can assign the PR to them by writing /assign @tumido in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sesheta
Copy link
Member

sesheta commented Oct 27, 2020

Pre-Commit Test failed! Click here
[INFO] Initializing environment for git://github.com/Lucas-C/pre-commit-hooks.
[INFO] Initializing environment for git://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/adrienverge/yamllint.git.
[INFO] Installing environment for git://github.com/Lucas-C/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for git://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/adrienverge/yamllint.git.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
Tabs remover.............................................................Passed
Trim Trailing Whitespace.................................................Passed
Check for merge conflicts................................................Passed
Fix End of Files.........................................................Passed
Check for added large files..............................................Passed
Check for case conflicts.................................................Passed
Check JSON...........................................(no files to check)Skipped
Check for broken symlinks............................(no files to check)Skipped
Detect Private Key.......................................................Passed
Fix End of Files.........................................................Passed
Trim Trailing Whitespace.................................................Passed
yamllint.................................................................Failed
- hook id: yamllint
- exit code: 2

kfdef/datacatalog/manifests/base/thriftserver/postgres-dc.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/hue/hue-mysql-secret.yaml
  1:1       warning  missing document start "---"  (document-start)
  9:81      error    line too long (83 > 80 characters)  (line-length)

kfdef/datacatalog/manifests/base/hue/hue-service.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/thriftserver/postgres-secret.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/hue/hue-route.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/thriftserver/postgres-service.yaml
  1:1       warning  missing document start "---"  (document-start)
  6:81      error    line too long (109 > 80 characters)  (line-length)

kfdef/datacatalog/manifests/base/hue/kustomization.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/thriftserver/thriftserver-route.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/hue/hue-dc.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/superset/kustomization.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/thriftserver/kustomization.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/thriftserver/thriftserver-hdfs-hive-secret.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/kfdef.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/hue/hue-mysqld-exporter-secret.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/thriftserver/thriftserver-dc.yaml
  1:1       warning  missing document start "---"  (document-start)

operator/base/operator_group.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/hue/hive-site-xml-secret.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/configurations.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/thriftserver/thriftserver-pvc.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/hue/hue-mysql-pvc.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/hue/hue-mysql-service.yaml
  1:1       warning  missing document start "---"  (document-start)
  6:81      error    line too long (103 > 80 characters)  (line-length)

operator/base/subscription.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/thriftserver/postgres-exporter.yaml
  1:1       warning  missing document start "---"  (document-start)
  10:81     error    line too long (101 > 80 characters)  (line-length)

kfdef/datacatalog/manifests/base/hue/hue-mysql-dc.yaml
  1:1       warning  missing document start "---"  (document-start)

.aicoe-ci.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/thriftserver/postgres-pvc.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/kustomization.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/jupyterhub/kustomization.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/jupyterhub/kfdef.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/hue/hue-db-init-job.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/kustomization.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/superset/kfdef.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/thriftserver/thriftserver-service.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/manifests/base/thriftserver/thriftserver-server-conf-secret.yaml
  1:1       warning  missing document start "---"  (document-start)
  7:81      error    line too long (94 > 80 characters)  (line-length)
  14:81     error    line too long (121 > 80 characters)  (line-length)

kfdef/datacatalog/manifests/base/hue/hue-ini-secret.yaml
  1:1       warning  missing document start "---"  (document-start)

operator/base/kustomization.yaml
  1:1       warning  missing document start "---"  (document-start)
  5:1       error    wrong indentation: expected 2 but found 0  (indentation)

@sesheta
Copy link
Member

sesheta commented Nov 3, 2020

Pre-Commit Test failed! Click here
[INFO] Initializing environment for git://github.com/Lucas-C/pre-commit-hooks.
[INFO] Initializing environment for git://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/adrienverge/yamllint.git.
[INFO] Installing environment for git://github.com/Lucas-C/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for git://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/adrienverge/yamllint.git.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
Tabs remover.............................................................Passed
Trim Trailing Whitespace.................................................Passed
Check for merge conflicts................................................Passed
Fix End of Files.........................................................Passed
Check for added large files..............................................Passed
Check for case conflicts.................................................Passed
Check JSON...........................................(no files to check)Skipped
Check for broken symlinks............................(no files to check)Skipped
Detect Private Key.......................................................Passed
Fix End of Files.........................................................Passed
Trim Trailing Whitespace.................................................Passed
yamllint.................................................................Failed
- hook id: yamllint
- exit code: 2

kfdef/superset/kustomization.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/kfdef.yaml
  1:1       warning  missing document start "---"  (document-start)

operator/base/operator_group.yaml
  1:1       warning  missing document start "---"  (document-start)

operator/base/subscription.yaml
  1:1       warning  missing document start "---"  (document-start)

.aicoe-ci.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/datacatalog/kustomization.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/jupyterhub/kustomization.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/jupyterhub/kfdef.yaml
  1:1       warning  missing document start "---"  (document-start)

kfdef/superset/kfdef.yaml
  1:1       warning  missing document start "---"  (document-start)

operator/base/kustomization.yaml
  1:1       warning  missing document start "---"  (document-start)
  5:1       error    wrong indentation: expected 2 but found 0  (indentation)

@tumido
Copy link
Member Author

tumido commented Nov 3, 2020

cross-linking upstream ODH PRs opendatahub-io/odh-manifests#227 opendatahub-io/odh-manifests#228

@tumido
Copy link
Member Author

tumido commented Nov 3, 2020

This will be probably closed in favor of upstream ODH manifests. Also a replacement/additional PR will be landed here - with encrypted overlays for MOC deployment.

@durandom durandom mentioned this pull request Nov 5, 2020
8 tasks
@HumairAK HumairAK moved this from In progress to In Review in Master Board Nov 12, 2020
@HumairAK HumairAK moved this from In Review to In progress in Master Board Nov 12, 2020
@tumido
Copy link
Member Author

tumido commented Nov 24, 2020

Upstream datacatalog is working and ready to be deployed. Closing in favor of kfdef resource using the upstream.

@tumido tumido closed this Nov 24, 2020
Master Board automation moved this from In progress to November 2020 Nov 24, 2020
@tumido tumido deleted the data-catalog branch November 2, 2022 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
No open projects
Master Board
  
November 2020
Development

Successfully merging this pull request may close these issues.

None yet

2 participants