Skip to content

GitHub cache#463

Merged
afeefghannam89 merged 12 commits into
feature/molecule-pipelines-refactoringfrom
github-cache
Jun 25, 2026
Merged

GitHub cache#463
afeefghannam89 merged 12 commits into
feature/molecule-pipelines-refactoringfrom
github-cache

Conversation

@afeefghannam89

@afeefghannam89 afeefghannam89 commented Apr 24, 2026

Copy link
Copy Markdown
Member
  • Add warm_apt_cache.yml. A Dedicated workflow that pre-downloads Elastic apt packages to the GitHub Actions cache (triggered on push to main, nightly, and manually)
  • All test workflows restore the apt cache before running molecule. The version-based cache key updates automatically on new Elastic releases
  • Add pip caching (actions/setup-python cache: 'pip') to all workflows
  • Mount cached packages into molecule Docker containers via read-only volume; copy .deb files into apt archives in prepare.yml
  • Fix Add caching to GitHub actions #92

@afeefghannam89 afeefghannam89 self-assigned this Apr 24, 2026
@afeefghannam89 afeefghannam89 added the enhancement Improve the code label Apr 24, 2026

@widhalmt widhalmt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The only thing I found was the file that seems to be committed by accident.

Comment thread test.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I guess this file was committed in error?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good found, yes you are right. I delete it

@afeefghannam89 afeefghannam89 merged commit 4ee4ad4 into feature/molecule-pipelines-refactoring Jun 25, 2026
24 checks passed
@afeefghannam89 afeefghannam89 deleted the github-cache branch June 25, 2026 06:58
afeefghannam89 added a commit that referenced this pull request Jun 25, 2026
Here is a list of issues or tasks to be closed before this PR can be
merged in main.

- [x] Stop the running of **Test Collection Roles** and all workflows if
the PR is draft. #432
- [x] Replace OS distribution in small Workflows (roles) from Ubuntu
2204 to Debian 13. #433
- [x] Remove deprecated scenarios and workflows and merge the duplicated
ones. #434
- [x] test_role_beats.yml doesn't use ansible-core 2.19. #441 
- [x] Extend molecule_full_stack in the test_roles_pr.yml with latest
Python und Ansible version. #437
- [x] Check the running condition of EVERY pipeline if they are correct
and practice. #436 . #429
- [x] Check the sense and functionality every molecule scenario. #439 
- [x] Can we get ride of the second full stack run while merging in
main? #440
- [x] Thinking about the names of workflows. #442 
- [x] Stop the outdated Github pipeline run when pushing new changes in
the pull request #462
- [x] Use GitHub cache for the elastic packages #463
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improve the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants