Commit c5896fd
authored
[Backport 6.8.x] fix(rel): add migrator job to release process (#353)
## Description
The migrator job was missing from the release process, causing the image tag to no be updated during releases.
This adds the steps to update the image during the release process.
## Checklist
- [ ] Update [CHANGELOG.md](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/CHANGELOG.md)
- [ ] Update [K8s Upgrade notes](https://github.com/sourcegraph/sourcegraph/blob/main/doc/admin/updates/kubernetes.md)
- [x] Kustomiz-specific changes
- [ ] Update sister repository: [deploy-sourcegraph-helm](https://github.com/sourcegraph/deploy-sourcegraph-helm)
- [ ] Update sister repository: [deploy-sourcegraph-docker](https://github.com/sourcegraph/deploy-sourcegraph-docker)
- [ ] Verify all images have a valid tag and SHA256 sum
## Test plan
Tested actions locally:
```shell
sg release create --workdir=. --version=v6.8.2313 --inputs=server=v6.8.2313 --pretend
...
👉 [ step] Pretending to run step "sg ops (migrator)"
[sg ops (migrator)] set -eu
[sg ops (migrator)] sg ops update-images \
[sg ops (migrator)] --kind k8s \
[sg ops (migrator)] --registry us-docker.pkg.dev/sourcegraph-images/internal \
[sg ops (migrator)] --docker-username=$DOCKER_USERNAME \
[sg ops (migrator)] --docker-password=$DOCKER_PASSWORD \
[sg ops (migrator)] --pin-tag 6.8.2313 \
[sg ops (migrator)] components/utils/migrator/
[sg ops (migrator)]
...
```
<br> Backport 9e64aa1 from #3511 parent c281d66 commit c5896fd
1 file changed
+51
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
52 | 62 | | |
53 | 63 | | |
54 | 64 | | |
| |||
98 | 108 | | |
99 | 109 | | |
100 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
101 | 121 | | |
102 | 122 | | |
103 | 123 | | |
| |||
145 | 165 | | |
146 | 166 | | |
147 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
148 | 178 | | |
149 | 179 | | |
150 | 180 | | |
| |||
248 | 278 | | |
249 | 279 | | |
250 | 280 | | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
251 | 291 | | |
252 | 292 | | |
253 | 293 | | |
| |||
382 | 422 | | |
383 | 423 | | |
384 | 424 | | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
385 | 436 | | |
386 | 437 | | |
387 | 438 | | |
| |||
0 commit comments