Skip to content
Merged
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
36 changes: 13 additions & 23 deletions repos.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,32 @@

local fork = 'Fork kept for upstream pull requests.';

// Defaults for Bazel repositories. Most run the shared bazel-ci action in a
// `test` job; entries with their own CI override `required_checks`.
local bazel = { build: 'bazel', required_checks: ['test'] };

{
managed: {
'bazel-style': {
'bazel-style': bazel {
description: "Shared formatting and lint configuration for benbirt's Bazel repositories",
build: 'bazel',
required_checks: ['test'],
dependabot: ['npm', 'pip', 'github-actions'],
},

'benbirt.io': {
'benbirt.io': bazel {
description: 'Source of benbirt.io, my personal site',
build: 'bazel',
required_checks: ['build'],
dependabot: ['npm', 'opentofu', 'github-actions'],
pages: { target: '//site:public', domain: 'benbirt.io' },
tofu: ['//infra:infra'],
},

eavesbard: {
build: 'bazel',
required_checks: ['build'],
eavesbard: bazel {
dependabot: ['npm', 'opentofu', 'github-actions'],
pages: { target: '//src:site', domain: 'eavesbard.com' },
tofu: ['//dns:dns', '//posthog:posthog'],
},

'flip7-scorecard': {
'flip7-scorecard': bazel {
description: 'A scorecard for the card game Flip 7, with With a Vengeance negative scores',
build: 'bazel',
required_checks: ['test'],
dependabot: ['github-actions'],
pages: { target: '//:public', domain: 'flip7.benbirt.io' },
},
Expand All @@ -56,16 +52,14 @@ local fork = 'Fork kept for upstream pull requests.';
direct_pushes: true,
},

'github-infra': {
'github-infra': bazel {
// The Settings workflow does not plan Dependabot pull requests so
// ADMIN_TOKEN never reaches them; an auto-merged provider update would
// apply without a plan. Stays manual until issue #21 gives them a
// read-only plan. As a side effect, this repository's Bazel updates also
// wait for a person.
auto_merge: false,
description: 'Shared configuration for the benbirt GitHub account: the repository list, managed repository settings and reusable GitHub Actions workflows.',
build: 'bazel',
required_checks: ['lint'],
dependabot: ['github-actions', 'pip', 'opentofu'],
tofu: ['//github:github'],
},
Expand All @@ -77,16 +71,14 @@ local fork = 'Fork kept for upstream pull requests.';
dependabot: ['github-actions'],
},

posthog: {
posthog: bazel {
description: 'Common utilities for managing PostHog resources',
build: 'bazel',
required_checks: ['test'],
dependabot: ['npm', 'opentofu', 'github-actions'],
},

rules_tofu: {
rules_tofu: bazel {
description: 'Bazel rules for OpenTofu and Terraform configs',
build: 'bazel',
// Keeps its own CI: bazel-ci does not cover its OS/Bazel matrix or lint.
required_checks: [
'lint',
'build-and-test (ubuntu-latest, pinned)',
Expand Down Expand Up @@ -117,10 +109,8 @@ local fork = 'Fork kept for upstream pull requests.';
dependabot: ['github-actions', 'gomod'],
},

'tlog-viewer': {
'tlog-viewer': bazel {
description: 'A static viewer for transparency logs that verifies what it shows, in the browser. Currently covers the PAIC tlog-tiles logs.',
build: 'bazel',
required_checks: ['test'],
dependabot: ['npm', 'gomod', 'opentofu', 'github-actions'],
pages: { target: '//:site', domain: 'tlog.benbirt.io' },
tofu: ['//posthog:posthog'],
Expand Down