libbpf / ci

BPF CI
Other
7 stars 22 forks source link

[run-qemu] Add 'output_dir' action parameter #98

Closed eddyz87 closed 1 year ago

eddyz87 commented 1 year ago

Add capability to extract contents of /command_output/ directory from the qemu disk image after qemu execution. This is useful when there is a need to extract multiple result files after tests run.

To use this specify the output-dir parameter for the action, e.g.:

      - name: Run veristat
        uses: eddyz87/libbpf-ci/run-qemu@main
        timeout-minutes: 10
        with:
          arch: x86_64
          img: '/tmp/root.img'
          vmlinuz: '${{ github.workspace }}/vmlinuz'
          kernel-root: '.'
          max-cpu: 8
          kernel-test: run_veristat
          output-dir: '${{ github.workspace }}'   # <--- here
danielocfb commented 1 year ago

When do you intend to post the updated code, @eddyz87 ?

eddyz87 commented 1 year ago

When do you intend to post the updated code, @eddyz87 ?

I pushed the changes to my branches yesterday, but it looks like this is not reflected in the pull request. Need a few minutes to figure out what's wrong, sorry.

eddyz87 commented 1 year ago

@danielocfb, I pushed vmtest, but didn't push libbpf/ci, sorry for the confusion. Fixed now.