Skip to content

Conversation

@volodymyrZotov
Copy link
Contributor

@volodymyrZotov volodymyrZotov commented Dec 12, 2025

This PR applies the same way for running e2e tests as in 1Password Kubernetes operator and 1Password Terraform provider.

This will make the maintainers experience consistent across 1password repos.

Details about fork pr testing can be found the the /docs/fork-pr-testing.md.

This PR also introduces a way for the users to test the action locally using Service Account. Details can be found in docs/local-testing.md.

Note:
Local testing can be done only using Service Accounts, as act fails when running e2e tests with Connect.

When running act, the workflow writes 1password-credentials.json inside the Docker container, then runs docker compose. However, Docker Compose talks to the host's Docker daemon, which looks for the credentials file on the host filesystem — where it doesn't exist.
TL;DR: File written in container → Docker mounts from host → file not found → Connect fails to start.
Workaround: Use Service Account tests locally (-j test-service-account). This will enable contributors quickly validate the changes using Service Account. Full e2e workflow using Connect will be testing in the GitHubCI.

@volodymyrZotov volodymyrZotov changed the title [DRAFT] E2E tests improvements E2E tests improvements Dec 15, 2025
@volodymyrZotov volodymyrZotov marked this pull request as ready for review December 15, 2025 14:54
@volodymyrZotov volodymyrZotov merged commit c96389a into main Dec 15, 2025
28 checks passed
@volodymyrZotov volodymyrZotov deleted the vzt/e2e-tests-improvements branch December 15, 2025 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants