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
merged 3 commits into from
Apr 26, 2019
Merged

Add jenkins checks #584

merged 3 commits into from
Apr 26, 2019

Conversation

mstemm
Copy link
Contributor

@mstemm mstemm 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 Compare April 25, 2019 07:13
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, build.sh does the build and
  run-tests.sh 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 run_regression_tests.sh 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
  packages.

- 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 Compare April 26, 2019 15:34
mstemm added 2 commits April 26, 2019 10:12
We'll probably be using jenkins soon, but this will allow switching back
to travis later if we want.
That way we won't be dependent on snapshot.debian.org.
@mstemm mstemm force-pushed the add-jenkins-checks branch from 3914f51 to 49b79ce Compare April 26, 2019 17:12
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 Compare April 26, 2019 18:06
@mstemm mstemm merged commit 0e1c436 into dev Apr 26, 2019
@mstemm mstemm deleted the add-jenkins-checks branch May 1, 2019 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant