-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into docs/jenkins-tutorial
- Loading branch information
Showing
7 changed files
with
66 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
name: Validate ADRs | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- 'docs/architecture/decisions' | ||
|
||
jobs: | ||
validate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4 | ||
|
||
- name: Set up poetry and install | ||
uses: ./.github/actions/setup-poetry | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Run validate adrs | ||
run: trestle author docs validate -tn decisions -hv -tr docs/architecture | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
17 changes: 17 additions & 0 deletions
17
docs/architecture/.trestle/author/decisions/0.0.1/template.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
x-trestle-template-version: 0.0.1 | ||
title: | ||
status: proposed # Valid statuses are proposed, deferred, rejected, withdrawn or replaced | ||
--- | ||
|
||
## Context | ||
|
||
<!--Add information here that clearly outlines the problem or opportunity that necessitated the decision.--> | ||
|
||
## Decision | ||
|
||
<!--State the decision here clear and unambiguous. Describe the rationale and the tradeoffs. ---> | ||
|
||
## Consequences | ||
|
||
<!--Add information here on risks and potential impacts or outcomes.---> |
19 changes: 0 additions & 19 deletions
19
docs/architecture/decisions/0001-record-architecture-decisions.md
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
docs/architecture/decisions/record-architecture-decisions_000.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
x-trestle-template-version: 0.0.1 | ||
title: Record architecture decisions | ||
status: accepted # Valid statuses are proposed, accepted, deferred, rejected, withdrawn, or replaced | ||
--- | ||
|
||
## Context | ||
|
||
We need to record the architectural decisions made on this project. | ||
|
||
## Decision | ||
|
||
We will use Architecture Decision Records, as [described by Michael Nygard](http://thinkrelevance.com/blog/2011/11/15/documenting-architecture-decisions). | ||
|
||
## Consequences | ||
|
||
See Michael Nygard's article, linked above. `trestle` will be used to create and validate these decisions. |