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

Last gitlab ci #2825

Merged
merged 8 commits into from
Dec 9, 2024
Merged

Last gitlab ci #2825

merged 8 commits into from
Dec 9, 2024

Conversation

vmcj
Copy link
Member

@vmcj vmcj commented Nov 22, 2024

I'll squash the commits about the unit-tests after approval. Split them out to keep the flow understandable.

@vmcj vmcj marked this pull request as draft November 22, 2024 13:57
@vmcj vmcj force-pushed the last_gitlab_ci branch 4 times, most recently from a693cfa to 1890f89 Compare November 29, 2024 17:18
@vmcj vmcj force-pushed the last_gitlab_ci branch 17 times, most recently from 562196c to 0b8379a Compare December 7, 2024 23:09
@vmcj vmcj force-pushed the last_gitlab_ci branch 6 times, most recently from 8e78c50 to 1ad3150 Compare December 8, 2024 13:23
@vmcj vmcj marked this pull request as ready for review December 8, 2024 13:23
@@ -25,7 +25,7 @@

class RejudgingType extends AbstractType
{
public function __construct(protected readonly DOMJudgeService $dj, protected readonly EntityManagerInterface $em)
public function __construct(protected readonly ConfigurationService $config, protected readonly EntityManagerInterface $em)
Copy link
Member

Choose a reason for hiding this comment

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

This commit needs to be dropped but you are probably already aware.

vmcj added 8 commits December 9, 2024 19:32
The GitLab folder will be removed so this cleanup was needed. Also fixed
displaying the sections for the GHA job output.
This is useful for when the tests suddenly break because the upstream
images have changed.
We keep getting a warning about this so it's better to explicit test against that version.
Both useful for the integration & unit tests.
We'll need to play around with the unit test upload features
(https://github.com/EnricoMi/publish-unit-test-result-action#configuration)
what works best.

This is based on what we do for the integration test. Most shared code
is handled by baseinstall.sh.

We can now also install a database with a different name as the unit
tests use that locally. As side-effect we directly test this in CI.

The CI ran on GitLab before and needed extra steps to push the result to
GitHub. As everything is in GitHub Actions now we can remove those extra
steps.
@vmcj
Copy link
Member Author

vmcj commented Dec 9, 2024

Also added the unit tests as required for merge queues

@vmcj vmcj enabled auto-merge December 9, 2024 19:13
@vmcj vmcj added this pull request to the merge queue Dec 9, 2024
Merged via the queue into DOMjudge:main with commit 7d7ed2e Dec 9, 2024
35 checks passed
@vmcj vmcj deleted the last_gitlab_ci branch December 9, 2024 19:35
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