Skip to content

Use matrix in ci for hook integration-test#1035

Merged
Weltraumschaf merged 15 commits intomainfrom
maintenance/use-makefile-for-hook-integration-tests-ci
Mar 23, 2022
Merged

Use matrix in ci for hook integration-test#1035
Weltraumschaf merged 15 commits intomainfrom
maintenance/use-makefile-for-hook-integration-tests-ci

Conversation

@RamiSouai
Copy link
Member

@RamiSouai RamiSouai commented Mar 15, 2022

closes #965
Signed-off-by: Rami Souai [email protected]

Description

Add hook integration-tests to the ci Pipeline using makefiles make integration-tests

Also removes the tests in ./tests/integration from the pipeline (ReadOnly Hook, ReadAndWrite Hook) which will be deleted anyway at a later date.

Zap-advanced integration test is moved to its own job, and is , as always, run only in the nightly build

#1028 is required for the pipeline to run properly in this branch

Checklist

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • Make sure npm test runs for the whole project.

also disables the tests found in test/integration since they will be removed anyway at a later date

Signed-off-by: Rami Souai <[email protected]>
@RamiSouai RamiSouai self-assigned this Mar 15, 2022
@RamiSouai RamiSouai added maintenance testing Improvements or additions regarding the test setup ci Changes to the continuous integration setup hook Implement or update a hook planned Issues we will do in the next sprint. labels Mar 15, 2022
@RamiSouai RamiSouai marked this pull request as draft March 15, 2022 17:54
@RamiSouai RamiSouai requested a review from Ilyesbdlala March 22, 2022 14:46
@RamiSouai RamiSouai marked this pull request as ready for review March 22, 2022 14:46
The test is only enabled in a nightly build
The image is no longer pushed to dockerhub, instead uses the makefile CI
just like the other scanners

Signed-off-by: Ilyes Ben Dlala <[email protected]>
It instead uses the parser sdk artifact provide by the previous
steps

Signed-off-by: Ilyes Ben Dlala <[email protected]>
Copy link
Member

@Ilyesbdlala Ilyesbdlala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some changes: Re-added zap advanced integration test, and using parser SDK Github artefact instead of building them again (optimization).

@Weltraumschaf Weltraumschaf merged commit 59dff52 into main Mar 23, 2022
@Weltraumschaf Weltraumschaf deleted the maintenance/use-makefile-for-hook-integration-tests-ci branch March 23, 2022 10:22
@rfelber rfelber removed the hook Implement or update a hook label Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Changes to the continuous integration setup maintenance planned Issues we will do in the next sprint. testing Improvements or additions regarding the test setup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Makefile-based Hook integration test jobs

4 participants