You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ The repository uses the [doit automation tool](https://pydoit.org/) to automate
44
44
To use this system, setup a build end testing environment and install the dependencies with:
45
45
46
46
```console
47
-
pip install -r requirements-dev.txt
47
+
pip install -r requirements.txt
48
48
```
49
49
50
50
### Build images locally
@@ -55,7 +55,7 @@ The build system will attempt to detect the local architecture and automatically
55
55
All commands `build`, `tests`, and `up` will use the locally detected platform and use a version tag based on the state of the local git repository.
56
56
However, you can also specify a custom platform or version with the `--platform` and `--version` parameters, example: `doit build --arch=arm64 --version=my-version`.
57
57
58
-
You can specify target stacks to build with `--target`, example: `doit build --target base --target full-stack`.
58
+
You can specify target image variants to build with `--target`, example: `doit build --target base --target lab`.
59
59
60
60
### Run automated tests
61
61
@@ -70,18 +70,14 @@ For manual testing, you can start the images with `doit up`, however we recommen
70
70
71
71
Images are built for `linux/amd64` and `linux/arm64` during continuous integration for all pull requests into the default branch and pushed to the GitHub Container Registry (ghcr.io) with tags `ghcr.io/aiidalab/*:pr-###`.
72
72
You can run automated or manual tests against those images by specifying the registry and version for both the `up` and `tests` commands, example: `doit up --registry=ghcr.io/ --version=pr-123`.
73
-
Note: You may have to [log into the registry first](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-to-the-container-registry).
74
73
75
74
### Creating a release
76
75
77
-
We distinguish between _regular_ releases and _special_ releases, where the former follow the standard versioning scheme (`v2022.1001`) and the latter would be specific to a certain use case, e.g., a workshop with dedicated requirements.
78
-
To create a regular release, set up a development environment, and then use `bumpver`:
76
+
We use a calendar versioning scheme (e.g. `v2022.1001`), and we automate the release with `bumpver`. To create a release, make sure your are on an up-to-date main branch and run:
79
77
```console
80
78
bumpver update
81
79
```
82
-
This will update the README.md file, make a commit, tag it, and then push both to the repository to kick off the build and release flow.
83
-
84
-
To create a _special_ release, simply tag it with a tag name of your choice with the exception that it cannot start with the character `v`.
80
+
This will update the version in bumpver.toml, make a commit, tag it, and then push both to the repository to kick off the build and release flow.
0 commit comments