Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ATO-1239: add running of provider test in contract test workflow #5853

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

isaac-GDS
Copy link
Contributor

@isaac-GDS isaac-GDS commented Feb 4, 2025

Verify pact test from the prod pact broker. If you have access you can see under clientRegistryProvider

Updated the gradle build with needed env variables
Updated workflow to verify pacts
Added comments to provider test to be able to run locally.

No further testing needed.

Copy link

github-actions bot commented Feb 4, 2025

Java Tests Not Skipped

Java files were previously skipped in this pull request. Subsequent changes have caused the tests to be run.

@isaac-GDS isaac-GDS force-pushed the ATO-1239/upload-provider-to-pact-broker branch 19 times, most recently from 3591ace to 709786a Compare February 7, 2025 15:36
@isaac-GDS isaac-GDS force-pushed the ATO-1239/upload-provider-to-pact-broker branch from 709786a to 3d937f4 Compare February 7, 2025 15:47
@isaac-GDS isaac-GDS marked this pull request as ready for review February 7, 2025 15:50
@isaac-GDS isaac-GDS requested review from a team as code owners February 7, 2025 15:50
@isaac-GDS isaac-GDS requested review from a team as code owners February 7, 2025 15:50
environment "AWS_ACCESS_KEY_ID", "mock-access-key"
environment "AWS_REGION", "eu-west-2"
environment "DYNAMO_ENDPOINT", "http://localhost:8000"
environment "REDIS_KEY", "session"
environment "TRACING_ENABLED", "false"
environment "AWS_SECRET_ACCESS_KEY", "mock-secret-key "
Copy link
Contributor

Choose a reason for hiding this comment

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

Should there be a trailing space on the key here? Looks a bit odd

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It does look weird. Not sure if its needed but i copied it from the environments in the integration tests above.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah fair enough, I guess it was ignoring whitespace then. As long as it works! 😄

Copy link

sonarqubecloud bot commented Feb 7, 2025

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.

2 participants