Skip to content

ci: Unconditionally run Linux integration with c8d store#47102

Closed
vvoland wants to merge 1 commit intomoby:masterfrom
vvoland:c8d-windows-ci
Closed

ci: Unconditionally run Linux integration with c8d store#47102
vvoland wants to merge 1 commit intomoby:masterfrom
vvoland:c8d-windows-ci

Conversation

@vvoland
Copy link
Copy Markdown
Contributor

@vvoland vvoland commented Jan 18, 2024

Don't require the containerd-integration label in PRs to run the integration tests on Linux with the containerd image store enabled.

The label is only required to run the integration tests on Windows.

- How to verify it
Observe CI

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah
Copy link
Copy Markdown
Member

Hm... Jenkins is in a weird state;

Screenshot 2024-01-18 at 10 47 45

@thaJeztah
Copy link
Copy Markdown
Member

Removed that agent; perhaps it's something with that machine; let's see if instancing a new machine fixes it 🤞

@thaJeztah
Copy link
Copy Markdown
Member

Looks like it's also running on Windows 🤔

Screenshot 2024-01-18 at 11 07 24

@vvoland
Copy link
Copy Markdown
Contributor Author

vvoland commented Jan 18, 2024

It failed because there were no tests actually ran and the integration-test-report is always executed.
Should be good now.

Also looks like Hub has some issues:

ERROR: failed to solve: failed to do request: Head "https://registry-1.docker.io/v2/docker/dockerfile/manifests/1": net/http: TLS handshake timeout
Error: buildx bake failed with: ERROR: failed to solve: failed to do request: Head "https://registry-1.docker.io/v2/docker/dockerfile/manifests/1": net/http: TLS handshake timeout

@vvoland vvoland force-pushed the c8d-windows-ci branch 2 times, most recently from 624d9e7 to dd9a33b Compare January 18, 2024 10:40
core.info(`matrix: ${JSON.stringify(matrix)}`);
core.setOutput('matrix', JSON.stringify(matrix));
});
run: echo 'matrix=["graphdriver", "snapshotter"]' >> "$GITHUB_OUTPUT"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Since it's unconditional there is no need to run a script, you can:

outputs:
  matrix:
    - graphdriver
    - snapshotter

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks, fixed! I tried it initially but didn't get the job/step syntax right and then forgot about getting back to it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oh, I think I actually can't:

error parsing called workflow ".github/workflows/windows-2022.yml" -> "./.github/workflows/.test-prepare.yml" : every step must define a `uses` or `run` key

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ugh

@vvoland vvoland force-pushed the c8d-windows-ci branch 2 times, most recently from 0e36884 to bbd5da3 Compare January 18, 2024 10:59
Don't require the `containerd-integration` label on pull requests to run
the integration tests on Linux with the containerd image store enabled.

The label is only required to run the integration tests on Windows.

Signed-off-by: Paweł Gronowski <[email protected]>
Comment thread .github/workflows/.test-prepare.yml
@vvoland
Copy link
Copy Markdown
Contributor Author

vvoland commented Jan 18, 2024

Closing in favor of: #47104

@vvoland vvoland closed this Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

5 participants