2024-08-06 14:33:38 +00:00
|
|
|
# Maintenance
|
2024-07-30 08:44:45 +00:00
|
|
|
|
2024-08-06 14:33:38 +00:00
|
|
|
#### Docker Build - Powershell (One Line)
|
|
|
|
```powershell
|
|
|
|
$tag = ("0.0.1").Trim(); Remove-Item -Path "./database/database.sqlite" -Force; Remove-Item -Path ".env" -Force; $tag | set-content -path "./public/version.txt" -Force; git reset --hard; git pull origin master; git tag $tag; git push --tags; docker build -t git.steelants.cz/jonatanrek/lar_maintenance:$tag .; docker push git.steelants.cz/jonatanrek/lar_maintenance:$tag; docker build -t git.steelants.cz/jonatanrek/lar_maintenance:latest .; docker push git.steelants.cz/jonatanrek/lar_maintenance:latest
|
|
|
|
```
|
2024-07-30 08:44:45 +00:00
|
|
|
|
2024-08-06 14:33:38 +00:00
|
|
|
#### Docker Build - Bash (One Line)
|
|
|
|
```bash
|
|
|
|
export TAG="0.0.1" && echo "$TAG" > "./public/version.txt" && sudo docker build -t git.steelants.cz/jonatanrek/lar_maintenance:"$TAG" . && sudo docker push git.steelants.cz/jonatanrek/lar_maintenance:"$TAG" && sudo docker build -t git.steelants.cz/jonatanrek/lar_maintenance:latest . && sudo docker push git.steelants.cz/jonatanrek/lar_maintenance:latest
|
2024-08-07 09:13:25 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### TODO
|
|
|
|
* Maintenance Relations
|
|
|
|
* Shippable servers in maintenance
|
|
|
|
* Zakazníci
|