Commit graph

2318 commits

Author SHA1 Message Date
Rhys Arkins
94a5240858
feat: CircleCI docker image support (#1732)
Adds support for renovating docker image definitions in CircleCI 2 config files (`.circleci/config.yml`).

Closes #1714
2018-03-28 20:12:56 +02:00
Rhys Arkins
3b2d8d2dd4 fix: consider newFrom when evaluating group logic 2018-03-28 19:54:42 +02:00
Rhys Arkins
cb3537feaa refactor: return manager name with package files 2018-03-28 19:53:42 +02:00
Rhys Arkins
d9c1521f73 fix: delete blocking branch before attempting create 2018-03-28 16:08:07 +02:00
Rhys Arkins
b724a411da
feat: Docker Compose support (#1729)
Adds support for renovating Docker Compose files (e.g. `docker-compose.yml`). Functionality is essentially the same as the existing `Dockerfile` capabilities, so config for `docker` is shared with `docker-compose` but may also be overridden.

Merging as disabled by default - will wait for some opt-in testing before turning it on by default.

Closes #832
2018-03-28 15:24:42 +02:00
Rhys Arkins
906c6273c7 fix: raise config errors for package rules missing selectors 2018-03-28 15:13:32 +02:00
Rhys Arkins
1c96ba54b4 chore: fix Warning typo 2018-03-28 13:33:58 +02:00
Renovate Bot
ed28211764 fix: update dependency semver-utils to v1.1.2 2018-03-28 09:10:46 +00:00
Rhys Arkins
b89f448946
feat: validate packageRule selectors (#1728)
Validates that each packageRule must contain at least one selector. Resolves the rule first to allow for presets.

Closes #1345, Closes #1693
2018-03-28 10:04:07 +02:00
Rhys Arkins
2611b52489 refactor: move extends validation inside list validation 2018-03-28 09:37:19 +02:00
Rhys Arkins
37035480f1 refactor: validate list only if non-empty 2018-03-28 09:36:09 +02:00
Rhys Arkins
797c35edf9 fix: packageRule match anything only if there is a negating config 2018-03-28 09:29:27 +02:00
Rhys Arkins
41072f3d42 log: drop Found presets log 2018-03-28 09:25:22 +02:00
Rhys Arkins
39aa1fdf64 fix: pass through migratedConfig warnings 2018-03-28 09:24:54 +02:00
Rhys Arkins
171cdf372b fix: add option for unlimited pagination
Set env variable RENOVATE_PAGINATE_ALL to disable Renovate’s regular limiting of 1000 results (unlimited results will be returned).
2018-03-28 06:04:44 +02:00
Steven Hargrove
6b67ffa5ff fix: enforce valid git branch names (#1725)
Adds proper enforcement of branch name rules.

Fixes #1724
2018-03-28 05:18:42 +02:00
Rhys Arkins
9ab4e55bc5 chore: reduce logger.debug volume 2018-03-27 21:57:02 +02:00
Rhys Arkins
6623047177 fix: add npm retries for null versions or parseError 2018-03-27 20:57:11 +02:00
Rhys Arkins
eebef765bc chore: fix package.json formatting 2018-03-27 17:56:58 +02:00
Rhys Arkins
ccf0d4ad3d fix ensure pr error ordering 2018-03-27 17:44:05 +02:00
Rhys Arkins
acb725beb9 fix: stringify currentVersion before trim 2018-03-27 16:25:06 +02:00
Rhys Arkins
08f1739e15 fix: ignore npmrc in repository if user has configured one manually 2018-03-27 16:22:26 +02:00
Rhys Arkins
0e658843a2 fix: don’t raise config warning issue when onboarding 2018-03-27 16:02:56 +02:00
Rhys Arkins
df0dc74e22 fix: handle meteor package.js with trailing comma 2018-03-27 15:46:29 +02:00
Rhys Arkins
7379d7d1da logs: downgrade resolved config to trace 2018-03-27 15:37:09 +02:00
Rhys Arkins
223722ad4c fix: pass rate limit exceeded errors up from ensurePr 2018-03-27 15:33:05 +02:00
Rhys Arkins
b110e22218 fix: filter out deps with no current version 2018-03-27 15:13:16 +02:00
Rhys Arkins
6b7077a3ef fix: filter and debug failed meteor extraction 2018-03-27 14:00:29 +02:00
Rhys Arkins
94892db991 fix: config warn issue only if using yarn
It seems that npm is able to update a lock file even if some of the non-updated deps can not be found. So the renovate halt and warning is only needed if a yarnLock file is present.
2018-03-27 13:41:45 +02:00
Rhys Arkins
e03c2c267f fix: add commit signing to onboarding PR 2018-03-27 06:22:58 +02:00
Rhys Arkins
259312bb97 fix: catch Host key verification error for all lock file types 2018-03-26 13:19:06 +02:00
Rhys Arkins
4c3581caf0 fix: prune “renovate” branch if branchPrefix is “renovate/“
Otherwise it blocks us from branch creation
2018-03-26 12:10:00 +02:00
Rhys Arkins
d5c8c300d6 fix: sklp branch creation for “Host key verification failed” install error 2018-03-26 11:21:06 +02:00
Renovate Bot
5adce7d349 fix: update dependency pnpm to v1.37.3 2018-03-26 08:14:39 +00:00
Rhys Arkins
02da88e350 fix(pr validation): skip branch status when it’s a fork 2018-03-26 07:11:11 +02:00
Rhys Arkins
a9b99e779a fix: write npmrc for lerna subdirs too 2018-03-25 22:53:45 +02:00
Rhys Arkins
9e44b33f27 chore: log decryptConfig 2018-03-25 22:47:47 +02:00
Rhys Arkins
09c7980566 fix: improve debugging of npmrc 2018-03-25 22:14:40 +02:00
Rhys Arkins
fb230a7b29 fix: perform additional decrypt after preset resolve
To catch the use case where encrypted npmToken or npmrc is in the preset itself
2018-03-25 21:29:37 +02:00
Rhys Arkins
ddca468cc7 fix: github branch warm 2018-03-25 21:25:02 +02:00
Rhys Arkins
cc180018be fix: fetch branch commit early
Fetches the base branch commit SHA during initRepo so that it can be cached. This should prevent us creating branches off a commit later than the one we fetched files for.

Fixes #1712
2018-03-24 06:33:05 +01:00
Rhys Arkins
ee6c6bda2c chore: lighten debug logging 2018-03-24 06:31:01 +01:00
Renovate Bot
5330788c9e fix: update dependency npm to v5.8.0 2018-03-23 23:36:09 +00:00
Rhys Arkins
cc4df96fe2 fix: return early if docker token acquisition fails 2018-03-23 15:56:44 +01:00
Rhys Arkins
a302b11a26
feat: custom docker registries (#1707)
Adds support for custom docker registries. To work (for now), registries must support anonymous public access to their v2 API. Tested against quay.io and gcr.io, including tags pagination for quay. Also needed to add a 10s timeout for registry queries to catch private/firewalled registries that we can't access.

Closes #797
2018-03-23 14:48:36 +01:00
Rhys Arkins
83e7b5f0ef fix: pass up rate limit exceeded error when ensuring PR 2018-03-23 07:56:21 +01:00
Steven Hargrove
52721b8c14 fix: use only one yarn mutex type (#1706)
Closes #1705
2018-03-23 05:36:02 +01:00
Rhys Arkins
2fce3220e7 chore: downgrade duplicate lerna failure warn 2018-03-22 20:49:15 +01:00
Rhys Arkins
fc4d5fc08d fix: add check if lerna npmClient=yarn 2018-03-22 20:35:25 +01:00
Rhys Arkins
3acda0e524 chore: log massageConfig as config 2018-03-22 13:14:28 +01:00