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

added build from git option #14

Merged
merged 2 commits into from
Jan 23, 2023
Merged

Conversation

Gkrumbach07
Copy link
Member

Related Issues and Dependencies

fixes: #11

This introduces a breaking change

  • No

This should yield a new module release

  • Yes

This Pull Request implements

Creates the import from git repo option

Description

@sesheta sesheta added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Dec 19, 2022
Copy link
Member

@codificat codificat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small changes needed, as git ref is optional.

Besides that, maybe rebase from current main? There's no merge conflict, but as the rebase included a bunch of commits, a rebase (which should be trivial without conflict) would make for a slightly cleaner history.

As a side note: when testing this I noticed that the current version of the controller / pipeline for the gitRepo build type is not working - but that will be a separate story.

@codificat
Copy link
Member

/deploy

@codificat
Copy link
Member

I tested the latest version and it
/lgtm
/approve
thanks!

The dashboard looks good, and it interacts with CREs correctly.

I still have not managed to make it work end to end due to thoth-station/meteor-operator#162

Maybe by the time CI (prow) is back to handle tests and merging, e2e will be ready :)

@codificat
Copy link
Member

The dashboard looks good, and it interacts with CREs correctly.

Unfortunately I have to correct: now that I did manage to test the PR end to end, I found that when the pipeline succeeds and the CRE is flagged as Succeeded, the interface shows it as Failed.

Thinking that it was something still missing / wrong in the gitRepo build type from the CRE/pipeline, I tested this with an imageImport build type and I saw the same behaviour:

imatge

there seems to be something here that breaks correct status reporting at the end of the process - I couldn't spot it at first sight though

@codificat
Copy link
Member

there seems to be something here that breaks correct status reporting at the end of the process - I couldn't spot it at first sight though

Gage helped clarify that this comes from an inconsistency in the controller: thoth-station/meteor-operator#169

From the dashboard point of view, this works as expected.

/lgtm
/approve

@sesheta sesheta added the lgtm Indicates that a PR is ready to be merged. label Jan 17, 2023
@sesheta
Copy link
Member

sesheta commented Jan 17, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: codificat

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

The pull request process is described 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 sesheta added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 17, 2023
@codificat
Copy link
Member

/retest

@sesheta sesheta merged commit 3c9ce1e into thoth-station:main Jan 23, 2023
@Gkrumbach07 Gkrumbach07 deleted the git-form branch February 6, 2023 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a new CNBi build type: git repo
3 participants