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

Chore/docker cache GitHub action test #806

Closed
wants to merge 4 commits into from

Conversation

yndajas
Copy link
Member

@yndajas yndajas commented Nov 14, 2024

Changes in this PR

Screenshots of UI changes

Before

After

Next steps

mec and others added 4 commits November 12, 2024 12:14
We wanted to try and speed up the CI tasks for the Rails Template.

This work introduces the same approach we took to save time on the DfE
Complete project.

We use Docker supplied actions to build the image and cache the layers
to the Github actions cache.

Subsequent jobs are set to use the layers from the cache which, in most
cases, gives us a nice speed boost.

We've split the jobs so they can be run in parallel, as we know the
image is the same for each job they all use the strategy.

We've kept the Shellcheck task separate as this code is not strictly
speaking the application code, so doesn't really need to be inside the
image.
Now that we have all the CI tasks in Github Actions these scripts are
never used.
@yndajas yndajas closed this Nov 14, 2024
@yndajas
Copy link
Member Author

yndajas commented Nov 14, 2024

Opened this to try to trigger CI, which wasn't running on #803. Opening this seemed to retrigger it over there, so this can be closed and the branch deleted

@yndajas yndajas deleted the chore/docker-cache-github-action-test branch November 14, 2024 12:29
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