Skip to content
Open
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
8 changes: 6 additions & 2 deletions .github/workflows/devcontainer-prebuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,12 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Install Dev Container CLI
# renovate: datasource=npm depName=@devcontainers/cli
run: npm install -g @devcontainers/cli@0.87.0
env:
# The shared workflow custom manager tracks an annotated `*version:`
# key; it doesn't read versions inside `run:` scripts.
# renovate: datasource=npm depName=@devcontainers/cli
devcontainers_cli_version: "0.87.0"
run: npm install -g "@devcontainers/cli@${devcontainers_cli_version}"

- name: Set up Docker Buildx
# push-by-digest=true (used in the pre-build step) requires the
Expand Down
14 changes: 14 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,18 @@
"github>DevSecNinja/.github//.renovate/packageRules.json5",
"github>DevSecNinja/.github//.renovate/semanticCommits.json5",
],
customManagers: [
{
// The devcontainer manager doesn't read feature options, so the Pester
// pin of the PowerShell feature, e.g. "modules": "Pester==5.7.1", needs
// its own manager. Pester is published on the PowerShell Gallery, a
// NuGet v2 feed.
customType: "regex",
description: "Update the Pester pin of the devcontainer PowerShell feature",
managerFilePatterns: ["/^\\.devcontainer/devcontainer(-prebuild)?\\.json$/"],
matchStrings: ["\"modules\":\\s*\"(?<depName>Pester)==(?<currentValue>[^\"]+)\""],
datasourceTemplate: "nuget",
registryUrlTemplate: "https://www.powershellgallery.com/api/v2/",
},
],
}
3 changes: 2 additions & 1 deletion tests/bash/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ if ! command -v bats >/dev/null 2>&1; then
if [ "${CI_MODE}" = true ]; then
# Install in CI mode
echo "Installing Bats from GitHub..."
BATS_VERSION="1.13.0"
# renovate: datasource=github-releases depName=bats-core/bats-core
BATS_VERSION="1.14.0"
git clone --depth 1 --branch "v${BATS_VERSION}" https://github.com/bats-core/bats-core.git /tmp/bats-core
cd /tmp/bats-core
sudo ./install.sh /usr/local
Expand Down
Loading