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

Update test suite to future-proof base images #299

Merged
merged 1 commit into from
Oct 15, 2022

Conversation

clue
Copy link
Member

@clue clue commented Oct 6, 2022

This simple changeset updates the test suite to future-proof base images. Likewise, legacy HHVM is now executed in an up-to-date base image, but using a legacy container instead. This way, we no longer depend on any legacy base images that will be removed in the future as per https://github.blog/changelog/2022-08-09-github-actions-ubuntu-22-04-is-now-generally-available-on-github-hosted-runners/, https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/ and actions/runner-images#6002. I've confirmed pulling container images from Docker Hub does not appear to be rate-limited as per actions/runner-images#1445. Once these changes are merged, we should apply similar updates to all our other components.

Builds on top of #297 and #289

@clue
Copy link
Member Author

clue commented Oct 11, 2022

Updated to work around failing test case for legacy HHVM (trying to allocate 1048576 file descriptors turns out to be a bad idea). This is now ready for review :shipit:

@clue
Copy link
Member Author

clue commented Oct 12, 2022

I've just updated this to use actions/checkout@v3 instead of v1 and only use the legacy HHVM container to run Composer and PHPUnit (also refs https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ and https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/). This is now ready for review (again) :shipit:

Copy link
Member

@WyriHaximus WyriHaximus left a comment

Choose a reason for hiding this comment

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

Thanks for the updates, looks even better now 👍 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants