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

MGMT-11753: moving CI Dockerfiles to the repo #4386

Merged

Conversation

osherdp
Copy link
Contributor

@osherdp osherdp commented Sep 12, 2022

In order to be able to do quick fixes with less rehearse jobs and to spot duplicated code, we should have all CI-related images inside the repository (currently it's configured ad-hoc in the openshift/release repo).

This mainly copies the Dockerfiles to this repo without any significant changes.

List all the issues related to this PR

  • New Feature
  • Enhancement
  • Bug fix
  • Tests
  • Documentation
  • CI/CD

What environments does this code impact?

  • Automation (CI, tools, etc)
  • Cloud
  • Operator Managed Deployments
  • None

How was this code tested?

  • assisted-test-infra environment
  • dev-scripts environment
  • Reviewer's test appreciated
  • Waiting for CI to do a full test run
  • Manual (Elaborate on how it was tested)
  • No tests needed

Checklist

  • Title and description added to both, commit and PR.
  • Relevant issues have been associated (see CONTRIBUTING guide)
  • Reviewers have been listed
  • This change does not require a documentation update (docstring, docs, README, etc)
  • Does this change include unit-tests (note that code changes require unit-tests)

Reviewers Checklist

  • Are the title and description (in both PR and commit) meaningful and clear?
  • Is there a bug required (and linked) for this change?
  • Should this PR be backported?

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 12, 2022
@openshift-ci
Copy link

openshift-ci bot commented Sep 12, 2022

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Sep 12, 2022
@osherdp osherdp marked this pull request as ready for review September 12, 2022 19:30
@osherdp
Copy link
Contributor Author

osherdp commented Sep 12, 2022

/hold

@openshift-ci openshift-ci bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. and removed do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Sep 12, 2022
@codecov
Copy link

codecov bot commented Sep 12, 2022

Codecov Report

Merging #4386 (8995ba7) into master (d21a3f5) will increase coverage by 0.24%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4386      +/-   ##
==========================================
+ Coverage   66.45%   66.70%   +0.24%     
==========================================
  Files         193      196       +3     
  Lines       27074    27355     +281     
==========================================
+ Hits        17993    18247     +254     
- Misses       7455     7476      +21     
- Partials     1626     1632       +6     
Impacted Files Coverage Δ
internal/imageservice/urls.go 85.71% <0.00%> (-9.16%) ⬇️
internal/gencrypto/token.go 77.77% <0.00%> (-5.56%) ⬇️
internal/installcfg/builder/builder.go 84.78% <0.00%> (-2.01%) ⬇️
internal/common/common.go 32.08% <0.00%> (-1.44%) ⬇️
cmd/agentbasedinstaller/register.go 16.93% <0.00%> (-0.57%) ⬇️
internal/versions/versions.go 92.46% <0.00%> (-0.56%) ⬇️
...nternal/controller/controllers/agent_controller.go 78.85% <0.00%> (-0.21%) ⬇️
internal/cluster/cluster.go 69.97% <0.00%> (-0.18%) ⬇️
internal/network/manifests_generator.go 76.09% <0.00%> (-0.13%) ⬇️
internal/cluster/validator.go 96.02% <0.00%> (-0.02%) ⬇️
... and 25 more

ci-images/Dockerfile.base Outdated Show resolved Hide resolved
@osherdp
Copy link
Contributor Author

osherdp commented Sep 20, 2022

/uncc nbalacha romfreiman
/cc @adriengentil

@openshift-ci openshift-ci bot requested review from adriengentil and removed request for romfreiman and nbalacha September 20, 2022 10:52
In order to be able to do quick fixes with less rehearse jobs and to
spot duplicated code, we should have all CI-related images inside the
repository (currently it's configured ad-hoc in the
``openshift/release`` repo).

This mainly copies the Dockerfiles to this repo without any significant
changes.
@osherdp osherdp force-pushed the refactor/move-dockerfiles-to-repository branch from 39f2350 to 8995ba7 Compare September 20, 2022 11:17
@openshift-ci
Copy link

openshift-ci bot commented Sep 20, 2022

@osherdp: all tests passed!

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 20, 2022
@openshift-ci
Copy link

openshift-ci bot commented Sep 20, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adriengentil, osherdp

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

@osherdp
Copy link
Contributor Author

osherdp commented Sep 20, 2022

Tests seem to be passing with the new configuration:
openshift/release#31808

(except a few unrelated errors)

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 20, 2022
@osherdp osherdp merged commit 38451a8 into openshift:master Sep 20, 2022
osherdp added a commit to osherdp/release that referenced this pull request Sep 20, 2022
In order to be able to do quick fixes with less rehearse jobs and to
spot duplicated code, we should have all CI-related images inside the
repository (currently it's configured ad-hoc in the openshift/release
repo).

This change uses the already-moved Dockerfiles from the repository (as
done in openshift/assisted-service#4386).
openshift-merge-robot pushed a commit to openshift/release that referenced this pull request Sep 22, 2022
In order to be able to do quick fixes with less rehearse jobs and to
spot duplicated code, we should have all CI-related images inside the
repository (currently it's configured ad-hoc in the openshift/release
repo).

This change uses the already-moved Dockerfiles from the repository (as
done in openshift/assisted-service#4386).
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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants