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

use api prod image for e2e tests #5560

Merged
merged 4 commits into from
Aug 27, 2024

Conversation

BacLuc
Copy link
Contributor

@BacLuc BacLuc commented Jul 19, 2024

reusable-e2e-tests-run.yml: prepare api before running tests

Else the api may still be running migrations during the tests.


seperate frankenphp from ingress for local development

That we have a more similar setup in development as in prod.
Use the same Caddyfile for dev and prod.

closes #5277


api: allow to use insecure cookies in prod environment in lexik_jwt_authentication.yaml

When we want to run the prod image on localhost,
we must use insecure cookies for firefox for our e2e tests.


reusable-e2e-tests-build.yml: use prod build of the api container

Because the dev container may stop responding during the e2e tests.

Also includes #5558

@BacLuc BacLuc added the deploy! Creates a feature branch deployment for this PR label Jul 19, 2024
@BacLuc BacLuc temporarily deployed to feature-branch July 19, 2024 22:21 — with GitHub Actions Inactive
Copy link

github-actions bot commented Jul 19, 2024

Feature branch deployment currently inactive.

If the PR is still open, you can add the deploy! label to this PR to trigger a feature branch deployment.

@BacLuc BacLuc removed the deploy! Creates a feature branch deployment for this PR label Jul 19, 2024
@manuelmeister manuelmeister requested a review from usu August 6, 2024 20:22
@BacLuc BacLuc requested a review from pmattmann August 6, 2024 20:51
@pmattmann pmattmann added the deploy! Creates a feature branch deployment for this PR label Aug 11, 2024
@BacLuc BacLuc added this pull request to the merge queue Aug 27, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 27, 2024
@BacLuc BacLuc added this pull request to the merge queue Aug 27, 2024
BacLuc added 3 commits August 27, 2024 22:30
Else the api may still be running migrations during the tests.
That we have a more similar setup in development as in prod.
Use the same Caddyfile for dev and prod.

Issue: ecamp#5277
…uthentication.yaml

When we want to run the prod image on localhost,
we must use insecure cookies for firefox for our e2e tests.
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 27, 2024
Because the dev container may stop responding during the e2e tests.
@BacLuc BacLuc force-pushed the use-api-prod-build-for-e2e-tests branch from 004f67c to 4c466a1 Compare August 27, 2024 20:53
@BacLuc BacLuc enabled auto-merge August 27, 2024 20:54
@BacLuc BacLuc temporarily deployed to feature-branch August 27, 2024 20:56 — with GitHub Actions Inactive
@BacLuc BacLuc added this pull request to the merge queue Aug 27, 2024
Merged via the queue into ecamp:devel with commit ae59b34 Aug 27, 2024
34 checks passed
@BacLuc BacLuc deleted the use-api-prod-build-for-e2e-tests branch August 27, 2024 21:07
# This should correspond to the server declared in PHPStorm `Preferences | Languages & Frameworks | PHP | Servers`
# Then PHPStorm will use the corresponding path mappings
PHP_IDE_CONFIG: serverName=localhost
DATABASE_URL: "postgresql://ecamp3:ecamp3@database:5432/ecamp3dev?serverVersion=15&charset=utf8"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

anchor

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 still work?

@BacLuc BacLuc mentioned this pull request Sep 10, 2024
@manuelmeister manuelmeister mentioned this pull request Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy! Creates a feature branch deployment for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Seperate frankenphp(caddy) from ingress for local development
4 participants