Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions labs/artifacts/lab12/apt-install-buildx.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
docker-buildx
0 upgraded, 1 newly installed, 0 to remove and 114 not upgraded.
Need to get 16.8 MB of archives.
After this operation, 71.0 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 docker-buildx amd64 0.30.1-0ubuntu1~24.04.1 [16.8 MB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 16.8 MB in 59s (286 kB/s)
Selecting previously unselected package docker-buildx.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 198529 files and directories currently installed.)
Preparing to unpack .../docker-buildx_0.30.1-0ubuntu1~24.04.1_amd64.deb ...
Unpacking docker-buildx (0.30.1-0ubuntu1~24.04.1) ...
Setting up docker-buildx (0.30.1-0ubuntu1~24.04.1) ...
Expand Down
8 changes: 8 additions & 0 deletions labs/artifacts/lab12/apt-update.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease
Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Get:5 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1,969 kB]
Get:6 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1,689 kB]
Fetched 3,784 kB in 4s (995 kB/s)
Reading package lists...
1 change: 1 addition & 0 deletions labs/artifacts/lab12/bonus/app-name.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
moscow-time-krasand-lab12-0512224300
1 change: 1 addition & 0 deletions labs/artifacts/lab12/bonus/bonus.done
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bonus_done
1 change: 1 addition & 0 deletions labs/artifacts/lab12/bonus/cloud-cold-average-seconds.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.757594
5 changes: 5 additions & 0 deletions labs/artifacts/lab12/bonus/cloud-cold-runs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
0.752950
0.756390
0.762791
0.749956
0.765884
1 change: 1 addition & 0 deletions labs/artifacts/lab12/bonus/cloud-warm-average-seconds.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.780523
5 changes: 5 additions & 0 deletions labs/artifacts/lab12/bonus/cloud-warm-runs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
0.752099
0.754617
0.768045
0.846931
0.780923
1 change: 1 addition & 0 deletions labs/artifacts/lab12/bonus/local-average-seconds.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.004143
1 change: 1 addition & 0 deletions labs/artifacts/lab12/bonus/local-ready.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
local_ready_after=3s
5 changes: 5 additions & 0 deletions labs/artifacts/lab12/bonus/local-runs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
0.006804
0.004565
0.003138
0.002993
0.003215
9 changes: 9 additions & 0 deletions labs/artifacts/lab12/bonus/spin-app-info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "moscow-time-krasand-lab12-0512224300",
"description": "Same main.go everywhere",
"url": "https://moscow-time-krasand-lab12-0512224300-18hw0skj.fermyon.app",
"domainInfo": {
"domain": "moscow-time-krasand-lab12-0512224300-18hw0skj.fermyon.app",
"validationFinished": true
}
}
1 change: 1 addition & 0 deletions labs/artifacts/lab12/bonus/spin-cloud-api-time.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"moscow_time":"2026-05-12 22:51:48 MSK","timestamp":1778615508}
1 change: 1 addition & 0 deletions labs/artifacts/lab12/bonus/spin-deploy-time-seconds.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24.85
6 changes: 6 additions & 0 deletions labs/artifacts/lab12/bonus/spin-deploy.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Uploading moscow-time-krasand-lab12-0512224300 version 1.0.0 to Fermyon Cloud...
Deploying...
Waiting for application to become ready........ ready

View application: https://moscow-time-krasand-lab12-0512224300-18hw0skj.fermyon.app/
Manage application: https://cloud.fermyon.com/app/moscow-time-krasand-lab12-0512224300
82 changes: 82 additions & 0 deletions labs/artifacts/lab12/bonus/spin-install.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
Step 1: Downloading: https://github.com/spinframework/spin/releases/download/v3.6.3/spin-v3.6.3-linux-amd64.tar.gz
Done...

Step 2: Decompressing: spin-v3.6.3-linux-amd64.tar.gz
crt.pem
spin.sig
README.md
LICENSE
spin
spin 3.6.3 (88d51cf 2026-04-09)
Done...

Step 3: Removing the downloaded tarball
Done...

Step 4: Installing default templates
Copying remote template source
Installing template http-zig...
Installing template static-fileserver...
Installing template redis-rust...
Installing template http-rust-wasip3-unstable...
Installing template redirect...
Installing template http-empty...
Installing template http-php...
Installing template http-rust...
Installing template redis-go...
Installing template http-grain...
Installing template http-go...
Installing template http-c...
Installed 12 template(s)

+------------------------------------------------------------------------------------------+
| Name Description |
+==========================================================================================+
| http-c HTTP request handler using C and the Zig toolchain |
| http-empty HTTP application with no components |
| http-go HTTP request handler using (Tiny)Go |
| http-grain HTTP request handler using Grain |
| http-php HTTP request handler using PHP |
| http-rust HTTP request handler using Rust |
| http-rust-wasip3-unstable WASIp3 HTTP request handler using Rust (0.3.0-rc-2025-09-16) |
| http-zig HTTP request handler using Zig |
| redirect Redirects a HTTP route |
| redis-go Redis message handler using (Tiny)Go |
| redis-rust Redis message handler using Rust |
| static-fileserver Serves static files from an asset directory |
+------------------------------------------------------------------------------------------+
Copying remote template source
Installing template http-py...
Installed 1 template(s)

+---------------------------------------------+
| Name Description |
+=============================================+
| http-py HTTP request handler using Python |
+---------------------------------------------+
Copying remote template source
Installing template http-ts...
Installing template http-js...
Installing template redis-ts...
Installing template redis-js...
Installed 4 template(s)

+---------------------------------------------------+
| Name Description |
+===================================================+
| http-js HTTP request handler using JavaScript |
| http-ts HTTP request handler using TypeScript |
| redis-js Redis message handler using JavaScript |
| redis-ts Redis message handler using TypeScript |
+---------------------------------------------------+
Step 5: Installing default plugins
Plugin information updated successfully
Plugin 'cloud' was installed successfully!

Description:
Commands for publishing applications to the Fermyon Cloud.

Homepage:
https://github.com/fermyon/cloud-plugin
You're good to go. Check here for the next steps: https://spinframework.dev/quickstart
Run './spin' to get started
5 changes: 5 additions & 0 deletions labs/artifacts/lab12/bonus/spin-login-status.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"url": "https://cloud.fermyon.com/",
"danger_accept_invalid_certs": false,
"expiration": "2026-05-12T20:00:59Z"
}
7 changes: 7 additions & 0 deletions labs/artifacts/lab12/bonus/spin-up-local.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Logging component stdio to ".spin/logs/"
Preparing Wasm modules is taking a few seconds...


Serving http://127.0.0.1:13000
Available Routes:
moscow-time: http://127.0.0.1:13000 (wildcard)
1 change: 1 addition & 0 deletions labs/artifacts/lab12/bonus/spin-url.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://moscow-time-krasand-lab12-0512224300-18hw0skj.fermyon.app
1 change: 1 addition & 0 deletions labs/artifacts/lab12/bonus/spin-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
spin 3.6.3 (88d51cf 2026-04-09)
14 changes: 14 additions & 0 deletions labs/artifacts/lab12/bonus/spin.cloud.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
spin_manifest_version = 2

[application]
name = "moscow-time-krasand-lab12-0512224300"
version = "1.0.0"
description = "Same main.go everywhere"

[[trigger.http]]
route = "/..."
component = "moscow-time"
executor = { type = "wagi" } # <— key line: use WAGI executor

[component.moscow-time]
source = "main.wasm"
1 change: 1 addition & 0 deletions labs/artifacts/lab12/buildx-create-builder.log
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
wasm-builder
14 changes: 14 additions & 0 deletions labs/artifacts/lab12/buildx-inspect-bootstrap.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#1 [internal] booting buildkit
#1 pulling image moby/buildkit:buildx-stable-1
#1 pulling image moby/buildkit:buildx-stable-1 96.1s done
#1 creating container buildx_buildkit_wasm-builder0
#1 creating container buildx_buildkit_wasm-builder0 7.9s done
#1 DONE 104.0s
Name: wasm-builder
Driver: docker-container
Last Activity: 2026-05-12 18:52:45 +0000 UTC

Nodes:
Name: wasm-builder0
Endpoint: unix:///var/run/docker.sock
Error: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.51/containers/buildx_buildkit_wasm-builder0/json": context deadline exceeded
1 change: 1 addition & 0 deletions labs/artifacts/lab12/buildx-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github.com/docker/buildx 0.30.1 0.30.1-0ubuntu1~24.04.1
1 change: 1 addition & 0 deletions labs/artifacts/lab12/containerd-active.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
active
Loading