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

Question: cached database with GitLab CI pipeline #239

Open
ahmed-bhs opened this issue Oct 26, 2023 · 2 comments
Open

Question: cached database with GitLab CI pipeline #239

ahmed-bhs opened this issue Oct 26, 2023 · 2 comments
Labels
question Further information is requested

Comments

@ahmed-bhs
Copy link

When using LiipFunctionalBundle cached database with gitalb ci pipeline, does there any need to cache some data between pipelines ?

#https://github.com/liip/LiipTestFixturesBundle/blob/2.x/doc/database.md#tips-for-fixture-loading-tests
liip_test_fixtures:
    cache_db:
        sqlite: 'Liip\TestFixturesBundle\Services\DatabaseBackup\SqliteDatabaseBackup'

Cheers

@alexislefebvre alexislefebvre added the question Further information is requested label Nov 2, 2023
@alexislefebvre
Copy link
Collaborator

You may try to use the cache from GitLab CI: https://docs.gitlab.com/ee/ci/caching/

Then check if it's quicker or not.

@alexislefebvre alexislefebvre changed the title Question: cached database with gitalb ci pipline, Question: cached database with GitLab CI pipeline Nov 2, 2023
@alexislefebvre
Copy link
Collaborator

The cache can be inconsistent, maybe not using it is a good idea, see:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants