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

Enhancement in Ubuntu or debian apt-get and CI issue fix #8687

Merged
merged 1 commit into from
Aug 19, 2020

Conversation

Rajpratik71
Copy link
Contributor

This PR is clean version of #8681 as requested

Major Changes No 1 : debian package manager tweaks

By default, Ubuntu or Debian based "apt" or "apt-get" system installs recommended but not suggested packages .

By passing "--no-install-recommends" option, the user lets apt-get know not to consider recommended packages as a dependency to install.

This results in smaller downloads and installation of packages .

Refer to blog at Ubuntu Blog .

Major Changes No 2 : added packages apt-utils ca-certificates

Because Github CI build is

  1. Slow and in log it is showing because "apt-utils" not installed

  2. to avoid CI build to exits with error without having certificate

@k8s-ci-robot
Copy link
Contributor

Hi @Rajpratik71. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 6, 2020
@Rajpratik71
Copy link
Contributor Author

@hakman @rifelpet @mikesplain requesting review , new PR as per changes asked in #8681

@fejta-bot
Copy link

Unknown CLA label state. Rechecking for CLA labels.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/check-cla

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 6, 2020
@rifelpet
Copy link
Member

rifelpet commented Mar 6, 2020

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 6, 2020
@Rajpratik71
Copy link
Contributor Author

@robinpercy @joshbranham requesting review

@johngmyers
Copy link
Member

The commit messages have a lot of repeated text. Please remove the duplicate text.

@Rajpratik71
Copy link
Contributor Author

The commit messages have a lot of repeated text. Please remove the duplicate text.

done as requested

@Rajpratik71
Copy link
Contributor Author

@johngmyers please review , done as requested

@johngmyers
Copy link
Member

/cc @hakman

@k8s-ci-robot k8s-ci-robot requested a review from hakman June 5, 2020 23:22
@k8s-ci-robot k8s-ci-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. do-not-merge/contains-merge-commits and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Jun 5, 2020
@Rajpratik71
Copy link
Contributor Author

@robinpercy requesting review

@johngmyers
Copy link
Member

@Rajpratik71 you will need to rebase on top of master. We no longer allow merge commits in PRs.

@Rajpratik71
Copy link
Contributor Author

@Rajpratik71 you will need to rebase on top of master. We no longer allow merge commits in PRs.

done as requested

@johngmyers
Copy link
Member

It looks like this makes a test data file executable. Please remove that change.

@Rajpratik71
Copy link
Contributor Author

It looks like this makes a test data file executable. Please remove that change.

fixed

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 18, 2020
@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 18, 2020
@k8s-ci-robot
Copy link
Contributor

k8s-ci-robot commented Aug 18, 2020

@Rajpratik71: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
pull-kops-e2e-k8s-containerd e544b87 link /test pull-kops-e2e-k8s-containerd

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@hakman
Copy link
Member

hakman commented Aug 18, 2020

@Rajpratik71 this PR needs to be rebased for the tests to work.
Also, check the files and make sure that only the changes you want are there: https://github.com/kubernetes/kops/pull/8687/files.

By default, Ubuntu or Debian based "apt" or "apt-get" system installs recommended but not suggested packages .

By passing "--no-install-recommends" option, the user lets apt-get know not to consider recommended packages as a dependency to install.

This results in smaller downloads and installation of packages .

Refer to blog at [Ubuntu Blog](https://ubuntu.com/blog/we-reduced-our-docker-images-by-60-with-no-install-recommends) .

Signed-off-by: Pratik Raj <[email protected]>
@hakman
Copy link
Member

hakman commented Aug 19, 2020

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 19, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman, Rajpratik71

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 19, 2020
@k8s-ci-robot k8s-ci-robot merged commit 9be8d8f into kubernetes:master Aug 19, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.19 milestone Aug 19, 2020
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants