mend / renovate-ce-ee

Mend Renovate Documentation & Examples
https://www.mend.io/renovate/
Other
157 stars 54 forks source link

renovate 1.6.0 & renovate OSS #167

Closed emirot closed 2 years ago

emirot commented 2 years ago

In the release notes this is mention:

This release updates Renovate OSS from v25.48.0 to v27.31.10.

However when I look at the changes https://github.com/whitesource/renovate-on-prem/compare/1.5.0...1.6.0 The whitesource renovate is changed the 1.5.0 If I pull the image docker run --entrypoint=bash -it whitesource/renovate:1.5.0 Then I do cat package.json | grep "renovate"

  "name": "whitesource-renovate",
    "renovate": "25.48.0",

and not v27.31.10 am I missing something?

rarkins commented 2 years ago

You ran on 1.5.0 not 1.6.0. Try the same in whitesource/renovate:1.6.0:

log ``` ❯ docker pull whitesource/renovate:1.6.0 1.6.0: Pulling from whitesource/renovate Digest: sha256:26379457477693e1e7009df7e6a144405b334771fdd6c190092bcdf46c621826 Status: Image is up to date for whitesource/renovate:1.6.0 docker.io/whitesource/renovate:1.6.0 ❯ docker run --rm -it whitesource/renovate:1.6.0 /bin/bash ubuntu@38b05cc7dd16:/usr/src/app$ cat package.json { "name": "whitesource-renovate", "private": true, "version": "1.0.0", "description": "WhiteSource Renovate", "author": "Rhys Arkins ", "license": "UNLICENSED", "scripts": { "bundle": "node bin/bundle", "lint": "eslint --ignore-path .gitignore .", "lint-fix": "eslint --fix --ignore-path .gitignore .", "prettier": "prettier --list-different \"**/*.{ts,js,mjs,json,md}\"", "prettier-fix": "prettier --write \"**/*.{ts,js,mjs,json,md}\"", "test": "yarn prettier && yarn lint", "webpack": "webpack --config webpack.config.js" }, "dependencies": { "@azure/identity": "1.0.0-preview.2", "@azure/keyvault-secrets": "4.0.0-preview.4", "@sindresorhus/is": "4.0.1", "body-parser": "1.19.0", "buffer-equal-constant-time": "1.0.1", "bunyan": "1.8.15", "child-process-promise": "2.2.1", "cron": "1.8.2", "delay": "5.0.0", "email-addresses": "3.1.0", "express": "4.17.1", "fs-extra": "9.1.0", "github-webhook-handler": "1.0.0", "got": "11.8.2", "jsonwebtoken": "8.5.1", "jsrsasign": "8.0.24", "minimatch": "3.0.4", "p-all": "3.0.0", "parse-link-header": "1.0.1", "proper-url-join": "2.1.1", "renovate": "27.31.10", "semver": "7.3.5", "shortid": "2.2.16", "tunnel": "0.0.6" }, "devDependencies": { "eslint": "7.29.0", "eslint-config-airbnb-base": "14.2.1", "eslint-config-prettier": "8.3.0", "eslint-plugin-import": "2.23.4", "eslint-plugin-prettier": "3.4.0", "eslint-plugin-promise": "4.3.1", "prettier": "2.3.2", "upath": "2.0.1", "webpack": "4.46.0", "webpack-cli": "3.3.12", "webpack-node-externals": "1.7.2" }, "resolutions": { "trim": "^0.0.3" }, "prettier": { "singleQuote": true, "trailingComma": "es5" } } ubuntu@38b05cc7dd16:/usr/src/app$ cat node_modules/renovate/package.json { "name": "renovate", "description": "Automated dependency updates. Flexible so you don't need to be.", "version": "27.31.10", "bin": { "renovate": "dist/renovate.js", "renovate-config-validator": "dist/config-validator.js" }, "scripts": { "build": "run-s clean generate:* compile:*", "clean": "rimraf dist", "clean-cache": "node bin/clean-cache.js", "compile:ts": "tsc -p tsconfig.app.json", "config-validator": "node -r ts-node/register/transpile-only -- lib/config-validator.ts", "create-json-schema": "node -r ts-node/register/transpile-only -- bin/create-json-schema.js && prettier --write \"renovate-schema.json\"", "debug": "node --inspect-brk -r ts-node/register/transpile-only -- lib/renovate.ts", "doc-fix": "run-s markdown-lint-fix prettier-fix", "eslint": "eslint --ext .js,.mjs,.ts lib/ test/ tools/", "eslint-fix": "eslint --ext .js,.mjs,.ts --fix lib/ test/ tools/", "generate": "run-s generate:*", "generate:imports": "node tools/generate-imports.mjs", "git-check": "node tools/check-git-version.mjs", "jest": "cross-env NODE_ENV=test LOG_LEVEL=fatal TZ=UTC node --expose-gc node_modules/jest/bin/jest.js --logHeapUsage", "jest-debug": "cross-env NODE_OPTIONS=--inspect-brk yarn jest", "jest-silent": "cross-env yarn jest --reporters jest-silent-reporter", "lint": "run-s ls-lint eslint prettier markdown-lint git-check", "lint-fix": "run-s eslint-fix prettier-fix markdown-lint-fix", "ls-lint": "ls-lint", "markdown-lint": "markdownlint-cli2", "markdown-lint-fix": "markdownlint-cli2-fix", "prepare": "run-s prepare:*", "prepare:husky": "husky install", "prepare:generate": "run-s generate:*", "prepare:re2": "node tools/check-re2.mjs", "prestart": "run-s generate:* ", "pretest": "run-s generate:* ", "prettier": "prettier --check \"**/*.{ts,js,mjs,json,md}\"", "prettier-fix": "prettier --write \"**/*.{ts,js,mjs,json,md}\"", "release": "node tools/release.mjs", "start": "node -r ts-node/register/transpile-only -- lib/renovate.ts", "test": "run-s lint test-schema type-check jest", "test-dirty": "git diff --exit-code", "test-e2e": "npm pack && cd test/e2e && yarn install --no-lockfile --ignore-optional --prod && yarn test", "test-schema": "node -r ts-node/register/transpile-only -- test/json-schema.ts", "tsc": "tsc", "type-check": "run-s generate:* \"tsc --noEmit {@}\"", "verify": "node tools/verify.mjs" }, "repository": { "type": "git", "url": "https://github.com/renovatebot/renovate.git" }, "keywords": [ "automated", "bazel", "bitbucket", "buildkite", "dependencies", "dependency", "docker", "github", "gitlab", "management", "meteor", "node", "npm", "outdated", "php", "python", "update", "yarn" ], "author": "Rhys Arkins ", "contributors": [ "Alex DelVecchio ", "Andreas Bexelius ", "Ayoub Kaanich ", "Dragomir Țurcanu ", "Filip Stenbeck ", "HonkingGoose", "Hutson Betts ", "IKEDA Sho ", "Israel Bethencourt ", "James King ", "Jamie Magee ", "Jan Sauer ", "Jean-Yves Couët ", "Kevin James ", "Klaus Meinhardt ", "Matt Lavin ", "Maximilian Gaß ", "Michael Elufimov ", "Michael Kriese ", "Mike Bryant ", "Nicolas Byl ", "Pravesh Tora ", "Rishabh Jain ", "Roope Hakulinen ", "Ryan Murfitt ", "Sam Bull ", "Sam Neirinck ", "Sourav Das ", "Tanuel ", "Viral Ruparel ", "Vladimir Starkov ", "Mikhail Yakushin ", "Sebastian Poxhofer ", "Henry Sachs ", "Arkadiusz Kosmala " ], "license": "AGPL-3.0", "bugs": { "url": "https://github.com/renovatebot/renovate/issues" }, "homepage": "https://renovatebot.com", "engines": { "node": "^12.22.0 || >=14.15.0", "yarn": "^1.17.0" }, "engines-next": { "description": "Versions other than the below are deprecated and a warning will be logged", "node": ">=14.15.0" }, "dependencies": { "@aws-sdk/client-ecr": "3.25.0", "@breejs/later": "4.0.2", "@iarna/toml": "2.2.5", "@renovate/pep440": "1.0.0", "@renovatebot/ruby-semver": "1.0.0", "@sindresorhus/is": "4.2.0", "@yarnpkg/core": "2.4.0", "@yarnpkg/parsers": "2.4.0", "auth-header": "1.0.0", "azure-devops-node-api": "11.0.1", "bunyan": "1.8.15", "cacache": "15.3.0", "chalk": "4.1.2", "changelog-filename-regex": "2.0.1", "clean-git-ref": "2.0.1", "commander": "8.2.0", "conventional-commits-detector": "1.0.3", "crypto-random-string": "3.3.1", "deepmerge": "4.2.2", "delay": "5.0.0", "dequal": "2.0.2", "detect-indent": "6.1.0", "email-addresses": "5.0.0", "emoji-regex": "9.2.2", "emojibase": "5.2.0", "emojibase-regex": "5.1.3", "extract-zip": "2.0.1", "fast-safe-stringify": "2.1.1", "find-up": "5.0.0", "fs-extra": "10.0.0", "git-url-parse": "11.6.0", "github-url-from-git": "1.5.0", "global-agent": "2.2.0", "got": "11.8.2", "handlebars": "4.7.7", "handy-redis": "2.3.1", "hasha": "5.2.2", "ignore": "5.1.8", "ini": "2.0.0", "js-yaml": "4.1.0", "json-dup-key-validator": "1.0.3", "json-stringify-pretty-compact": "3.0.0", "json5": "2.2.0", "luxon": "2.0.2", "markdown-it": "12.2.0", "markdown-table": "2.0.0", "marshal": "0.5.2", "minimatch": "3.0.4", "moo": "0.5.1", "node-html-parser": "3.3.6", "openpgp": "5.0.0", "p-all": "3.0.0", "p-map": "4.0.0", "p-queue": "6.6.2", "parse-diff": "0.8.1", "parse-link-header": "1.0.1", "redis": "3.1.2", "registry-auth-token": "4.2.1", "remark": "13.0.0", "remark-github": "10.1.0", "semver": "7.3.5", "semver-stable": "3.0.0", "semver-utils": "1.1.4", "shlex": "2.1.0", "shortid": "2.2.16", "simple-git": "2.46.0", "slugify": "1.6.0", "traverse": "0.6.6", "upath": "2.0.1", "url-join": "4.0.1", "validate-npm-package-name": "3.0.0", "xmldoc": "1.1.2" }, "optionalDependencies": { "re2": "1.16.0" }, "devDependencies": { "@actions/core": "1.6.0", "@jest/globals": "27.2.4", "@jest/reporters": "27.2.4", "@jest/test-result": "27.2.4", "@ls-lint/ls-lint": "1.10.0", "@renovate/eslint-plugin": "https://github.com/renovatebot/eslint-plugin#v0.0.3", "@semantic-release/exec": "6.0.1", "@types/auth-header": "1.0.2", "@types/bunyan": "1.8.7", "@types/cacache": "15.0.1", "@types/changelog-filename-regex": "2.0.0", "@types/clean-git-ref": "2.0.0", "@types/conventional-commits-detector": "1.0.0", "@types/eslint": "7.28.0", "@types/fs-extra": "9.0.13", "@types/git-url-parse": "9.0.1", "@types/github-url-from-git": "1.5.1", "@types/global-agent": "2.1.1", "@types/ini": "1.3.30", "@types/jest": "27.0.2", "@types/js-yaml": "4.0.3", "@types/json-dup-key-validator": "1.0.0", "@types/linkify-markdown": "1.0.1", "@types/luxon": "2.0.4", "@types/markdown-it": "12.2.1", "@types/markdown-table": "2.0.0", "@types/moo": "0.5.5", "@types/nock": "10.0.3", "@types/node": "14.17.20", "@types/node-emoji": "1.8.1", "@types/parse-link-header": "1.0.0", "@types/registry-auth-token": "4.2.1", "@types/semver": "7.3.8", "@types/semver-stable": "3.0.0", "@types/semver-utils": "1.1.1", "@types/shelljs": "0.8.9", "@types/traverse": "0.6.32", "@types/url-join": "4.0.1", "@types/xmldoc": "1.1.6", "@typescript-eslint/eslint-plugin": "4.32.0", "@typescript-eslint/parser": "4.32.0", "conventional-changelog-conventionalcommits": "4.6.1", "cross-env": "7.0.3", "emojibase-data": "6.2.0", "eslint": "7.32.0", "eslint-config-airbnb-typescript": "12.3.1", "eslint-config-prettier": "8.3.0", "eslint-formatter-gha": "1.2.0", "eslint-plugin-import": "2.24.2", "eslint-plugin-jest": "24.5.0", "eslint-plugin-promise": "5.1.0", "glob": "7.2.0", "graphql": "15.6.0", "husky": "7.0.2", "jest": "27.2.4", "jest-extended": "0.11.5", "jest-github-actions-reporter": "1.0.3", "jest-junit": "12.3.0", "jest-mock-extended": "2.0.4", "jest-silent-reporter": "0.5.0", "markdownlint-cli2": "0.3.2", "mockdate": "3.0.5", "nock": "13.1.3", "npm-run-all": "4.1.5", "prettier": "2.4.1", "pretty-quick": "3.1.1", "rimraf": "3.0.2", "semantic-release": "18.0.0", "shelljs": "0.8.4", "strip-ansi": "6.0.1", "tmp-promise": "3.0.2", "ts-jest": "27.0.5", "ts-node": "10.2.1", "type-fest": "2.3.4", "typescript": "4.4.3", "unified": "9.2.2" }, "resolutions": { "**/css-what": "^5.0.1", "**/kind-of": ">=6.0.3" }, "files": [ "dist" ] } ubuntu@38b05cc7dd16:/usr/src/app$ ```
emirot commented 2 years ago

What I'm saying is that the helm chart renovate-on-prem 1.6.0 is using whitesource/renovate:1.5.0 and v25.48.0 but in the release notes it is said it will use v27.31.10 see https://github.com/whitesource/renovate-on-prem/releases/tag/1.6.0

rarkins commented 2 years ago

The helm chart itself still pointed to the 1.5.0 image and hadn't been updated yet. It's now updated.