Comments (8)
I admit that I do not understand very much about how CircleCI works, but it looks to me like the install script is not creating a functioning block of commands. package.json
is not listed in the restore_cache > keys
section, and the package.json
key is restored before it is saved.
from drupal9ci.
I'm not sure what's up with the errors themselves, but note that the filenames like package.json
are being used as cache keys not cached files. This saves significant time by telling Circle that if package.json has been seen before, it can use the node_modules
directory from a previous build.
I do wonder if these should both be lockfiles and not the package files. @juampynr ?
from drupal9ci.
Correct @deviantintegral. Looking at https://github.com/Lullabot/drupal8ci/blob/master/dist/circleci/.circleci/config.yml, the installer uses composer.lock to create cache keys. I see a mix of package and composer keys used above.
@safetypins how about if you start by removing cache management altogether? You can add it later once you get the workflow building correctly.
from drupal9ci.
This was removed as part of #65
from drupal9ci.
I'm curious why the caching was removed?
from drupal9ci.
No big reason really. As there was some refactoring needed to have it all working again, the caching was removed as part of it, trying to get the minimum code to work again, but we could defo try to add it back again.
It was also done as a way of standardization between the different platforms covered (Travis, Circle, Gitab, Github, Bitbucket), trying to make all those files "as similar as possible", but I guess once you pick a platform you can go ahead and optimize it as needed.
from drupal9ci.
@davereid-pfg @juampynr - as a follow-up from the caching. I tried to restore it here: fjgarlin/my-drupal9-site@0385f85, where it generated a cache version of the vendor folder (build 7), however, when triggering another commit (ie: fjgarlin/my-drupal9-site@8d0e078) we can see that the jobs that were previously working no longer work due to the files not being found, despite the fact that the restoring of the cache was successful in the previous step as seen here:
(CI task url: https://app.circleci.com/pipelines/github/fjgarlin/my-drupal9-site/3/workflows/362e6aee-fc19-4e5a-afac-294009d04fd8/jobs/13)
That the issue I found back in the day and why I removed it as part of the D9 refactoring.
from drupal9ci.
More paths needed to be included when saving the cache. We can see the caching working here: https://app.circleci.com/pipelines/github/fjgarlin/my-drupal9-site/5/workflows/123b6d07-6eda-4f5c-8654-cca25ad927de/jobs/22
The PR above should bring back caching.
from drupal9ci.
Related Issues (20)
- Annotations for code-standards HOT 2
- Changes to upstream image causes CircleCI to break HOT 1
- Is this still supported? HOT 5
- Run Travis CI in a Drupal Docker project HOT 3
- Clarify instructions in scripts/databases HOT 8
- Cannot touch 'storage/testing.sqlite': No such file or directory HOT 1
- Drupal Test Traits configured for Github Actions config, but not other CI configs HOT 9
- Drupal 9 compatibility HOT 4
- Replace Behat tests by Cypress.io ones HOT 4
- Create Composer 2 version for both Dockerfile and Dockerfile9 HOT 6
- "Failed to connect to localhost port 80: Connection refused" HOT 1
- DocumentRoot directory doesn't exist HOT 12
- jq not available by default in drupal8ci:latest image
- Include intl extension for PHP
- Update underlying docker image or use third party one HOT 8
- Interactive command line interface HOT 2
- Remove CircleCI test
- Config validation in CI
- Rename project and references from drupal9ci to drupalci HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drupal9ci.