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

Downstream testing trial #744

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

Downstream testing trial #744

wants to merge 6 commits into from

Conversation

Bdegraaf1234
Copy link
Collaborator

@Bdegraaf1234 Bdegraaf1234 commented Nov 10, 2023

Description: Added a github action which, on merging a branch into dev/master triggers downstream tests agains the built docker image

An alternative way to do this would be to pull the downstream repo and run the tests, but this seems more messy. It does however keep any failing pipelines close to the source (in this case, the changes to management portal)

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 force-pushed the downstream-testing branch 5 times, most recently from 18170d6 to d40d72f Compare November 27, 2023 13:47
@Bdegraaf1234 Bdegraaf1234 changed the base branch from master to dev November 27, 2023 13:49
@Bdegraaf1234 Bdegraaf1234 force-pushed the downstream-testing branch 2 times, most recently from a010e82 to 3177a48 Compare November 27, 2023 14:42
@Bdegraaf1234
Copy link
Collaborator Author

I think we can merge this, the largest change are the docker-compose files but a restructuring here is probably needed for the ory change because this will add a number of components that need to be launched to run MP

@Bdegraaf1234 Bdegraaf1234 marked this pull request as ready for review November 27, 2023 14:52
@Bdegraaf1234 Bdegraaf1234 requested a review from baixiac November 27, 2023 14:52
Copy link
Member

@baixiac baixiac left a comment

Choose a reason for hiding this comment

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

LGTM and one comment added.

Also, I know this falls outside this PR's scope but probably worth noting: Postgres 11 has reached its EOL.

managementportal-postgresql:
extends:
file: ../postgresql.yml
service: managementportal-postgresql
Copy link
Member

Choose a reason for hiding this comment

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

The service has been renamed to postgresql in ../postgresql.yml.

Is this "non_mp" compose file intended for all devs? If yes, it would be nicer to have an example showing how to use it.

@Bdegraaf1234 Bdegraaf1234 self-assigned this Jun 5, 2024
@Bdegraaf1234
Copy link
Collaborator Author

The most important changes here are the ones in main.yml, the rest is probably redundant when you update the base

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