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

717 test production mode in integration test #736

Merged
merged 22 commits into from
Nov 16, 2023

Conversation

Bdegraaf1234
Copy link
Member

@Bdegraaf1234 Bdegraaf1234 commented Oct 9, 2023

Description: Include production testing in the github actions workflow to test postgres integration

Fixes #717

Checklist:

  • The Main workflow has succeeded
  • The Gatling tests have passed
  • I have logged into the portal running locally with default admin credentials
  • I have updated the README files if this change requires documentation update
  • I have commented my code, particularly in hard-to-understand areas

@Bdegraaf1234 Bdegraaf1234 self-assigned this Oct 9, 2023
@Bdegraaf1234 Bdegraaf1234 linked an issue Oct 9, 2023 that may be closed by this pull request
@Bdegraaf1234 Bdegraaf1234 changed the base branch from master to dev October 9, 2023 11:17
@Bdegraaf1234 Bdegraaf1234 changed the base branch from dev to 732-append-managementportal-to-baseurl October 9, 2023 11:44
@Bdegraaf1234 Bdegraaf1234 changed the base branch from 732-append-managementportal-to-baseurl to dev October 9, 2023 14:37
@Bdegraaf1234 Bdegraaf1234 force-pushed the 717-test-production-mode-in-integration-test branch from e9b4b39 to 68fc25a Compare October 9, 2023 14:42
@Bdegraaf1234 Bdegraaf1234 marked this pull request as ready for review October 10, 2023 12:37
Copy link
Member

@yatharthranjan yatharthranjan left a comment

Choose a reason for hiding this comment

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

Thanks @Bdegraaf1234, looks good. Just a few questions (apologies if some are naive, i am looking at MP code after a long time).

.github/workflows/pre-release.yml Show resolved Hide resolved
README.md Show resolved Hide resolved
src/main/resources/config/application-prod.yml Outdated Show resolved Hide resolved
@@ -53,8 +53,6 @@ spring:
starttls.enable: false
thymeleaf:
cache: true
liquibase:
contexts: prod
Copy link
Member

Choose a reason for hiding this comment

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

does this need to be removed? Would it not be overridden by the e2e-prod-test profile?

Copy link
Member Author

Choose a reason for hiding this comment

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

I moved it to the apllication.yml, the reasoning being that it is the default unless overriddedn by one of the dev profiles. Don't feel super strongly on this.

Copy link
Collaborator

@peyman-mohtashami peyman-mohtashami left a comment

Choose a reason for hiding this comment

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

LGTM

@peyman-mohtashami peyman-mohtashami merged commit da4138b into dev Nov 16, 2023
3 of 4 checks passed
@Bdegraaf1234 Bdegraaf1234 deleted the 717-test-production-mode-in-integration-test branch November 23, 2023 13:10
@Bdegraaf1234 Bdegraaf1234 mentioned this pull request Mar 20, 2024
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.

Test production mode in integration test
3 participants