Commit Graph

28 Commits (09a2e49a94aeef7162d5874a663aea7930976d2f)

Author SHA1 Message Date
Jeff Grafton e216995ef1 Update repo-infra, bazel-skylib, rules_docker, and rules_go dependencies
Also require bazel 0.18.0+
2019-02-12 17:55:10 -08:00
Benjamin Elder 4cd93dada4 add CNI_VERSION to build/workspace.bzl, use it to dedupe version 2018-12-03 20:19:47 -08:00
Duffie Cooley 2d7b386193
Add conntrack as a dependency of kubelet
FIXES: https://github.com/kubernetes/kubeadm/issues/1287

- This commit integrates the work of @jdetiber to fix bazel build
//build/rpms and also addresses an issue where not all common versions
of rpmbuild have the %{_sysctldir} macro.

- Since that macro points to /usr/lib/sysctl.d this commit just points
directly to that dir.

- This also adds conntrack as a dependency of kubelet for both rpm and
deb builds.

Signed-off-by: Duffie Cooley <dcooley@heptio.com>
2018-11-29 10:08:07 -08:00
Jason DeTiberus 3ee10e9ceb
Fix bazel //build/rpms
- Also update the kubernetes-cni requirement for both debs and rpms
  to match release packaging.
2018-11-28 16:51:59 -08:00
Ashwani Khemani a7ecb562b3 changes for update-bazel script 2018-10-25 10:57:24 -05:00
Ashwani Khemani b929ba01ef changes done to enable br_filter and ip_forward for debian packages 2018-10-25 10:55:13 -05:00
Kubernetes Submit Queue 2a54f83ef1
Merge pull request #65554 from rdodev/kubelet-postinstall-step
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

bazel: kubelet deb package postinstall step

**What this PR does / why we need it**:
Presently bazel build .deb (kubelet.deb specifically) does not auto-restart after installation. Adding a postinst control file fixes this.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
kubernetes/kubeadm#944
**Special notes for your reviewer**:

@chuckha  

```release-note
bazel deb package bugfix: The kubeadm deb package now reloads the kubelet after installation
```
2018-07-03 10:14:28 -07:00
Ruben Orduz 512eb62eeb adds post install step to kubeadm deb built by bazel
Signed-off-by: Ruben Orduz <rubenoz@gmail.com>
2018-07-02 17:10:50 -04:00
Kubernetes Submit Queue 639fbaf9e2
Merge pull request #65338 from andrewsykim/65337
Automatic merge from submit-queue (batch tested with PRs 65338, 64535). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Remove cloud-controller-manager deb from releases

**What this PR does / why we need it**:
Stop including cloud controller manager deb from Kubernetes releases. 

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes # https://github.com/kubernetes/kubernetes/issues/65337 

```release-note
NONE
```
2018-06-22 21:28:02 -07:00
andrewsykim 3a002eaf26 remove cloud-controller-manager deb from releases 2018-06-22 19:11:38 -04:00
Chuck Ha 2b8482aa29
Adds cri-tools as a dependency to kubeadm deb/rpms
Closes kubernetes/kubeadm#942

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>
2018-06-21 09:50:06 -04:00
Lucas Käldström 42b7940a4b
cri-tools deb: Rename cri_tools to the correct cri-tools 2018-06-18 21:48:34 +03:00
Chuck Ha 03456a33f9
Adds a crictl package for kubeadm installs
Closes kubernetes/kubeadm#811

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>
2018-06-07 10:04:03 -04:00
Jeff Grafton 1b503e0e3d Use the pkg_tar wrapper from kubernetes/repo-infra 2018-01-18 17:10:16 -08:00
Jonathan Basseri 85c5862552 Fix scheduler refs in BUILD files.
Update references to moved scheduler code.
2018-01-05 15:05:01 -08:00
Lucas Käldström cbd63cfd15 Fix kubeadm e2e CI build 2017-10-25 16:17:38 +01:00
Alexander Kanevskiy b0e1641f97 Improve deb and rpm packaging
- kubernetes-cni package now has proper version (0.5.1)
- Synchronize post-1.8 version of 10-kubeadm.conf file from release
  repository.
- Fix dependencies
- Improve descriptions in produced packages
2017-09-28 21:59:01 +03:00
Alexander Kanevskiy 19cb090381 Generate deb and rpms package with correct versions. 2017-09-01 00:20:29 +03:00
Mike Danese fd9c017d2d bazel: build rpms to match the debs that we output 2017-05-16 09:17:30 -07:00
Jeff Grafton e231d4280b Replace git_repository with http_archive and use ixdy's fork of bazel tools for pkg_tar 2017-05-03 10:13:06 -07:00
Kubernetes Submit Queue 46971d6d21 Merge pull request #45120 from ixdy/bazel-push-build
Automatic merge from submit-queue

Also upload debs to bin/$OS/$ARCH

**What this PR does / why we need it**: the bazel-built debs are used by the kubeadm e2e tests, so upload them too.

https://github.com/kubernetes/kubernetes/pull/44591#issuecomment-298084453

/assign @pipejakob 
/cc @mikedanese @spxtr 

**Release note**:

```release-note
NONE
```
2017-05-02 15:40:35 -07:00
Jeff Grafton 37eb292bc0 Update bazel build to dockerize cloud-controller-manager 2017-05-02 12:07:13 -07:00
Jeff Grafton f0e0a27f3e Also upload debs to bin/$OS/$ARCH 2017-04-28 13:25:12 -07:00
Mike Danese 82089af496 bazel: delete deb that doesn't build 2017-04-11 14:56:52 -07:00
deads2k 453651cbfc rename kubernetes-discovery to kube-aggregator 2017-01-10 12:27:42 -05:00
Jeff Grafton 20d221f75c Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
Mike Danese 35ca259464 uses debs to build k8s docker images 2017-01-04 15:35:49 -08:00
Jeff Grafton dd7c960aaf Rename build-tools/debs to build/debs 2016-12-15 11:10:23 -08:00