-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial take on a runbook for updating and releasing a new version of…
… dplsh
- Loading branch information
Philip
committed
Jul 10, 2024
1 parent
cc1d35a
commit 1989b78
Showing
1 changed file
with
16 additions
and
0 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,16 @@ | ||
# Make changes to DPLSH | ||
## When to use | ||
Check failure on line 2 in docs/runbooks/changing-and-releasing-new-dplsh-version.md GitHub Actions / Lint Markdown
|
||
When for example the `kubectl` version need updating | ||
|
||
## Make the change | ||
|
||
1. Go to the DPLSH directory and make the necessary changes on a new branch | ||
2. Build DPLSH locally by running `IMAGE_URL=dplsh IMAGE_TAG=someTagName task build` | ||
3. Test that it works by running `DPLSH_IMAGE=dplsh:local ./dplsh` and running what ever commands need to be run to test that the change has the desired effect | ||
4. Check what version DPLSH is at here: https://github.com/danskernesdigitalebibliotek/dpl-platform/releases | ||
Check failure on line 10 in docs/runbooks/changing-and-releasing-new-dplsh-version.md GitHub Actions / Lint Markdown
|
||
5. Push the branch, have it review and merge it into `main` | ||
6. Push a new tag to `main`. The tag should look like this: `dplsh-x.x.x`. (If in doubt about what version to bump to; read this: https://semver.org/) | ||
Check failure on line 12 in docs/runbooks/changing-and-releasing-new-dplsh-version.md GitHub Actions / Lint Markdown
|
||
7. Wait for main to automically build and release the new version | ||
8. Go to your main branch, enter the `/infrastructure` directory and run `../tools/dplsh/dplsh.sh --update`. | ||
|
||
You are done and have the newest version of DPLSH on your machine. |