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
2 changes: 1 addition & 1 deletion .github/workflows/regenerate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Regenerate

# Once a day, checks the template's master: whatever reaches master is a release, tagged by its release.yml.
# When master carries a release these samples are not generated from yet, every release branch is replaced
# by a fresh generation from that tag. A branch with a "ref" in variants.json (nightly, on dev) follows that
# by a fresh generation from that tag. A branch with a "ref" in variants.json (full-dev, on dev) follows that
# branch of the template instead and is replaced when it has moved.
#
# The branches carry workflow files, which GITHUB_TOKEN may not push, and a push by GITHUB_TOKEN starts no
Expand Down
2 changes: 1 addition & 1 deletion .samples/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ if [ "$(jq -r --arg b "$branch" '.[] | select(.branch == $b) | .default // false
echo
echo "Once a day [regenerate](.github/workflows/regenerate.yml) checks the template's master: what reaches"
echo "master is a release, and every release branch is generated again from a new one, pushed, and its CI runs."
echo "nightly follows dev instead, where the next release is built: it is generated again when dev has moved."
echo "full-dev follows dev instead, where the next release is built: it is generated again when dev has moved."
echo "After each CI run of a branch, [report](.github/workflows/report.yml) writes the run into the branch's"
echo "reports/<branch>/ folder: tests, coverage, time and the branch's files, one file per release, and"
echo "ci.svg, the picture of its days above."
Expand Down
2 changes: 1 addition & 1 deletion .samples/report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
# The reports live in reports/<branch>/, so two branches merged together keep each other's reports.
# reports/<branch>/<version>.json keeps every run of the branch generated from that version (a release tag,
# or the template's commit for nightly) and the branch's files; <version>.md is the same for a reader.
# or the template's commit for full-dev) and the branch's files; <version>.md is the same for a reader.
# reports/<branch>/ci.svg draws the branch's runs by day for its README (ci-svg.py).
# reports/<branch>/index.json lists the reports with their last run: the site reads it from
# raw.githubusercontent.com, which cannot list a folder. Reports an earlier run left directly in reports/
Expand Down
2 changes: 1 addition & 1 deletion .samples/variants.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
]
},
{
"branch": "nightly",
"branch": "full-dev",
"ref": "dev",
"about": "The flags of full and the ones dev adds before a release, generated from the template's dev once a day when it has moved. A red CI here is a break in dev before a release.",
"generate": [
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Nothing here is edited by hand: the branch is replaced when the template moves o
| [`gateway`](https://github.com/sawking-tech/DotNetSolutionKit.Samples/tree/gateway) | Two services behind a YARP gateway that validates the token and forwards the user. | [![CI](https://github.com/sawking-tech/DotNetSolutionKit.Samples/actions/workflows/ci.yml/badge.svg?branch=gateway)](https://github.com/sawking-tech/DotNetSolutionKit.Samples/actions/workflows/ci.yml?query=branch%3Agateway) |
| [`full`](https://github.com/sawking-tech/DotNetSolutionKit.Samples/tree/full) | Every flag: the bus with an outbox, Infisical, feature flags, the API diff, access rules over a tenant tree, object storage, ClickHouse; two services. | [![CI](https://github.com/sawking-tech/DotNetSolutionKit.Samples/actions/workflows/ci.yml/badge.svg?branch=full)](https://github.com/sawking-tech/DotNetSolutionKit.Samples/actions/workflows/ci.yml?query=branch%3Afull) |
| [`full-alt`](https://github.com/sawking-tech/DotNetSolutionKit.Samples/tree/full-alt) | SQL Server, xUnit, secrets from Vault, Kubernetes manifests and the audit journal, which rides on the bus with an outbox; two services. | [![CI](https://github.com/sawking-tech/DotNetSolutionKit.Samples/actions/workflows/ci.yml/badge.svg?branch=full-alt)](https://github.com/sawking-tech/DotNetSolutionKit.Samples/actions/workflows/ci.yml?query=branch%3Afull-alt) |
| [`nightly`](https://github.com/sawking-tech/DotNetSolutionKit.Samples/tree/nightly) | The flags of full and the ones dev adds before a release, generated from the template's dev once a day when it has moved. A red CI here is a break in dev before a release. | [![CI](https://github.com/sawking-tech/DotNetSolutionKit.Samples/actions/workflows/ci.yml/badge.svg?branch=nightly)](https://github.com/sawking-tech/DotNetSolutionKit.Samples/actions/workflows/ci.yml?query=branch%3Anightly) |
| [`full-dev`](https://github.com/sawking-tech/DotNetSolutionKit.Samples/tree/full-dev) | The flags of full and the ones dev adds before a release, generated from the template's dev once a day when it has moved. A red CI here is a break in dev before a release. | [![CI](https://github.com/sawking-tech/DotNetSolutionKit.Samples/actions/workflows/ci.yml/badge.svg?branch=full-dev)](https://github.com/sawking-tech/DotNetSolutionKit.Samples/actions/workflows/ci.yml?query=branch%3Afull-dev) |

The CI of each branch by day, as [the samples page](https://dnsk.sawking.tech/samples.html) shows it:

Expand All @@ -35,7 +35,7 @@ The CI of each branch by day, as [the samples page](https://dnsk.sawking.tech/sa

[![CI of full-alt by day](https://raw.githubusercontent.com/sawking-tech/DotNetSolutionKit.Samples/full-alt/reports/full-alt/ci.svg)](https://dnsk.sawking.tech/samples.html#full-alt)

[![CI of nightly by day](https://raw.githubusercontent.com/sawking-tech/DotNetSolutionKit.Samples/nightly/reports/nightly/ci.svg)](https://dnsk.sawking.tech/samples.html#nightly)
[![CI of full-dev by day](https://raw.githubusercontent.com/sawking-tech/DotNetSolutionKit.Samples/full-dev/reports/full-dev/ci.svg)](https://dnsk.sawking.tech/samples.html#full-dev)


Each square is a day in UTC, Monday at the top and Sunday at the bottom. A day shows the result of the
Expand All @@ -47,7 +47,7 @@ come.

Once a day [regenerate](.github/workflows/regenerate.yml) checks the template's master: what reaches
master is a release, and every release branch is generated again from a new one, pushed, and its CI runs.
nightly follows dev instead, where the next release is built: it is generated again when dev has moved.
full-dev follows dev instead, where the next release is built: it is generated again when dev has moved.
After each CI run of a branch, [report](.github/workflows/report.yml) writes the run into the branch's
reports/<branch>/ folder: tests, coverage, time and the branch's files, one file per release, and
ci.svg, the picture of its days above.
Expand Down