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

GitHub actions restructure #2

Merged
merged 14 commits into from
Jan 2, 2024
Merged

GitHub actions restructure #2

merged 14 commits into from
Jan 2, 2024

Conversation

kasperg
Copy link
Contributor

@kasperg kasperg commented Jan 2, 2024

No description provided.

This includes the pull request template and GitHub Actions workflows

For workflows each of the files is moved. GitHub Actions does not 
support subfolders for workflows so each file is also renamed with the
subproject prefix separated by _.

For the pull request template we just move one of the files and delete
the others.
Each of them were designed to run in their own subprojects but are now
placed in the project root.

Specify the project subdirectory according to each workflow.
This makes it a lot easier to spot where any errors might be located.
Otherwise setup-node will not be able to locate the lock file and fail.
We have updated the application to use OpenSearch instead of 
ElasticSearch in practice. We should update tests and GitHub Actions
accordingly.
The OpenSearch client will throw exceptions on errors.
@kasperg kasperg force-pushed the github-actions-restructure branch from 40837b7 to 843465c Compare January 2, 2024 10:36
@kasperg kasperg force-pushed the github-actions-restructure branch from 62974e1 to f1b1e11 Compare January 2, 2024 10:41
This should prevent PHP CS Fixer from erroring.
Ensure that search index always gets an integer as error code.

Strip all implementation from SAXO service. It previously has references
to class constants and the like from parent code that has been removed 
when it was deprecated.

Remove most of the the entire implementation to bring it inline with 
other deprecated vendors.
@kasperg kasperg force-pushed the github-actions-restructure branch from dbbf9c7 to c074cd2 Compare January 2, 2024 11:05
For whatever reason PHPUnit will not run through the bridge in GitHub
Actions after the subprojects have been joined.

Try to use PHPUnit directly instead to fix this.

This way the Upload API uses the same approach as in the other projects.
This way we avoid using time and ressources for unneeded checks.
There does not seem to be any meaningful difference between the two
workflows so we might as well consolidate them.

PHP CS Fixer will error on PHP versions newer than 8.1 - perhaps
because of the configuration in composer.json. Use 
PHP_CS_FIXER_IGNORE_ENV=1 to ignore these errors. It should not be the
responsibility of this to to verify this anyway.
@kasperg kasperg force-pushed the github-actions-restructure branch from 93b09f6 to 08d1f50 Compare January 2, 2024 12:19
@kasperg kasperg merged commit 11a230e into develop Jan 2, 2024
33 checks passed
@kasperg kasperg deleted the github-actions-restructure branch January 2, 2024 12:21
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.

1 participant