Skip to content

Commit

Permalink
DO NOT MERGE ci test
Browse files Browse the repository at this point in the history
Signed-off-by: Emanuele Di Pascale <[email protected]>
  • Loading branch information
edipascale committed Jan 30, 2025
1 parent 59f8b68 commit 08c5385
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ jobs:
hlab:
runs-on: hlab
timeout-minutes: 60
timeout-minutes: 90
needs:
- test
- builds
Expand Down Expand Up @@ -419,7 +419,13 @@ jobs:
run: |
source "./lab-ci/envs/$KUBE_NODE/source.sh"
bin/hhfab init -v --dev --include-onie=${{ matrix.includeonie }} -w "./lab-ci/envs/$KUBE_NODE/wiring.yaml"
bin/hhfab vlab up -v --ready switch-reinstall --ready inspect --ready setup-vpcs --ready test-connectivity --ready exit --mode=${{ matrix.buildmode }}
bin/hhfab vlab up -v --ready switch-reinstall --ready inspect --ready release-test --ready exit --mode=${{ matrix.buildmode }}
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: release-test.xml

- name: Upload show-tech artifacts
uses: actions/upload-artifact@v4
Expand All @@ -436,7 +442,7 @@ jobs:
- name: Setup tmate session for debug
if: ${{ failure() && github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 60
timeout-minutes: 90
with:
limit-access-to-actor: true

Expand Down
2 changes: 1 addition & 1 deletion pkg/hhfab/vlabrunner.go
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ func (c *Config) VLABRun(ctx context.Context, vlab *VLAB, opts VLABRunOpts) erro
return fmt.Errorf("inspecting: %w", err)
}
case OnReadyReleaseTest:
if err := c.ReleaseTest(ctx, ReleaseTestOpts{ResultsFile: "test-results/release-test.xml"}); err != nil {
if err := c.ReleaseTest(ctx, ReleaseTestOpts{ResultsFile: "release-test.xml"}); err != nil {
slog.Warn("Failed to run release test", "err", err)

if opts.CollectShowTech {
Expand Down

0 comments on commit 08c5385

Please sign in to comment.