Skip to content

Commit

Permalink
Merge branch 'main' into feat/shared-variable-name
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins authored Dec 18, 2024
2 parents 05a6acf + 3ee4857 commit c47224e
Show file tree
Hide file tree
Showing 43 changed files with 1,736 additions and 1,038 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM ghcr.io/containerbase/devcontainer:13.4.3
FROM ghcr.io/containerbase/devcontainer:13.4.5
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ jobs:
- name: Save coverage artifacts
if: (success() || failure()) && github.event.pull_request.draft != true && matrix.coverage
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: ${{ matrix.upload-artifact-name }}
path: |
Expand Down Expand Up @@ -567,7 +567,7 @@ jobs:
run: pnpm test-e2e:pack

- name: Upload
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: renovate-package
path: renovate-0.0.0-semantic-release.tgz
Expand Down Expand Up @@ -611,7 +611,7 @@ jobs:
run: pnpm test:docs

- name: Upload
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: docs
path: tmp/docs/
Expand Down Expand Up @@ -684,7 +684,7 @@ jobs:
show-progress: false

- name: docker-config
uses: containerbase/internal-tools@16a59ac6156118c10fd17d3cfd3fc746e7069809 # v3.5.6
uses: containerbase/internal-tools@f022a1677af8af9a36c53589e1b07edb932a3c84 # v3.5.10
with:
command: docker-config

Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/find-issues-with-missing-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Find issues with missing labels'

on:
schedule:
# Run every Sunday at midnight
- cron: '0 0 * * 0'

jobs:
check-unlabeled-issues:
runs-on: ubuntu-latest

permissions:
issues: write

env:
GH_TOKEN: ${{ github.token }}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Search for issues with missing labels
run: bash ./tools/find-issues-with-missing-labels.sh
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: 'Upload artifact'
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: SARIF file
path: results.sarif
Expand Down
12 changes: 12 additions & 0 deletions docs/development/issue-labeling.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,15 @@ Add a label `auto:retry-latest` to any Discussion where the user should retry th
</details>

Apply the `self-hosted` label when an issue is applicable only to users who self-administer their own bot.

## Automated check for Issues with missing labels

We have a GitHub Action (`find-issues-with-missing-labels.yml`) to find issues on our repository that are missing labels.
Any Issues with missing labels will be put in a list in a new "error" Issue.

The Action runs each week.

### Apply the correct labels manually

The Action will _not_ fix any badly labeled issues.
This means that you, or we, must apply the correct labels to any affected Issue.
24 changes: 18 additions & 6 deletions docs/usage/config-overview.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
# Renovate configuration overview

When Renovate runs on a repository, the final config used is derived from the:
Each time Renovate runs on a repository it reads the configuration files listed below and creates a final config.
This final config describes what Renovate will do during its run.

- Default config
- Global config
- Inherited config
- Repository config
- Resolved presets referenced in config
The final config is internal to Renovate, and is _not_ saved or cached for a later run.
But you can always find the final config in Renovate's logs.

Renovate reads the configuration files in this order (from from top to bottom):

1. Default config
2. Global config
- File config
- Environment config
- CLI config
3. Inherited config
4. Resolved presets referenced in config
5. Repository config

Items with a higher number override items that have lower numbers.
If the item has the `mergeable` property, it will merge with lower numbers instead.

<!-- prettier-ignore -->
!!! note
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ Make sure to install the Google Cloud SDK into the custom image, as you need the
For example:

```Dockerfile
FROM renovate/renovate:39.57.4
FROM renovate/renovate:39.69.2
# Include the "Docker tip" which you can find here https://cloud.google.com/sdk/docs/install
# under "Installation" for "Debian/Ubuntu"
RUN ...
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/examples/opentelemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
- '4317'

otel-collector:
image: otel/opentelemetry-collector-contrib:0.115.1
image: otel/opentelemetry-collector-contrib:0.116.1
command: ['--config=/etc/otel-collector-config.yml']
volumes:
- ./otel-collector-config.yml:/etc/otel-collector-config.yml
Expand Down
10 changes: 5 additions & 5 deletions docs/usage/examples/self-hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ It builds `latest` based on the `main` branch and all SemVer tags are published
```sh title="Example of valid tags"
docker run --rm renovate/renovate
docker run --rm renovate/renovate:39
docker run --rm renovate/renovate:39.57
docker run --rm renovate/renovate:39.57.4
docker run --rm renovate/renovate:39.69
docker run --rm renovate/renovate:39.69.2
```

<!-- prettier-ignore -->
Expand Down Expand Up @@ -62,7 +62,7 @@ spec:
- name: renovate
# Update this to the latest available and then enable Renovate on
# the manifest
image: renovate/renovate:39.57.4
image: renovate/renovate:39.69.2
args:
- user/repo
# Environment Variables
Expand Down Expand Up @@ -121,7 +121,7 @@ spec:
template:
spec:
containers:
- image: renovate/renovate:39.57.4
- image: renovate/renovate:39.69.2
name: renovate-bot
env: # For illustration purposes, please use secrets.
- name: RENOVATE_PLATFORM
Expand Down Expand Up @@ -367,7 +367,7 @@ spec:
containers:
- name: renovate
# Update this to the latest available and then enable Renovate on the manifest
image: renovate/renovate:39.57.4
image: renovate/renovate:39.69.2
volumeMounts:
- name: ssh-key-volume
readOnly: true
Expand Down
4 changes: 2 additions & 2 deletions docs/usage/mend-hosted/migrating-secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ They can be referenced from the Renovate config files inside the repo using `{{

## Old method

This method will stop working on 01-Oct-2024:
This method is deprecated:

```json title="Put encrypted secret in Renovate config"
{
Expand All @@ -25,7 +25,7 @@ This method will stop working on 01-Oct-2024:

## New method

This is the new method, that you should start using:
This is the new method that you should start using:

```json title="Reference the app secret in the Renovate config"
{
Expand Down
10 changes: 5 additions & 5 deletions docs/usage/upgrade-best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Pinning your development dependencies means you, and your team, are using the sa
This makes the developer-tool side of your builds reproducible.
Debugging faulty versions of your tools is easier, because you can use Git to check out different versions of the tools.

### Why updating often is easier, faster and safer
## Why updating often is easier, faster and safer

You may think that updating takes too much time.
But updating regularly actually _saves_ you time, because:
Expand All @@ -98,14 +98,14 @@ But updating regularly actually _saves_ you time, because:
- You'll be ready for CVE patches
- You'll look for ways to automate the updates

#### Regular updates tend to be small
### Regular updates tend to be small

Firstly, when you update regularly updates tend to be small.
The update's changelogs are small, quick to read, and easy to understand.
You probably only need to make changes in a few places (if at all) to merge the PR and get going again.
Because you're reading the changelogs regularly, you'll get a feel for the direction of the upstream project.

#### Applying `major` updates is easier
### Applying `major` updates is easier

Secondly, when you're current with upstream, `major` updates are easier.
This is because you already:
Expand All @@ -114,14 +114,14 @@ This is because you already:
- use the latest names for features/variables
- read the previous changelogs

#### You'll be ready for CVE patches
### You'll be ready for CVE patches

Thirdly, you'll be ready when a upstream package releases a patch for a critical CVE.
If you're current, you can review and merge Renovate's PR quickly.

When you're behind on updates, you'll have a bad time, because you must read _more_ changelogs and make _more_ changes before you can merge the critical patch.

#### You'll look for ways to automate the updates
### You'll look for ways to automate the updates

Finally, when you're updating often, you'll start looking for ways to automate the updates.
You may start to [`automerge`](./configuration-options.md#automerge) development dependencies like Prettier, or ESLint when the linter passes.
Expand Down
2 changes: 1 addition & 1 deletion lib/config/options/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ const options: RenovateOptions[] = [
description:
'Change this value to override the default Renovate sidecar image.',
type: 'string',
default: 'ghcr.io/containerbase/sidecar:13.4.3',
default: 'ghcr.io/containerbase/sidecar:13.4.5',
globalOnly: true,
},
{
Expand Down
11 changes: 11 additions & 0 deletions lib/config/presets/internal/group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,16 @@ const staticGroups = {
},
],
},
micrometer: {
description:
"Group Micrometer packages together, e.g. 'io.micrometer:micrometer-core'.",
packageRules: [
{
groupName: 'micrometer',
matchPackageNames: ['io.micrometer:micrometer-**'],
},
],
},
nodeJs: {
description:
"Group anything that looks like Node.js together so that it's updated together.",
Expand Down Expand Up @@ -467,6 +477,7 @@ const staticGroups = {
'group:jestPlusTypes',
'group:jwtFramework',
'group:kubernetes',
'group:micrometer',
'group:phpstan',
'group:polymer',
'group:react',
Expand Down
Loading

0 comments on commit c47224e

Please sign in to comment.