Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .circleci/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,14 @@ jobs:
# - RENOVATE_TOKEN: GitHub access token.
# - RENOVATE_REPOSITORIES: Repository to run Renovate on as `vendor/repository`.
# - RENOVATE_GIT_AUTHOR: Author for Renovate commits as `Name <email@example.com>`.
# Variables provided below can be overridden in the CircleCI project settings.
# Optionally, set RENOVATE_DRY_RUN to `true` to run without making changes.
update-dependencies:
docker:
- image: renovate/renovate:44.176.2
environment:
RENOVATE_PLATFORM: 'github'
RENOVATE_AUTODISCOVER: false
RENOVATE_DEPENDENCY_DASHBOARD_TITLE: 'Renovate Dependency Dashboard (self-hosted) by CircleCI'
RENOVATE_DEPENDENCY_DASHBOARD: false
RENOVATE_DRY_RUN: false
LOG_LEVEL: 'debug'

steps:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ jobs:
RENOVATE_AUTODISCOVER: false
RENOVATE_REPOSITORIES: ${{ vars.RENOVATE_REPOSITORIES || github.repository }}
RENOVATE_DEPENDENCY_DASHBOARD_TITLE: 'Renovate Dependency Dashboard (self-hosted) by GitHub Actions'
RENOVATE_DEPENDENCY_DASHBOARD: ${{ vars.RENOVATE_DEPENDENCY_DASHBOARD || 'false' }}
RENOVATE_DRY_RUN: ${{ vars.RENOVATE_DRY_RUN || 'false' }}
RENOVATE_GIT_AUTHOR: ${{ vars.RENOVATE_GIT_AUTHOR }}
RENOVATE_FORCE: ${{ github.event_name == 'workflow_dispatch' && inputs.preserve_schedules == false && '{"schedule":[],"prHourlyLimit":0,"branchConcurrentLimit":0}' || '' }}
Expand Down
3 changes: 0 additions & 3 deletions .vortex/docs/.utils/variables/extra/ci.variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ VORTEX_CI_ARTIFACTS=/tmp/artifacts
# Create a GitHub token with a permission to write to a repository.
RENOVATE_TOKEN=

# Whether to enable self-hosted Renovate bot dashboard.
RENOVATE_DEPENDENCY_DASHBOARD=false

# Whether to allow self-hosted Renovate bot make changes to the repository.
RENOVATE_DRY_RUN=false

Expand Down
19 changes: 9 additions & 10 deletions .vortex/docs/content/development/dependency-updates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,7 @@ The delay applies to routine updates only: a
[security fix](#security-fixes) skips it.

The Dependency Dashboard lists the updates waiting for the minimum age under
**Pending Status Checks**, where you can request an update early. The
self-hosted service turns the dashboard off by default: to see it, set
`RENOVATE_DEPENDENCY_DASHBOARD` to `true`.
**Pending Status Checks**, where you can request an update early.

### Security fixes

Expand Down Expand Up @@ -312,8 +310,6 @@ a default:
`yourorg/repo` (default: the current repository).
- `RENOVATE_DRY_RUN`: Set to `true` to test runs without making changes
(default: `false`).
- `RENOVATE_DEPENDENCY_DASHBOARD`: Set to `true` to enable the dependency
dashboard (default: `false`).

The workflow runs on a schedule at 11:45 and 23:45 UTC every day. Both
times fall outside the schedule windows in `renovate.json`, which all end
Expand Down Expand Up @@ -351,12 +347,12 @@ Create the following required variables in the CircleCI project settings:
- `RENOVATE_GIT_AUTHOR`: The author of Renovate commits in the format
`Name <email@example.com>`, such as `Renovate Bot <renovate@example.com>`.

The following optional variables each have a default:
To test runs without making changes, also create `RENOVATE_DRY_RUN` and set
it to `true`.

- `RENOVATE_DRY_RUN`: Set to `true` to test runs without making changes
(default: `false`).
- `RENOVATE_DEPENDENCY_DASHBOARD`: Set to `true` to enable the dependency
dashboard (default: `false`).
To change `RENOVATE_PLATFORM`, `RENOVATE_AUTODISCOVER`,
`RENOVATE_DEPENDENCY_DASHBOARD_TITLE` or `LOG_LEVEL`, edit
`.circleci/update-dependencies.yml`.

**Manual trigger:** trigger a pipeline from the CircleCI UI with the
`run_update_dependencies` pipeline parameter set to `true`. The manual run
Expand Down Expand Up @@ -401,6 +397,9 @@ Renovate has found. It groups them under headings such as these:

To request an update early, tick its checkbox on the dashboard.

The `config:recommended` preset turns the dashboard on. To turn it off, set
`"dependencyDashboard": false` in `renovate.json`.

In self-hosted mode, the issue title names the CI provider that runs
Renovate:

Expand Down
1 change: 0 additions & 1 deletion .vortex/docs/content/development/variables.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ The list below is automatically generated with [Shellvar](https://github.com/ale
| <Anchor id="newrelic_enabled" />`NEWRELIC_ENABLED` | Enable New Relic in Lagoon environment.<br/><br/>Set as project-wide variable. | `UNDEFINED` | `LAGOON ENVIRONMENT` |
| <Anchor id="newrelic_license" />`NEWRELIC_LICENSE` | New Relic license.<br/><br/>Set as project-wide variable. | `UNDEFINED` | `LAGOON ENVIRONMENT` |
| <Anchor id="package_token" />`PACKAGE_TOKEN` | GitHub token used to overcome API rate limits or access private repositories. @see https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token | `UNDEFINED` | `.env.local.example`, `scripts/vortex-tooling.sh` |
| <Anchor id="renovate_dependency_dashboard" />`RENOVATE_DEPENDENCY_DASHBOARD` | Whether to enable self-hosted Renovate bot dashboard. | `false` | `CI config` |
| <Anchor id="renovate_dry_run" />`RENOVATE_DRY_RUN` | Whether to allow self-hosted Renovate bot make changes to the repository. | `false` | `CI config` |
| <Anchor id="renovate_git_author" />`RENOVATE_GIT_AUTHOR` | Commit author for self-hosted Renovate bot. | `'Renovate Self Hosted <renovatebot@your-site-domain.example>'` | `CI config` |
| <Anchor id="renovate_repositories" />`RENOVATE_REPOSITORIES` | Renovate repositories to manage. Set as "organization/repository". | `UNDEFINED` | `CI config` |
Expand Down
1 change: 1 addition & 0 deletions .vortex/docs/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"softwareTerms"
],
"words": [
"AUTODISCOVER",
"Asciinema",
"BROWSERTEST",
"Buildx",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,14 @@ jobs:
# - RENOVATE_TOKEN: GitHub access token.
# - RENOVATE_REPOSITORIES: Repository to run Renovate on as `vendor/repository`.
# - RENOVATE_GIT_AUTHOR: Author for Renovate commits as `Name <email@example.com>`.
# Variables provided below can be overridden in the CircleCI project settings.
# Optionally, set RENOVATE_DRY_RUN to `true` to run without making changes.
update-dependencies:
docker:
- image: renovate/renovate:__VERSION__
environment:
RENOVATE_PLATFORM: 'github'
RENOVATE_AUTODISCOVER: false
RENOVATE_DEPENDENCY_DASHBOARD_TITLE: 'Renovate Dependency Dashboard (self-hosted) by CircleCI'
RENOVATE_DEPENDENCY_DASHBOARD: false
RENOVATE_DRY_RUN: false
LOG_LEVEL: 'debug'

steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ jobs:
RENOVATE_AUTODISCOVER: false
RENOVATE_REPOSITORIES: ${{ vars.RENOVATE_REPOSITORIES || github.repository }}
RENOVATE_DEPENDENCY_DASHBOARD_TITLE: 'Renovate Dependency Dashboard (self-hosted) by GitHub Actions'
RENOVATE_DEPENDENCY_DASHBOARD: ${{ vars.RENOVATE_DEPENDENCY_DASHBOARD || 'false' }}
RENOVATE_DRY_RUN: ${{ vars.RENOVATE_DRY_RUN || 'false' }}
RENOVATE_GIT_AUTHOR: ${{ vars.RENOVATE_GIT_AUTHOR }}
RENOVATE_FORCE: ${{ github.event_name == 'workflow_dispatch' && inputs.preserve_schedules == false && '{"schedule":[],"prHourlyLimit":0,"branchConcurrentLimit":0}' || '' }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ jobs:
RENOVATE_AUTODISCOVER: false
RENOVATE_REPOSITORIES: ${{ vars.RENOVATE_REPOSITORIES || github.repository }}
RENOVATE_DEPENDENCY_DASHBOARD_TITLE: 'Renovate Dependency Dashboard (self-hosted) by GitHub Actions'
RENOVATE_DEPENDENCY_DASHBOARD: ${{ vars.RENOVATE_DEPENDENCY_DASHBOARD || 'false' }}
RENOVATE_DRY_RUN: ${{ vars.RENOVATE_DRY_RUN || 'false' }}
RENOVATE_GIT_AUTHOR: ${{ vars.RENOVATE_GIT_AUTHOR }}
RENOVATE_FORCE: ${{ github.event_name == 'workflow_dispatch' && inputs.preserve_schedules == false && '{"schedule":[],"prHourlyLimit":0,"branchConcurrentLimit":0}' || '' }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ jobs:
RENOVATE_AUTODISCOVER: false
RENOVATE_REPOSITORIES: ${{ vars.RENOVATE_REPOSITORIES || github.repository }}
RENOVATE_DEPENDENCY_DASHBOARD_TITLE: 'Renovate Dependency Dashboard (self-hosted) by GitHub Actions'
RENOVATE_DEPENDENCY_DASHBOARD: ${{ vars.RENOVATE_DEPENDENCY_DASHBOARD || 'false' }}
RENOVATE_DRY_RUN: ${{ vars.RENOVATE_DRY_RUN || 'false' }}
RENOVATE_GIT_AUTHOR: ${{ vars.RENOVATE_GIT_AUTHOR }}
RENOVATE_FORCE: ${{ github.event_name == 'workflow_dispatch' && inputs.preserve_schedules == false && '{"schedule":[],"prHourlyLimit":0,"branchConcurrentLimit":0}' || '' }}
Expand Down
Loading