Skip to content

Commit 7252a3d

Browse files
committed
vagga.yaml: add versioning boilerplate
1 parent ae871eb commit 7252a3d

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

bulk.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
minimum-bulk: v0.4.5
2+
3+
versions:
4+
5+
- file: Cargo.toml
6+
block-start: ^\[package\]
7+
block-end: ^\[.*\]
8+
regex: ^version\s*=\s*"(\S+)"
9+
10+
- file: README.rst
11+
regex: ^\s*argparse\s*=\s*"(\S+)"

vagga.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,22 @@ containers:
33
build:
44
setup:
55
- !Ubuntu bionic
6-
- !Install [build-essential]
6+
- !Install [build-essential, ca-certificates, vim]
77
- !TarInstall
88
url: https://static.rust-lang.org/dist/rust-1.28.0-x86_64-unknown-linux-gnu.tar.gz
99
# We install rustc and cargo, but skip rust-docs
1010
script: "./install.sh --prefix=/usr \
1111
--components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo"
12+
- &bulk !Tar
13+
url: "https://github.com/tailhook/bulk/releases/download/v0.4.12/bulk-v0.4.12.tar.gz"
14+
sha256: 7deeb4895b3909afea46194ef01bafdeb30ff89fc4a7b6497172ba117734040e
15+
path: /
1216
environ:
1317
HOME: /work/run
1418
volumes:
1519
/tmp: !Tmpfs { size: 100Mi }
1620

21+
1722
commands:
1823

1924
make: !Command
@@ -47,3 +52,8 @@ commands:
4752
container: build
4853
accepts-arguments: true
4954
run: [cargo, run, --example, subcommands, "--"]
55+
56+
_bulk: !Command
57+
description: Run `bulk` command (for version bookkeeping)
58+
container: build
59+
run: [bulk]

0 commit comments

Comments
 (0)