Mercurial > p > roundup > code
comparison RELEASE.txt @ 6812:d7905a78ab8a
Add item to push docker image post release.
Prelim notes still needs updating and some issues resolved.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 02 Aug 2022 23:32:26 -0400 |
| parents | a1868fe784d0 |
| children | a6526afd7c71 |
comparison
equal
deleted
inserted
replaced
| 6811:075a2f6d703b | 6812:d7905a78ab8a |
|---|---|
| 191 16b. Update release info on wikipedia: | 191 16b. Update release info on wikipedia: |
| 192 https://en.wikipedia.org/wiki/Roundup_(issue_tracker) | 192 https://en.wikipedia.org/wiki/Roundup_(issue_tracker) |
| 193 | 193 |
| 194 https://en.wikipedia.org/wiki/Comparison_of_issue-tracking_systems | 194 https://en.wikipedia.org/wiki/Comparison_of_issue-tracking_systems |
| 195 | 195 |
| 196 17 Push release docker image to dockerhub | |
| 197 17a. install docker | |
| 198 17b. run: (issues, how to release a version e.g. to update alpine for | |
| 199 secuity issues. Should release tag be | |
| 200 roundup-tracker/roundup:2.2.0-1, -2 etc? Then add a tag | |
| 201 roundup-tracker/roundup:2.2.0 that changes and always tags | |
| 202 the latest -X release??) | |
| 203 | |
| 204 docker build -t roundup-tracker/roundup:2.2.0 --build-arg="source=pypi" -f scripts/Docker/Dockerfile . | |
| 205 | |
| 206 to create the dockerfile. *Change 2.2.0 to current version* | |
| 207 Always use the exact release tag. | |
| 208 17c. vulnerability scan local image using: | |
| 209 | |
| 210 docker run --rm --volume | |
| 211 /var/run/docker.sock:/var/run/docker.sock \ | |
| 212 --name Grype anchore/grype:latest roundup-tracker/roundup:2.2.0 | |
| 213 | |
| 214 should report no vulnerabilities (note match version with current | |
| 215 build) | |
| 216 17d. test roundup in demo mode: | |
| 217 | |
| 218 docker run -it --rm -p 8917:8080 \ | |
| 219 -v $PWD/tracker:/usr/src/app/tracker \ | |
| 220 roundup-tracker/roundup:2.2.0 demo | |
| 221 17e. push to DockerHub login (login using 'docker login <username>' | |
| 222 first and user must be member of roundup-tracker org with ability | |
| 223 to publish) | |
| 224 | |
| 225 docker tag roundup-tracker/roundup:2.2.0 roundup-tracker/roundup | |
| 226 docker push roundup-tracker/roundup:2.2.0 | |
| 227 docker push roundup-tracker/roundup # update roundup:latest | |
| 196 | 228 |
| 197 ------------- | 229 ------------- |
| 198 | 230 |
| 199 If you get errors on the upload operation, you may need the following | 231 If you get errors on the upload operation, you may need the following |
| 200 ~/.pypirc file as well | 232 ~/.pypirc file as well |
