Skip to content

Commit

Permalink
Update patch Go version documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeschkies committed Nov 6, 2023
1 parent 4ff6892 commit 4a96bf4
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions docs/sources/community/maintaining/release/patch-go-version.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,8 @@ Update vulnerable Go version to non-vulnerable Go version to build Grafana Loki

1. Update Go version in the Grafana Loki build image (`loki-build-image/Dockerfile`) on the `main` branch.

1. [Backport]({{< relref "./backport-commits" >}}) it to `release-VERSION_PREFIX` branch.
1. [Release a new Loki Build Image]({{< relref "../release-loki-build-image.md" >}})

1. Determine new Grafana Loki build image version.
1. [Backport]({{< relref "./backport-commits" >}}) the Dockerfile change to `release-VERSION_PREFIX` branch.

1. Check current `BUILD_IMAGE_VERSION` from `Makefile`.

1. Increment 1 to the last digit. Example `v0.29.4` becomes `v0.29.5`

1. This will be your new `NEW_BUILD_IMAGE_VERSION`.

1. Build and push new Grafana Loki build image.

```shell
BUILD_IMAGE_VERSION=$NEW_BUILD_IMAGE_VERSION make build-image-push
```

1. Update build image versions on `main` branch.

1. Update `BUILD_IMAGE_VERSION` to `$NEW_BUILD_IMAGE_VERSION` in `Makefile`

1. Update drone file.
```shell
make .drone/drone.yml
```

1. [Backport]({{< relref "./backport-commits" >}}) it to `release-VERSION_PREFIX` branch.
1. [Backport]({{< relref "./backport-commits" >}}) the Loki Build Image version change from `main` to `release-VERSION_PREFIX` branch.

0 comments on commit 4a96bf4

Please sign in to comment.