Feature/lab5#1217
Open
RusKudinov wants to merge 10 commits into
Open
Conversation
Signed-off-by: Руслан Кудинов <r.kudinov@innopolis.university>
Signed-off-by: Руслан Кудинов <r.kudinov@innopolis.university>
Signed-off-by: Руслан Кудинов <r.kudinov@innopolis.university>
Signed-off-by: Руслан Кудинов <r.kudinov@innopolis.university>
Signed-off-by: Руслан Кудинов <r.kudinov@innopolis.university>
Signed-off-by: Руслан Кудинов <r.kudinov@innopolis.university>
Signed-off-by: Руслан Кудинов <r.kudinov@innopolis.university>
Signed-off-by: Руслан Кудинов <r.kudinov@innopolis.university>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal
Реализация Lab 5: создание Vagrant VM с Ubuntu 22.04, установка Go 1.24.5, запуск QuickNotes внутри VM с пробросом порта 18080 на хост, а также демонстрация snapshot-жизненного цикла (сохранение → поломка → восстановление).
Changes
Vagrantfileв корень репозитория:ubuntu/jammy64(Ubuntu 22.04 LTS)quicknotes-vm127.0.0.1:18080→guest:8080./app→/home/vagrant/appsubmissions/lab5.mdс полным отчётом:vagrant up(первые строки),go version,curl http://localhost:18080/healthvagrant snapshot save working), поломка (удаление/usr/local/go), проверка (go version→ ошибка), восстановление с замером времени (26.7 сек), проверка восстановленияTesting
vagrant up, провижининг выполнен.go versionпоказалgo1.24.5 linux/amd64.nohup ./quicknotes), с хоста выполненcurl http://localhost:18080/health— ответ{"notes":4,"status":"ok"}.go versionвернула ошибку, восстановление заняло 26.7 секунд, после восстановленияgo versionснова работает.submissions/lab5.md.Checklist
git log --show-signature) — если подписывалsubmissions/lab5.mdобновлён