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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gitRepo build pipeline is not working #162

Closed
codificat opened this issue Dec 19, 2022 · 6 comments · Fixed by #167
Closed

gitRepo build pipeline is not working #162

codificat opened this issue Dec 19, 2022 · 6 comments · Fixed by #167
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. wg/cre Issues or PRs related to the Custom Runtime Environment (fka Custom Notebook Image) ODH feature.

Comments

@codificat
Copy link
Member

Bug description

The current version of the cre-gitrepo pipeline (that implements the GitRepository build type) is not working.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create a CustomRuntimeEnvironment of type GitRepository (for example, the one in config/samples)
  2. Check the related PipelineRun
  3. See error

Actual behavior

$ tkn pr describe -L
Name:              cre-elyra-aidevsecops-tutorial-gitrepo
Namespace:         aicoe-meteor
Pipeline Ref:      cre-gitrepo
Service Account:   pipeline
Timeout:           1h0m0s
Labels:
 cre.thoth-station.ninja/pipeline=gitrepo
 tekton.dev/pipeline=cre-gitrepo

🌡️  Status

STARTED         DURATION    STATUS
5 seconds ago   0 seconds   Failed(InvalidTaskResultReference)

💌 Message

invalid pipeline result "url": referenced pipeline task "url-to-results" does not exist

⚓ Params

 NAME            VALUE
 ∙ name          Elyra DevSecOps Tutorial
 ∙ creator       codificat
 ∙ description   Build from the Elyra Tutorial
 ∙ url           https://github.com/AICoE/elyra-aidevsecops-tutorial
 ∙ ref           master

📂 Workspaces

 NAME           SUB PATH   WORKSPACE BINDING
 ∙ data         ---        VolumeClaimTemplate
 ∙ sslcertdir   ---        ConfigMap (config=openshift-service-ca.crt,item=service-ca.crt=ca.crt)

Expected behavior

The PipelineRun created for the git repo CRE works.

Environment information

meteor-operator v0.2.1

Additional context

Noticed this while reviewing thoth-station/odh-dashboard#14

This is not a use case in the initial CNBi functionality, and therefore it's optional in that sense for the initial version.

@codificat codificat added the kind/bug Categorizes issue or PR as related to a bug. label Dec 19, 2022
@codificat
Copy link
Member Author

/wg cre
/priority important-soon

@sesheta sesheta added wg/cre Issues or PRs related to the Custom Runtime Environment (fka Custom Notebook Image) ODH feature. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Dec 19, 2022
@codificat codificat self-assigned this Jan 4, 2023
@VannTen
Copy link
Member

VannTen commented Jan 10, 2023

Is the pipeline results used somewhere ? Can't figure out what should be there (and blame is not helpful, too much renaming)

@codificat
Copy link
Member Author

Is the pipeline results used somewhere ?

It isn't.

Can't figure out what should be there
(and blame is not helpful, too much renaming)

Yep. To hopefully clarify a bit: the pipeline and tasks came mostly "as is" from meteor's jupyterhub pipelines, as hosted in the helm charts repo

There are a few things we don't use at the moment: results, owner ref, and namespace extraction.

@VannTen
Copy link
Member

VannTen commented Jan 12, 2023 via email

@codificat
Copy link
Member Author

As an alternative, I also have #152 as a possible alternative (== PackageList + a PEP 517 build and install).

Apologies if I am missing something here, but I believe #152 is complementary rather than alternative.

This intend to implement a git-repo pipeline which would not depend on an aicoe-ci.yaml file at the repository root.

Basic question about the scope here, just want to clarify.

The proposal here would aim at building images for git repos that host Python packages, correct? And (probably) not cover repos that contain (mostly) jupyter notebooks, right?

I'm asking because I believe CNBi / CRE's main use case is for repos where (most of) the content is "notebook-type" rather than Python packages.

@VannTen
Copy link
Member

VannTen commented Jan 16, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. wg/cre Issues or PRs related to the Custom Runtime Environment (fka Custom Notebook Image) ODH feature.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants