Commit Graph

30 Commits

Author SHA1 Message Date
Mikko Ylinen
27783e7b94 images: add LICENSEs
This commit adds a script that is (primarily) used in Dockerfiles
to install runtime Go dependencies' LICENSE/NOTICE files into the
image and modifies the Dockerfiles to use the script.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-11-13 10:50:57 +02:00
Mikko Ylinen
e6524eaada images: drop SRCREV tag
The SRCREV tag becomes a RepoTag we end up having those tags in the
registry too.

To keep the registry clean, drop SRCREV tags.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-11-01 14:43:48 +02:00
Mikko Ylinen
d3354d0522 travis: Use vendored code for container builds
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-11-01 14:32:26 +02:00
Mikko Ylinen
bfcac03e48 deployments: fix QAT plugin command path
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-08-29 13:21:42 +03:00
Mikko Ylinen
d06f98690f images: tag with intel prefix
In preparations to get some of the images to hub.docker.com/intel,
start using intel/ prefix.

Moreover, set the Makefile variables so that the images built
by make [images|demos] can easily be pushed to any registry/org
by 'docker push' (e.g., by Jenkins).

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-08-29 13:21:19 +03:00
Alexander D. Kanevskiy
9d585ea0b8
Merge pull request #209 from bart0sh/PR0061-fix-deployment-setup
fpga: fix deployment setup
2019-08-27 16:26:13 +03:00
Dmitry Rozhkov
097ce827de Add support for go mod
See https://github.com/kubernetes/kubernetes/issues/79384 for details on
how to update K8s dependencies.
2019-08-27 11:40:18 +03:00
Ed Bartosh
a4c124777a fpga: fix deployment setup
- used ENTRYPOINT instead of CMD in plugin and admission webhook
  Dockerfiles to avoid duplicating commands in the pod yamls
- fixed path to deploy.sh script in fpga initcontainer Dockerfile
2019-08-27 11:03:03 +03:00
Alexander Kanevskiy
6fd729f12c Cleanup and fixes for FPGA initcontainer
- Simplify initcontainer, we don't need OPAE anymore
- Remove old initcontainer related files
2019-08-25 02:37:07 +03:00
Mikko Ylinen
04be52e0a1 fpga: move to clearlinux based images
Switch to clearlinux based image and rootfs and add
enablers to make builds reproducible.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-08-24 18:27:39 +03:00
Alexander Kanevskiy
186ec6613c FPGA: migrate to ClearLinux environment
- Migrate to OPAE 1.3.2
- Build all the tools from the source
- ignore files in workspace
- minimal fpga_tool utility to check gbs/aocx file parsing and flashing
- implemented kernel IOCTL based flashing of bitstreams
- add PCI and sysfs functions
2019-08-24 02:55:19 +03:00
Mikko Ylinen
1023504dce gpu: move to clearlinux based images
Switch to clearlinux based image and rootfs and add
enablers to make builds reproducible.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-08-20 22:01:44 +03:00
Mikko Ylinen
144b45fba9 qat: move to clearlinux based images
The modifications also bring enablers to "reproducible" builds.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-08-20 22:01:44 +03:00
Mikko Ylinen
9f3537ab6a qat: update to qat1.7.l.4.6.0-00025
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-07-23 15:06:12 +03:00
Alexander Kanevskiy
65c44b92f9 User ClearLinux as base builder image 2019-06-18 18:13:55 +03:00
Ubuntu
ded152e8a4 Move FPGA plugin to Distroless and Clearlinux
Signed-off-by: Ubuntu <hector.augusto.garcia.baleon@intel.com>
2019-06-14 18:11:32 +00:00
Mikko Ylinen
822abe5d49 Move QAT and GPU plugins to Distroless
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-05-19 03:16:22 +03:00
Mikko Ylinen
23598e7839 build-image: always pull the latest base image
With this change, we make sure the local build always pulls the
latest version of the base image.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-05-14 20:39:36 +03:00
Dmitry Rozhkov
2683a07be0 qat: update to qat1.7.l.4.5.0-00034 2019-05-03 10:25:07 +03:00
Dmitry Rozhkov
ca569b0f70 qat: initial support for openssl QAT engine 2019-04-25 14:14:09 +03:00
Dmitry Rozhkov
5ee4de98b3
Merge pull request #109 from bart0sh/PR0047-build-images-with-buildah
Build images with buildah
2018-10-12 16:16:03 +03:00
Dmitry Rozhkov
1732a69e6b bump up Go lang version
The version 1.11 is required to use the latest features of the
`text/template` standard library (mutable variables in templates).
2018-10-04 10:19:23 +03:00
Ed Bartosh
891d69de83 Use buildah to build images
Added alternative builder for project images: buildah
https://github.com/containers/buildah

Considering that some of our plugins use CRI-O runtime it could be
a good idea to get rid of docker as a builder. It should allow us
not to run docker daemon at all, even for build purposes.

Kubernetes also goes this way encouraging users to switch to CRI
runtimes (CRI-O and containerd), so having non-docker builds supported
looks good from this perspective too.
2018-09-28 17:21:12 +03:00
Dmitry Rozhkov
eccd70c600 replace glog with simpler home-grown debug logging 2018-08-16 17:40:16 +03:00
Dmitry Rozhkov
fac7971f10 bump up Go version for Docker builds
This fixes build error:
github.com/intel/intel-device-plugins-for-kubernetes/internal/deviceplugin
../../internal/deviceplugin/server.go:186: cannot use srv (type *server) as type v1beta1.DevicePluginServer in argument to v1beta1.RegisterDevicePluginServer:
	*server does not implement v1beta1.DevicePluginServer (wrong type for Allocate method)
		have Allocate("context".Context, *v1beta1.AllocateRequest) (*v1beta1.AllocateResponse, error)
		want Allocate("github.com/intel/intel-device-plugins-for-kubernetes/vendor/golang.org/x/net/context".Context, *v1beta1.AllocateRequest) (*v1beta1.AllocateResponse, error)
2018-08-07 17:06:07 +03:00
ssehgal
3eb2b10f75 Enabling support for QuickAssist Devices 2018-07-23 17:35:37 +01:00
Dmitry Rozhkov
0e810a6cd8 tweak intel-fpga-plugin.Dockerfile to send logs to stderr by default 2018-06-20 09:36:52 +03:00
Dmitry Rozhkov
562f8fe722 fpga-admissionwebhook: add initial implementation 2018-06-19 14:55:59 +03:00
Dmitry Rozhkov
6a34355da3 simplify Makefile 2018-06-07 15:42:39 +03:00
Alexander Kanevskiy
d4d77a71e4 Initial public code release 2018-05-18 18:30:54 +03:00