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

Add jenkins checks #584

merged 3 commits into from Apr 26, 2019


None yet
1 participant
Copy link

commented Apr 23, 2019

Changes to replace travis checks with jenkins.

@mstemm mstemm force-pushed the add-jenkins-checks branch 4 times, most recently from fb420d5 to c4c2a90 Apr 25, 2019

Supporting files to build/test via jenkins
Changes to build/test via jenkins, which also means running all tests in
a container instead of directly on the host:

- Jenkinsfile controls the stages, does the build and does the regression tests.

- Create a new container falcosecurity/falco-tester that includes the
  dependencies required to run the regression tests. This is a different
  image than falco-builder because it doesn't need to be centos 6 based,
  doesn't install any compiler/etc, and installs the test running
  framework we use (avocado). We now use a newer version of avocado,
  which resulted in some small changes to how it is run and how yaml
  options are parsed.

- Modify to download trace files to the build
  directory and only if not present. Also honor BUILD_TYPE/BUILD_DIR,
  which is provided via the docker run cmd.

- The package tests are now moved to a separate falco_tests_package.yaml
  file. They will use rpm installs by default instead of debian
  packages. Also add the ability to install rpms in addition to debian

- Automate the process of creating the docker local package by: 1)
  Adding CMake rules to copy the Dockerfile, entrypoint to the build
  directory and 2) Copy test trace files and rules into the build
  directory. This allows running the docker build command from
  build/docker/local instead of the source directory.

- Modify the way the container test is run a bit to use the trace
  files/rules copied into the container directly instead of host-mounted
  trace files.

@mstemm mstemm force-pushed the add-jenkins-checks branch from d2af260 to 3d54424 Apr 26, 2019

mstemm added some commits Apr 25, 2019

Use container builder + tester for travis
We'll probably be using jenkins soon, but this will allow switching back
to travis later if we want.
Use for binutils packages
That way we won't be dependent on

@mstemm mstemm force-pushed the add-jenkins-checks branch from 3914f51 to 49b79ce Apr 26, 2019

mstemm added a commit to falcosecurity/falco-website that referenced this pull request Apr 26, 2019

@mstemm mstemm force-pushed the add-jenkins-checks branch from 416ad30 to 49b79ce Apr 26, 2019

@mstemm mstemm merged commit 0e1c436 into dev Apr 26, 2019

5 checks passed

Build Build Successful
Run tests All tests passed
Travis CI - Branch Build Passed
Travis CI - Pull Request Build Passed
continuous-integration/jenkins/branch This commit looks good

@mstemm mstemm deleted the add-jenkins-checks branch May 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.