Skip to content

Commit 8768bb6

Browse files
committed
Bump version to 1.21.0
2 parents e95f1e6 + ef90837 commit 8768bb6

34 files changed

+1190
-80
lines changed

.github/workflows/create-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
On MacOS, install Litani using [Homebrew](https://brew.sh/) with
3030
3131
```sh
32-
brew install aws/tap/litani
32+
brew install litani
3333
```
3434
3535
or upgrade (if it's already been installed) with:

.github/workflows/release-packages.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ jobs:
8080
- name: Create homebrew PR
8181
run: |
8282
brew update-reset
83-
brew tap aws/tap
84-
brew bump-formula-pr --tag "$RELEASE_TAG" --revision "$GITHUB_SHA" aws/tap/litani
83+
brew bump-formula-pr --tag "$RELEASE_TAG" --revision "$GITHUB_SHA" litani
8584
env:
8685
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.RELEASE_CI_ACCESS_TOKEN }}

.github/workflows/run-tests

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Run Litani Tests
2+
on:
3+
pull_request:
4+
types: [ labeled ]
5+
6+
jobs:
7+
test-litani:
8+
if: ${{ github.event.label.name == 'test' }}
9+
name: Run Litani Tests
10+
runs-on: macos-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Install dependencies
14+
run: |
15+
brew install ninja
16+
python3 -m pip install jinja2
17+
- name: Run Unit and e2e tests
18+
run: ./test/run
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
on:
2+
release:
3+
types: [created]
4+
5+
name: Update documentation
6+
jobs:
7+
update-documentation:
8+
name: Update gh-pages
9+
runs-on: macos-10.15
10+
env:
11+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
- name: Install utilities
16+
run: |
17+
brew install scdoc mandoc coreutils ninja
18+
pip3 install pyyaml jinja2
19+
- name: Build doc
20+
run: ./doc/configure && ninja
21+
- name: Publish Documentation
22+
uses: JamesIves/[email protected]
23+
with:
24+
branch: gh-pages
25+
folder: doc/out/html

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ test/output
55
doc/tmp
66
doc/out
77

8+
examples/rich-output/*.csv
9+
810
__pycache__/
911

1012
build.ninja
13+
14+
tmp

CHANGELOG

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,57 @@
11
CHANGELOG
22
`````````
3+
4+
Version 1.21.0 -- 2022-03-04
5+
----------------------------
6+
- Add release script
7+
This commit adds a script that creates a new release when run. It takes
8+
the following actions:
9+
10+
- Update the version number in lib/litani.py;
11+
- Generate a changelog and prompt the user to edit it;
12+
- Merge the release branch into develop, using the changelog for the
13+
merge commit;
14+
- Tag the release;
15+
- Create a new release candidate on the develop branch.
16+
17+
- Litani's homebrew formula is now released on homebrew-core
18+
19+
- Add --out-file flag to litani-dump-run
20+
21+
With this commit, users can now dump run files to a file instead
22+
by passing --out-file flag with the file path to litani dump-run.
23+
24+
- Add run-tests workflow
25+
This commit runs Litani's test suite on PRs with label 'test'.
26+
27+
- Render rich output in dashboard, pipeline pages
28+
29+
This feature allows users to render custom HTML data onto the HTML
30+
dashboard, allowing Litani jobs to display their results through tables,
31+
graphs, and other HTML format. This can be done both for the front page
32+
or on the pipeline page.
33+
34+
The intention is that individual litani jobs can be used to measure
35+
metrics, and then print those metrics out in an easily-viewable format.
36+
Jobs that calculate metrics for the entire run can present those metrics
37+
as a graph on the front page. Jobs that calculate metrics for a single
38+
pipeline (or proof) can display the result on the pipeline page.
39+
40+
Users use this feature by adding a tag to a litani job, using the --tags
41+
flag. If a job is tagged with front-page-text, Litani will render the
42+
job's output onto the front page, in its own section. A tag of
43+
literal-stdout will make Litani render the job's output onto the
44+
pipeline page, but without any HTML escaping.
45+
46+
- Add workflow to update gh-pages on release
47+
48+
- Sort pipelines by status and then name.
49+
50+
The order with which pipelines appear in both the HTML dashboard is
51+
the same as the order with which they appear in the run.json. An e2e
52+
test was added to ensure that the order is indeed the intended one.
53+
54+
355
Version 1.20.0 -- 2022-02-11
456
----------------------------
557

README.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,36 @@
1-
AWS Build Accumulator
1+
Litani
22
=
33

4-
AWS Build Accumulator collects build jobs from multiple sources before executing them
5-
concurrently. It provides platform-independent job control (timeouts,
6-
return code control) and an output format that is easy to render into
7-
reports (for example, using the built-in renderer). AWS Build Accumulator
8-
shines where your project uses multiple different build systems or requires
9-
a unified interface describing heterogeneous build jobs.
4+
Litani is a build system that provides an HTML dashboard of job results, as well
5+
as a JSON-formatted record of job results. It provides platform-independent job
6+
control (timeouts, return code control) and an output format that is easy to
7+
render into reports (for example, using the built-in renderer).
108

119
### Documentation
1210

13-
Hosted [here](https://awslabs.github.io/aws-build-accumulator/).
11+
Hosted [here](https://awslabs.github.io/aws-build-accumulator/). The Homebrew
12+
and Debian packages also install the man pages locally, try
13+
`man litani-add-job`.
1414

1515

1616
### Installation
1717

1818
To install with [Homebrew](https://brew.sh):
1919

2020
```bash
21-
brew tap aws/tap
2221
brew install litani
2322
```
2423

25-
Documentation can also be accessed using `man`:
24+
On Ubuntu, Install Litani by downloading the `*.deb` package built by each release,
25+
available on the
26+
[releases](https://github.com/awslabs/aws-build-accumulator/releases) page and
27+
run
2628

2729
```bash
28-
man litani
30+
apt install -y litani-x.xx.x.deb # where x.xx.x is the release version.
2931
```
3032

33+
3134
### Dependencies
3235

3336
If you are cloning the source code, you will need the following dependencies:

0 commit comments

Comments
 (0)