forked from mtusi2026/mtusi2026lab2
lab 2 realization: PostgreSQL, Valkey, track 2
This commit is contained in:
@@ -0,0 +1,147 @@
|
||||
2026-10-16T11:16:54Z
|
||||
$ python -X utf8 scripts/clean_build.py
|
||||
warning: in the working copy of '.dockerignore', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of '.env.example', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of '.gitattributes', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of '.github/pull_request_template.md', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'ARCHITECTURE.md', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'Dockerfile', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'Dockerfile.tests', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'REPORT.md', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'compose.yaml', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'evidence/acceptance.txt', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'evidence/audit.txt', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'evidence/authentication.txt', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'evidence/check.txt', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'evidence/clean-build.txt', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'evidence/explain-run.txt', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'evidence/infrastructure.txt', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'evidence/linux-test-persistence.txt', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'evidence/own.txt', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'evidence/persistence.txt', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'evidence/race.txt', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'evidence/restart-after.txt', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'evidence/restart-before.txt', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'evidence/smoke.txt', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'evidence/source-check.txt', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'go.mod', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'go.sum', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'scripts/audit.py', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'scripts/bootstrap.py', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'scripts/clean_build.py', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'scripts/linux_tests.py', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'scripts/record.py', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'scripts/restart.cmd', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'scripts/restart.example.sh', CRLF will be replaced by LF the next time Git touches it
|
||||
warning: in the working copy of 'scripts/verify_sources.py', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'student-tests/README.md', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'student-tests/acceptance.py', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'student-tests/authentication.py', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'student-tests/explain.py', LF will be replaced by CRLF the next time Git touches it
|
||||
warning: in the working copy of 'student-tests/infrastructure.py', LF will be replaced by CRLF the next time Git touches it
|
||||
CLEAN CLONE: temporary snapshot commit d8ebfe039d149590cddfb4337b1698b1768686fe
|
||||
MAIN REPOSITORY: no commit, no staging, no push
|
||||
Local .env and secrets ready; existing values preserved.
|
||||
Image mtusi-messenger:lab2 Building
|
||||
#1 [internal] load local bake definitions
|
||||
#1 reading from stdin 612B 0.1s done
|
||||
#1 DONE 0.1s
|
||||
|
||||
#2 [internal] load build definition from Dockerfile
|
||||
#2 transferring dockerfile: 624B 0.0s done
|
||||
#2 DONE 0.0s
|
||||
|
||||
#3 [internal] load metadata for docker.io/library/golang:1.26.0-bookworm@sha256:2a0ba12e116687098780d3ce700f9ce3cb340783779646aafbabed748fa6677c
|
||||
#3 DONE 0.0s
|
||||
|
||||
#4 [internal] load .dockerignore
|
||||
#4 transferring context: 115B done
|
||||
#4 DONE 0.0s
|
||||
|
||||
#5 [build 1/7] FROM docker.io/library/golang:1.26.0-bookworm@sha256:2a0ba12e116687098780d3ce700f9ce3cb340783779646aafbabed748fa6677c
|
||||
#5 DONE 0.0s
|
||||
|
||||
#6 [internal] load build context
|
||||
#6 transferring context: 35.68kB 0.1s done
|
||||
#6 DONE 0.1s
|
||||
|
||||
#7 [build 2/7] WORKDIR /src
|
||||
#7 CACHED
|
||||
|
||||
#8 [build 3/7] COPY go.mod go.sum ./
|
||||
#8 CACHED
|
||||
|
||||
#9 [build 4/7] RUN go mod download
|
||||
#9 CACHED
|
||||
|
||||
#10 [build 5/7] COPY *.go ./
|
||||
#10 DONE 0.1s
|
||||
|
||||
#11 [build 6/7] COPY migrations ./migrations
|
||||
#11 DONE 0.1s
|
||||
|
||||
#12 [build 7/7] RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /messenger .
|
||||
#12 DONE 35.8s
|
||||
|
||||
#13 [runtime 1/1] COPY --from=build /messenger /messenger
|
||||
#13 CACHED
|
||||
|
||||
#14 exporting to image
|
||||
#14 exporting layers done
|
||||
#14 writing image sha256:81a8f7752dad98518b6154841b4d6382fbdf9b6f849cb6aed11b65b58bd0125e 0.0s done
|
||||
#14 naming to docker.io/library/mtusi-messenger:lab2 0.0s done
|
||||
#14 DONE 0.1s
|
||||
|
||||
#15 resolving provenance for metadata file
|
||||
#15 DONE 0.1s
|
||||
Image mtusi-messenger:lab2 Built
|
||||
Network lab2-clean-aa70a5f3_default Creating
|
||||
Network lab2-clean-aa70a5f3_default Created
|
||||
Volume lab2-clean-aa70a5f3_pgdata Creating
|
||||
Volume lab2-clean-aa70a5f3_pgdata Created
|
||||
Volume lab2-clean-aa70a5f3_sessions Creating
|
||||
Volume lab2-clean-aa70a5f3_sessions Created
|
||||
Container lab2-clean-aa70a5f3-db-1 Creating
|
||||
Container lab2-clean-aa70a5f3-valkey-1 Creating
|
||||
Container lab2-clean-aa70a5f3-valkey-1 Created
|
||||
Container lab2-clean-aa70a5f3-db-1 Created
|
||||
Container lab2-clean-aa70a5f3-api-1 Creating
|
||||
Container lab2-clean-aa70a5f3-api-1 Created
|
||||
Container lab2-clean-aa70a5f3-valkey-1 Starting
|
||||
Container lab2-clean-aa70a5f3-db-1 Starting
|
||||
Container lab2-clean-aa70a5f3-db-1 Started
|
||||
Container lab2-clean-aa70a5f3-valkey-1 Started
|
||||
Container lab2-clean-aa70a5f3-db-1 Waiting
|
||||
Container lab2-clean-aa70a5f3-valkey-1 Waiting
|
||||
Container lab2-clean-aa70a5f3-valkey-1 Healthy
|
||||
Container lab2-clean-aa70a5f3-db-1 Healthy
|
||||
Container lab2-clean-aa70a5f3-api-1 Starting
|
||||
Container lab2-clean-aa70a5f3-api-1 Started
|
||||
Container lab2-clean-aa70a5f3-db-1 Waiting
|
||||
Container lab2-clean-aa70a5f3-valkey-1 Waiting
|
||||
Container lab2-clean-aa70a5f3-api-1 Waiting
|
||||
Container lab2-clean-aa70a5f3-valkey-1 Healthy
|
||||
Container lab2-clean-aa70a5f3-db-1 Healthy
|
||||
Container lab2-clean-aa70a5f3-api-1 Healthy
|
||||
python3 scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
python3 tests/smoke.py --base-url "http://127.0.0.1:18083"
|
||||
PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.
|
||||
EMPTY VOLUME MIGRATIONS: 001_initial.sql
|
||||
002_unicode_storage.sql
|
||||
Container lab2-clean-aa70a5f3-api-1 Stopping
|
||||
Container lab2-clean-aa70a5f3-api-1 Stopped
|
||||
Container lab2-clean-aa70a5f3-api-1 Removing
|
||||
Container lab2-clean-aa70a5f3-api-1 Removed
|
||||
Container lab2-clean-aa70a5f3-db-1 Stopping
|
||||
Container lab2-clean-aa70a5f3-valkey-1 Stopping
|
||||
Container lab2-clean-aa70a5f3-valkey-1 Stopped
|
||||
Container lab2-clean-aa70a5f3-valkey-1 Removing
|
||||
Container lab2-clean-aa70a5f3-valkey-1 Removed
|
||||
Container lab2-clean-aa70a5f3-db-1 Stopped
|
||||
Container lab2-clean-aa70a5f3-db-1 Removing
|
||||
Container lab2-clean-aa70a5f3-db-1 Removed
|
||||
Network lab2-clean-aa70a5f3_default Removing
|
||||
Network lab2-clean-aa70a5f3_default Removed
|
||||
PASS: isolated clone build; temporary project stopped, volumes retained
|
||||
exit_code=0
|
||||
Reference in New Issue
Block a user