After the following announcement on podman.io/blogs:
"Ubuntu 22.04 LTS Beta is available for testing as of March 31st. This
is the first LTS release with Podman, Buildah and Skopeo in the default
repos...
[snip]
There won’t be any further updates to the Kubic repos as far as Podman,
Buildah and Skopeo are concerned, so users are recommended to use the
default repos on 22.04 LTS."
buildah disappeared from the apt archive we were using making CI to
fail. Fortunately, we now get to use buildah from the worker directly.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
The latest release is needed to run with Go 1.18. Also, drop
"skip-go-installation" since the latest @v3 golangci-lint
action now requires an explicit setup-go step.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
In order to prevent erorrs from running e2e tests, cluster needs
always REG as 'intel/' and TAG as 'devel'.
Since Jenkinsfile has its own, we change it as we want right before
running the command 'make test-with-kind'.
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
Jenkinsfile had a disabled stage that connected to a
BMAAS CI to run scripts/jenkins/* to do QAT validation.
These are no longer used so drop them.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
go mod tidy adds more requirements because of the changes in 1.17:
"Go versions 1.17 and higher retain more requirements in order to
support lazy module loading."
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Update tool versions
Fix the errors and warnings originated from the update:
-Correct type deviceInfo (->DeviceInfo) to make it public
-Fix gpu_plugin.go and vpu_plugin_test.go where stylecheck errors occur
-Fix deprecation warnings
-Rename type 'PatcherManager' to 'Manager' to solve exported errors
-Rename type 'SgxMutator' to 'Mutator' to solve exported errors
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
All but one (VPU) of the published container images can be built with
static binaries which allows us to use distroless/static as the
base image. Moreover, when combined with stripping the plugin binaries,
we can get both build time and image size savings.
This is the part 1 (out of 2) of the rework. Part 2 will finish the
change by making some adjustments to VPU plugin image and moving the
FPGA/SGX/GPU initcontainers to distroless/static too.
Partial: #516
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
buildah 1.19.4 install from the external repository adds a
dependency to containers-common that comes with files that
conflicts with the virtual env installation.
remove the virtual env installation before proceeding with buildah
install.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
In Jenkins, we are using Xenial (16.04) as the worker distro and
that is causing some maintenance issues. For instance, the manually
installed buildah version lacks behind Github's CI that gets
buildah from a repository.
This change moves Jenkins to Ubuntu 18.04 so we get to install
buildah from packages directly too.
While we are at it, move Github VMs to Ubuntu 20.04. This allows
us the change with both LTS versions.
Finally, increase Jenkins timeout from 3 to 4 hours to be able to
build all the demo container images without getting aborted.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit adds bash scripts with the proper granularity for each sub-stage,
needed for QAT device main stage validation.
Signed-off-by: Rivera Gonzalez, Julio C <julio.c.rivera.gonzalez@intel.com>
This change, adds a conditional step on Jenkins in order to push images,
built and be published.
Signed-off-by: Rivera Gonzalez, Julio C <julio.c.rivera.gonzalez@intel.com>
- 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
This Jenkinsfile provides basic CI based on the .travis.yml
which ports the travis behaviour to Jenkins by checking the
following make targets functionallity:
- make format
- make lint
- make vet
- make cyclomatic-check
- make test
- make images
- make images BUILDER=buildah
- make demos
- make demos BUILDER=buildah
The main intention of this commit is to provide an starting point
where anybody can improve the coverage at anytime and get PR cheks
on Jenkins.