Skip to content

default disable ci cache & conditional cf-keypairs#6

Merged
davidcheung merged 2 commits intomainfrom
database-fixes
Oct 13, 2020
Merged

default disable ci cache & conditional cf-keypairs#6
davidcheung merged 2 commits intomainfrom
database-fixes

Conversation

@davidcheung
Copy link
Contributor

- package lock is actually required for circleCI to cache, it throws
without the key, see https://circleci.com/developer/orbs/orb/circleci/node#commands-install-package
- so now it will just npm install instead of trying to restore cache,
left commented block for user to switch to instead
- since CF keypairs are now optionally generated, the injection should
also be optionally done
@davidcheung davidcheung requested a review from a team October 13, 2020 21:02
- node/install-packages:
cache-path: "./node_modules"
app-dir: .
## This `npm i --package-lock` step is used so boilerplate can pick up latest version before locking
Copy link
Contributor Author

@davidcheung davidcheung Oct 13, 2020

Choose a reason for hiding this comment

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

the package-lock.json changes includes all the dependencies each driver would have
the different between mysql vs postgres is 200 line differences so it wouldnt really make sense to template

another way is we ship both drivers, which i think is worse? since it will be on their production if user dont go and fix it

@davidcheung davidcheung merged commit 8ea944d into main Oct 13, 2020
@davidcheung davidcheung deleted the database-fixes branch October 13, 2020 21:58
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