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

Pipeline as Code integration for GitLab #1769

Merged
merged 5 commits into from
Jun 5, 2023

Conversation

matejvasek
Copy link
Contributor

@matejvasek matejvasek commented May 31, 2023

Changes

  • 🎁 Pipeline as Code integration for GitLab.
  • 🧪 Host names falling under the 127.0.0.1.sslip.io domains are now resolved to cluster node IP inside of the cluster.

/kind enhancement

feat: pipeline as code integration for gitlab

@knative-prow knative-prow bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/enhancement size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels May 31, 2023
@knative-prow knative-prow bot requested review from navidshaikh and rhuss May 31, 2023 20:41
@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 31, 2023
@codecov
Copy link

codecov bot commented May 31, 2023

Codecov Report

Patch coverage: 10.14% and project coverage change: +0.83 🎉

Comparison is base (fea4a72) 62.04% compared to head (d42e640) 62.88%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1769      +/-   ##
==========================================
+ Coverage   62.04%   62.88%   +0.83%     
==========================================
  Files         100      101       +1     
  Lines       13311    13368      +57     
==========================================
+ Hits         8259     8406     +147     
+ Misses       4253     4139     -114     
- Partials      799      823      +24     
Flag Coverage Δ
e2e-test 37.78% <1.44%> (-0.17%) ⬇️
e2e-test-oncluster 33.37% <1.44%> (-0.15%) ⬇️
e2e-test-oncluster-runtime 28.69% <1.44%> (?)
e2e-test-runtime-go 27.34% <1.44%> (?)
e2e-test-runtime-node 28.41% <1.44%> (?)
e2e-test-runtime-python 28.41% <1.44%> (?)
e2e-test-runtime-quarkus 28.54% <1.44%> (?)
e2e-test-runtime-springboot 27.40% <1.44%> (?)
e2e-test-runtime-typescript 28.54% <1.44%> (?)
integration-tests 49.28% <15.21%> (+1.43%) ⬆️
unit-tests-macos-latest 49.16% <4.34%> (?)
unit-tests-ubuntu-latest 49.98% <4.34%> (-0.13%) ⬇️
unit-tests-windows-latest 49.21% <4.34%> (-0.13%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/git/github/github.go 0.00% <0.00%> (ø)
pkg/git/gitlab/gitlab.go 0.00% <0.00%> (ø)
pkg/git/git.go 44.61% <3.33%> (-29.68%) ⬇️
pkg/pipelines/tekton/pipelines_pac_provider.go 43.79% <25.00%> (+39.33%) ⬆️
pkg/pipelines/tekton/pipeplines_provider.go 55.52% <41.66%> (-0.81%) ⬇️

... and 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: Matej Vasek <mvasek@redhat.com>
Resolve '[*.]127.0.0.1.sslip.io' to cluster node IP.

Signed-off-by: Matej Vasek <mvasek@redhat.com>
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Signed-off-by: Matej Vasek <mvasek@redhat.com>
@matejvasek matejvasek changed the title [WIP] Pipeline as Code integration for GitLab Pipeline as Code integration for GitLab Jun 2, 2023
@matejvasek matejvasek marked this pull request as ready for review June 2, 2023 17:47
@knative-prow knative-prow bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 2, 2023
@knative-prow knative-prow bot requested review from nainaz and navidshaikh June 2, 2023 17:47
@matejvasek matejvasek requested review from lance and lkingland and removed request for nainaz and navidshaikh June 2, 2023 17:47
@matejvasek
Copy link
Contributor Author

@zroubalik PTAL

Copy link
Member

@lkingland lkingland left a comment

Choose a reason for hiding this comment

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

big 👍🏻 from me. Glad to see GitLab support

The tests look sufficient, but /hold ing for others to take a look since this is a... hefty PR
/lgtm
/hold

pkg/pipelines/tekton/gitlab_test.go Show resolved Hide resolved
@knative-prow knative-prow bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 5, 2023
@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jun 5, 2023
Copy link
Contributor

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

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

/lgtm

Great! Thanks for implementing this!

@knative-prow
Copy link

knative-prow bot commented Jun 5, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lkingland, matejvasek, zroubalik

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:
  • OWNERS [lkingland,matejvasek,zroubalik]

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

@matejvasek
Copy link
Contributor Author

@lance @zroubalik we need to override the linter error.

@zroubalik
Copy link
Contributor

/override "Code Style / style / suggester / shell (pull_request)"

@knative-prow
Copy link

knative-prow bot commented Jun 5, 2023

@zroubalik: /override requires failed status contexts, check run or a prowjob name to operate on.
The following unknown contexts/checkruns were given:

  • Code Style / style / suggester / shell (pull_request)

Only the following failed contexts/checkruns were expected:

  • EasyCLA
  • style / suggester / shell
  • style / suggester / yaml
  • tide

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

In response to this:

/override "Code Style / style / suggester / shell (pull_request)"

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@zroubalik
Copy link
Contributor

/override "style / suggester / shell"

@knative-prow
Copy link

knative-prow bot commented Jun 5, 2023

@zroubalik: Overrode contexts on behalf of zroubalik: style / suggester / shell

In response to this:

/override "style / suggester / shell"

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@matejvasek
Copy link
Contributor Author

@jrangelramos @lance PTAL

@matejvasek
Copy link
Contributor Author

/unhold

@knative-prow knative-prow bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 5, 2023
@knative-prow knative-prow bot merged commit 4e74368 into knative:main Jun 5, 2023
2 checks passed
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. kind/enhancement lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants