Here is the usual output when nothing happens. It would be great to have some sort of timeout flag, I have to nuke the hanging build with kill -9
other wise:
➜ sixemojistories git:(main) ✗ fly launch
An existing fly.toml file was found for app crimson-darkness-7079
? Would you like to copy its configuration to the new app? Yes
Creating app in /Users/rsas/elixir/sixemojistories
Scanning source code
Detected a Dockerfile app
? App Name (leave blank to use an auto-generated name):
Automatically selected personal organization: Raimondas Sasnauskas
? Select region: fra (Frankfurt, Germany)
Created app broken-surf-6799 in organization personal
Wrote config file fly.toml
? Would you like to deploy now? No
Your app is ready. Deploy with `flyctl deploy`
➜ sixemojistories git:(main) ✗ LOG_LEVEL=debug DOCKER_BUILDKIT=1 fly deploy --remote-only
DEBUG Loaded flyctl config from/Users/rsas/.fly/config.yml
DEBUG determined hostname: "MacBook"
DEBUG determined working directory: "/Users/rsas/elixir/sixemojistories"
DEBUG determined user home directory: "/Users/rsas"
DEBUG determined config directory: "/Users/rsas/.fly"
DEBUG cache loaded.
DEBUG config initialized.
DEBUG initialized task manager.
DEBUG skipped querying for new release
DEBUG client initialized.
DEBUG app config loaded from /Users/rsas/elixir/sixemojistories/fly.toml
==> Verifying app config
--> Verified app config
==> Building image
DEBUG trying remote docker daemon
DEBUG Reporting buildDEBUG --> POST https://api.fly.io/graphql {{"query":"mutation($input: StartSourceBuildInput!) { startSourceBuild(input: $input) { sourceBuild { id } } }","variables":{"input":{"appId":"broken-surf-6799"}}}
}
DEBUG <-- 200 https://api.fly.io/graphql (1.27s) {"errors":[{"message":"StartSourceBuildInput isn't a defined input type (on $input)","locations":[{"line":1,"column":10}],"path":["mutation"],"extensions":{"code":"variableRequiresValidType","typeName":"StartSourceBuildInput","variableName":"input"}},{"message":"Field 'startSourceBuild' doesn't exist on type 'Mutations'","locations":[{"line":1,"column":44}],"path":["mutation","startSourceBuild"],"extensions":{"code":"undefinedField","typeName":"Mutations","fieldName":"startSourceBuild"}},{"message":"Variable $input is declared by anonymous mutation but not used","locations":[{"line":1,"column":1}],"path":["mutation"],"extensions":{"code":"variableNotUsed","variableName":"input"}}]}
DEBUG Failed storing buildDEBUG Trying 'Buildpacks' strategy
DEBUG no buildpack builder configured, skipping
DEBUG result image:<nil> error:<nil>
DEBUG Trying 'Dockerfile' strategy
DEBUG --> POST https://api.fly.io/graphql {{"query":"mutation($input: EnsureMachineRemoteBuilderInput!) { ensureMachineRemoteBuilder(input: $input) { machine { id state ips { nodes { family kind ip } } }, app { name organization { slug } } } }","variables":{"input":{"appName":"broken-surf-6799","organizationId":null}}}
}
DEBUG <-- 200 https://api.fly.io/graphql (2.15s) {"data":{"ensureMachineRemoteBuilder":{"machine":{"id":"6733ae29","state":"starting","ips":{"nodes":[{"family":"v6","kind":"privatenet","ip":"fdaa:0:43a4:a7b:23c4:0:7cb4:2"},{"family":"v6","kind":"public","ip":"2604:1380:4091:3601::7cb4:3"},{"family":"v4","kind":"private","ip":"172.19.2.162"}]}},"app":{"name":"fly-builder-twilight-star-9444","organization":{"slug":"personal"}}}}}
DEBUG checking ip &{Family:v6 Kind:privatenet IP:fdaa:0:43a4:a7b:23c4:0:7cb4:2 MaskSize:0}
Waiting for remote builder fly-builder-twilight-star-9444... connecting ⣾ DEBUG --> POST https://api.fly.io/graphql {{"query":"query ($appName: String!) { app(name: $appName) { id name hostname deployed status version appUrl config { definition } organization { id slug } services { description protocol internalPort ports { port handlers } } ipAddresses { nodes { id address type createdAt } } imageDetails { repository version } } }","variables":{"appName":"broken-surf-6799"}}
}
Waiting for remote builder fly-builder-twilight-star-9444... connecting ⣻ DEBUG <-- 200 https://api.fly.io/graphql (610.69ms) {"data":{"app":{"id":"broken-surf-6799","name":"broken-surf-6799","hostname":"broken-surf-6799.fly.dev","deployed":false,"status":"pending","version":0,"appUrl":null,"config":{"definition":{"kill_timeout":5,"kill_signal":"SIGINT","processes":[],"experimental":{"allowed_public_ports":[],"auto_rollback":true},"services":[{"processes":["app"],"protocol":"tcp","internal_port":8080,"concurrency":{"soft_limit":20,"hard_limit":25,"type":"connections"},"ports":[{"port":80,"handlers":["http"]},{"port":443,"handlers":["tls","http"]}],"tcp_checks":[{"interval":"15s","timeout":"2s","grace_period":"1s","restart_limit":0}],"http_checks":[],"script_checks":[]}],"env":{}}},"organization":{"id":"G1B7JG6wPDBq0I8b8yRl4q9RlQUPkK","slug":"personal"},"services":[{"description":"TCP 80/443 ⇢ 8080","protocol":"TCP","internalPort":8080,"ports":[{"port":80,"handlers":["HTTP"]},{"port":443,"handlers":["TLS","HTTP"]}]}],"ipAddresses":{"nodes":[]},"imageDetails":{"repository":"unknown","version":"unknown"}}}}
DEBUG --> POST https://api.fly.io/graphql {{"query":"mutation($input: ValidateWireGuardPeersInput!) { validateWireGuardPeers(input: $input) { invalidPeerIps } }","variables":{"input":{"peerIps":["fdaa:0:43a4:a7b:163a:0:a:2"]}}}
}
DEBUG <-- 200 https://api.fly.io/graphql (131.13ms) {"data":{"validateWireGuardPeers":{"invalidPeerIps":[]}}}
Waiting for remote builder fly-builder-twilight-star-9444... connecting ⡿ DEBUG Remote builder available, but pinging again in 200ms to be sure
Waiting for remote builder fly-builder-twilight-star-9444... connecting ⣟ DEBUG Remote builder available, but pinging again in 234.601696ms to be sure
Waiting for remote builder fly-builder-twilight-star-9444... connecting ⣯ DEBUG Remote builder available, but pinging again in 268.734918ms to be sure
Waiting for remote builder fly-builder-twilight-star-9444... connecting ⣷ DEBUG Remote builder available, but pinging again in 224.582463ms to be sure
Waiting for remote builder fly-builder-twilight-star-9444... connecting ⣾ DEBUG Remote builder is ready to build!
Remote builder fly-builder-twilight-star-9444 ready
==> Creating build context
--> Creating build context done
DEBUG fetching docker server info
==> Building image with Docker
--> docker host: 20.10.12 linux x86_64
DEBUG buildkitEnabled%!!(MISSING)(EXTRA bool=true)Sending build context to Docker daemon 324.6kB
[+] Building 15.7s (0/1)
=> [internal] load remote build context 15.7s