falcosecurity / testing

All-purpose test suite for Falco and its ecosystem
Apache License 2.0
12 stars 11 forks source link

chore(tests/falcoctl): updated tests to latest main output. #33

Closed FedeDP closed 9 months ago

FedeDP commented 9 months ago

Latest main output is a bit different:

2023-11-28 09:42:13 INFO  Resolving dependencies ... 
2023-11-28 09:42:14 INFO  Installing artifacts
                      └ refs: [ghcr.io/falcosecurity/plugins/plugin/dummy:latest]
2023-11-28 09:42:14 INFO  Preparing to pull artifact
                      └ ref: ghcr.io/falcosecurity/plugins/plugin/dummy:latest
2023-11-28 09:42:14 INFO  Pulling layer ff06a0d6ed4f 
2023-11-28 09:42:14 INFO  Pulling layer 1adcd4b01f59
2023-11-28 09:42:14 INFO  Pulling layer 5b7f12491641 
2023-11-28 09:42:14 INFO  Extracting and installing artifact
                      ├ type: plugin
                      └ file: dummy-0.9.1-linux-x86_64.tar.gz
2023-11-28 09:42:14 INFO  Artifact successfully installed
                      ├ name: ghcr.io/falcosecurity/plugins/plugin/dummy:latest
                      ├ type: plugin
                      ├ digest: sha256:5b7f1249164115be3b51f226d931230ef129c3e54143b30be2b07c59a034f46b
                      └ directory: /tmp/falcosecurity-testing-workdir-264431649/plugins\n

Ensure compatibility with newer output while retaining backward compatibility (only searching for Artifact successfully installed string).

FedeDP commented 9 months ago

This should help fixing a couple of test failing in https://github.com/falcosecurity/falco/pull/2905

poiana commented 9 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: FedeDP, jasondellaluce

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/falcosecurity/testing/blob/main/OWNERS)~~ [jasondellaluce] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment