@omer-x/buttler 1.4.0 → 2.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +76 -6
- package/bin/cli.js +160 -59
- package/drizzle/20261105041530_awesome_spiral/migration.sql +6 -0
- package/drizzle/20261105041530_awesome_spiral/snapshot.json +64 -0
- package/drizzle/20261108004152_overconfident_gunslinger/migration.sql +6 -0
- package/drizzle/20261108004152_overconfident_gunslinger/snapshot.json +117 -0
- package/drizzle/20261109034417_nervous_namora/migration.sql +27 -0
- package/drizzle/20261109034417_nervous_namora/snapshot.json +333 -0
- package/drizzle/20261124013742_medical_rhodey/migration.sql +2 -0
- package/drizzle/20261124013742_medical_rhodey/snapshot.json +353 -0
- package/drizzle/20261124075450_wooden_moondragon/migration.sql +9 -0
- package/drizzle/20261124075450_wooden_moondragon/snapshot.json +430 -0
- package/drizzle/20261124131152_greedy_betty_ross/migration.sql +7 -0
- package/drizzle/20261124131152_greedy_betty_ross/snapshot.json +498 -0
- package/drizzle/20261125085214_blushing_the_liberteens/migration.sql +8 -0
- package/drizzle/20261125085214_blushing_the_liberteens/snapshot.json +571 -0
- package/package.json +47 -44
- package/ui/.next/BUILD_ID +1 -1
- package/ui/.next/app-path-routes-manifest.json +21 -9
- package/ui/.next/build-manifest.json +147 -23
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/admin.js +30 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/auth-context.js +19 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/backoff-timeout.js +209 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/call-credentials.js +163 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/call-interface.js +100 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/call-number.js +24 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/call.js +152 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/certificate-provider.js +141 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/channel-credentials.js +431 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/channel-options.js +73 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/channel.js +68 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/channelz.js +599 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/client-interceptors.js +434 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/client.js +433 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/compression-algorithms.js +26 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/compression-filter.js +307 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/connectivity-state.js +28 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/constants.js +64 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/control-plane-status.js +42 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/deadline.js +110 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/duration.js +74 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/environment.js +23 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/error.js +40 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/events.js +19 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/experimental.js +58 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/filter-stack.js +82 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/filter.js +38 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/channelz.js +3 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Any.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/BoolValue.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/BytesValue.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/DescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/DoubleValue.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Duration.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Edition.js +19 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/EnumDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/EnumOptions.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/EnumValueDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/EnumValueOptions.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/ExtensionRangeOptions.js +10 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FeatureSet.js +56 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FeatureSetDefaults.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FieldDescriptorProto.js +32 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FieldOptions.js +36 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FileDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FileDescriptorSet.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FileOptions.js +11 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FloatValue.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/GeneratedCodeInfo.js +11 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Int32Value.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Int64Value.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/MessageOptions.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/MethodDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/MethodOptions.js +11 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/OneofDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/OneofOptions.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/ServiceDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/ServiceOptions.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/SourceCodeInfo.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/StringValue.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/SymbolVisibility.js +10 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Timestamp.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/UInt32Value.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/UInt64Value.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/UninterpretedOption.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Address.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Channel.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.js +14 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ChannelData.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ChannelRef.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ChannelTrace.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.js +15 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Channelz.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetChannelRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetChannelResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServerRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServerResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServersRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServersResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetSocketRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetSocketResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Security.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Server.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ServerData.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ServerRef.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Socket.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketData.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketOption.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketOptionLinger.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketRef.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Subchannel.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SubchannelRef.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/orca.js +3 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/AnyRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/BoolRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/BytesRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/DoubleRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/DurationRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/EnumRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/FieldRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/Fixed32Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/Fixed64Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/FloatRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/Int32Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/Int64Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/KnownRegex.js +19 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/MapRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/MessageRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/RepeatedRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/SFixed32Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/SFixed64Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/SInt32Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/SInt64Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/StringRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/TimestampRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/UInt32Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/UInt64Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/xds/data/orca/v3/OrcaLoadReport.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/xds/service/orca/v3/OpenRcaService.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/xds/service/orca/v3/OrcaLoadReportRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/http_proxy.js +274 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/index.js +148 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/internal-channel.js +677 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer-child-handler.js +151 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer-outlier-detection.js +571 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer-pick-first.js +514 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer-round-robin.js +204 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer-weighted-round-robin.js +392 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer.js +116 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancing-call.js +321 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/logging.js +129 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/make-client.js +143 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/metadata.js +277 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/object-stream.js +19 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/orca.js +323 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/picker.js +86 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/priority-queue.js +120 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolver-dns.js +363 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolver-ip.js +106 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolver-uds.js +51 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolver.js +89 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolving-call.js +345 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolving-load-balancer.js +312 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/retrying-call.js +768 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/server-call.js +226 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/server-credentials.js +314 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/server-interceptors.js +838 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/server.js +1651 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/service-config.js +430 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/single-subchannel-channel.js +233 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/status-builder.js +68 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/stream-decoder.js +100 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/subchannel-address.js +202 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/subchannel-call.js +606 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/subchannel-interface.js +114 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/subchannel-pool.js +137 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/subchannel.js +417 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/tls-helpers.js +34 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/transport.js +691 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/uri-parser.js +152 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/node_modules/@grpc/proto-loader/build/src/index.js +246 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/node_modules/@grpc/proto-loader/build/src/util.js +89 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/node_modules/@grpc/proto-loader/package.json +69 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/package.json +89 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/channelz.proto +564 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/protoc-gen-validate/LICENSE +202 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/protoc-gen-validate/validate/validate.proto +797 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/xds/LICENSE +201 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/xds/xds/data/orca/v3/orca_load_report.proto +58 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/xds/xds/service/orca/v3/orca.proto +36 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/config.js +135 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/container.js +1085 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/docker.js +1879 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/exec.js +139 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/image.js +279 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/network.js +171 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/node.js +135 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/plugin.js +372 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/proto/auth.proto +54 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/secret.js +134 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/service.js +183 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/session.js +63 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/task.js +97 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/util.js +106 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/volume.js +90 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/.travis.yml +6 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/LICENSE +21 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/README.md +165 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/index.js +363 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/package.json +41 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/a/hello.txt +1 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/b/a/test.txt +1 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/e/file +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/index.js +346 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-stream/extract.js +257 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-stream/headers.js +295 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-stream/index.js +2 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-stream/pack.js +255 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-stream/package.json +58 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/index.js +104 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/max.js +7 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/md5.js +17 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/native.js +11 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/nil.js +7 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/parse.js +44 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/regex.js +7 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/rng.js +17 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/sha1.js +17 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/stringify.js +38 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v1.js +131 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v1ToV6.js +26 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v3.js +11 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v35.js +63 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v4.js +32 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v5.js +11 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v6.js +38 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v6ToV1.js +26 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v7.js +152 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/validate.js +12 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/version.js +15 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/package.json +142 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/package.json +40 -0
- package/ui/.next/prerender-manifest.json +982 -12
- package/ui/.next/required-server-files.json +140 -84
- package/ui/.next/routes-manifest.json +325 -31
- package/ui/.next/server/app/[locale]/(auth)/install/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page/server-reference-manifest.json +115 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page.js +44 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page.js +29 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/page/server-reference-manifest.json +15 -0
- package/ui/.next/server/app/[locale]/(base)/page.js +31 -0
- package/ui/.next/server/app/[locale]/(base)/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/server-reference-manifest.json +185 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page.js +51 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/server-reference-manifest.json +185 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page.js +50 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/server-reference-manifest.json +185 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page.js +51 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/server-reference-manifest.json +225 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page.js +53 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page/server-reference-manifest.json +165 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page.js +45 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/page/server-reference-manifest.json +35 -0
- package/ui/.next/server/app/[locale]/(base)/services/page.js +42 -0
- package/ui/.next/server/app/[locale]/(base)/services/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page/server-reference-manifest.json +125 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page.js +46 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/install.html +0 -0
- package/ui/.next/server/app/[locale]/install.meta +47 -0
- package/ui/.next/server/app/[locale]/install.segments/$d$locale/!KGF1dGgp/install/__PAGE__.segment.rsc +40 -0
- package/ui/.next/server/app/[locale]/install.segments/_full.segment.rsc +41 -0
- package/ui/.next/server/app/[locale]/install.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/[locale]/login.html +0 -0
- package/ui/.next/server/app/[locale]/login.meta +47 -0
- package/ui/.next/server/app/[locale]/login.segments/$d$locale/!KGF1dGgp/login/__PAGE__.segment.rsc +40 -0
- package/ui/.next/server/app/[locale]/login.segments/_full.segment.rsc +39 -0
- package/ui/.next/server/app/[locale]/login.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/[locale]/services/[id]/builds.html +0 -0
- package/ui/.next/server/app/[locale]/services/[id]/builds.meta +57 -0
- package/ui/.next/server/app/[locale]/services/[id]/builds.segments/$d$locale/!KGJhc2Up/services/$d$id/builds/__PAGE__.segment.rsc +44 -0
- package/ui/.next/server/app/[locale]/services/[id]/builds.segments/_full.segment.rsc +45 -0
- package/ui/.next/server/app/[locale]/services/[id]/builds.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/[locale]/services/[id]/logs.html +0 -0
- package/ui/.next/server/app/[locale]/services/[id]/logs.meta +57 -0
- package/ui/.next/server/app/[locale]/services/[id]/logs.segments/$d$locale/!KGJhc2Up/services/$d$id/logs/__PAGE__.segment.rsc +45 -0
- package/ui/.next/server/app/[locale]/services/[id]/logs.segments/_full.segment.rsc +45 -0
- package/ui/.next/server/app/[locale]/services/[id]/logs.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/[locale]/services/[id]/settings.html +0 -0
- package/ui/.next/server/app/[locale]/services/[id]/settings.meta +57 -0
- package/ui/.next/server/app/[locale]/services/[id]/settings.segments/$d$locale/!KGJhc2Up/services/$d$id/settings/__PAGE__.segment.rsc +45 -0
- package/ui/.next/server/app/[locale]/services/[id]/settings.segments/_full.segment.rsc +45 -0
- package/ui/.next/server/app/[locale]/services/[id]/settings.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/[locale]/services/[id].html +0 -0
- package/ui/.next/server/app/[locale]/services/[id].meta +52 -0
- package/ui/.next/server/app/[locale]/services/[id].segments/$d$locale/!KGJhc2Up/services/$d$id/__PAGE__.segment.rsc +41 -0
- package/ui/.next/server/app/[locale]/services/[id].segments/_full.segment.rsc +45 -0
- package/ui/.next/server/app/[locale]/services/[id].segments/_tree.segment.rsc +8 -0
- package/ui/.next/server/app/[locale]/services/new.html +0 -0
- package/ui/.next/server/app/[locale]/services/new.meta +52 -0
- package/ui/.next/server/app/[locale]/services/new.segments/$d$locale/!KGJhc2Up/services/new/__PAGE__.segment.rsc +40 -0
- package/ui/.next/server/app/[locale]/services/new.segments/_full.segment.rsc +41 -0
- package/ui/.next/server/app/[locale]/services/new.segments/_tree.segment.rsc +8 -0
- package/ui/.next/server/app/[locale]/services.html +0 -0
- package/ui/.next/server/app/[locale]/services.meta +47 -0
- package/ui/.next/server/app/[locale]/services.segments/$d$locale/!KGJhc2Up/services/__PAGE__.segment.rsc +51 -0
- package/ui/.next/server/app/[locale]/services.segments/_full.segment.rsc +55 -0
- package/ui/.next/server/app/[locale]/services.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/[locale]/settings.html +0 -0
- package/ui/.next/server/app/[locale]/settings.meta +47 -0
- package/ui/.next/server/app/[locale]/settings.segments/$d$locale/!KGJhc2Up/settings/__PAGE__.segment.rsc +39 -0
- package/ui/.next/server/app/[locale]/settings.segments/_full.segment.rsc +39 -0
- package/ui/.next/server/app/[locale]/settings.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/[locale].html +0 -0
- package/ui/.next/server/app/[locale].meta +42 -0
- package/ui/.next/server/app/[locale].segments/$d$locale/!KGJhc2Up/__PAGE__.segment.rsc +37 -0
- package/ui/.next/server/app/[locale].segments/_full.segment.rsc +38 -0
- package/ui/.next/server/app/[locale].segments/_tree.segment.rsc +6 -0
- package/ui/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/_global-error/page/build-manifest.json +22 -0
- package/ui/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/_global-error/page.js +13 -0
- package/ui/.next/server/app/_global-error/page.js.map +5 -0
- package/ui/.next/server/app/_global-error/page.js.nft.json +1 -0
- package/ui/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/_global-error.html +1 -0
- package/ui/.next/server/app/_global-error.meta +30 -0
- package/ui/.next/server/app/_global-error.rsc +29 -0
- package/ui/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +29 -0
- package/ui/.next/server/app/_global-error.segments/_full.segment.rsc +29 -0
- package/ui/.next/server/app/_global-error.segments/_tree.segment.rsc +2 -0
- package/ui/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/_not-found/page/build-manifest.json +22 -0
- package/ui/.next/server/app/_not-found/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/_not-found/page.js +15 -2
- package/ui/.next/server/app/_not-found/page.js.map +5 -0
- package/ui/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/ui/.next/server/app/_not-found/page_client-reference-manifest.js +3 -1
- package/ui/.next/server/app/_not-found.html +1 -1
- package/ui/.next/server/app/_not-found.meta +27 -0
- package/ui/.next/server/app/_not-found.rsc +31 -24
- package/ui/.next/server/app/_not-found.segments/_full.segment.rsc +32 -0
- package/ui/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +33 -0
- package/ui/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -0
- package/ui/.next/server/app/api/db/backup/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/api/db/backup/route/build-manifest.json +12 -0
- package/ui/.next/server/app/api/db/backup/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/api/db/backup/route.js +15 -1
- package/ui/.next/server/app/api/db/backup/route.js.map +5 -0
- package/ui/.next/server/app/api/db/backup/route.js.nft.json +1 -1
- package/ui/.next/server/app/api/db/backup/route_client-reference-manifest.js +3 -1
- package/ui/.next/server/app/api/services/[id]/logs/stream/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route/build-manifest.json +12 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route/server-reference-manifest.json +25 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route.js +21 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route.js.map +5 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route.js.nft.json +1 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route/build-manifest.json +12 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route.js +15 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route.js.map +5 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route.js.nft.json +1 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/api/sources/github/branches/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/api/sources/github/branches/route/build-manifest.json +12 -0
- package/ui/.next/server/app/api/sources/github/branches/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/api/sources/github/branches/route.js +19 -0
- package/ui/.next/server/app/api/sources/github/branches/route.js.map +5 -0
- package/ui/.next/server/app/api/sources/github/branches/route.js.nft.json +1 -0
- package/ui/.next/server/app/api/sources/github/branches/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/api/sources/github/repos/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/api/sources/github/repos/route/build-manifest.json +12 -0
- package/ui/.next/server/app/api/sources/github/repos/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/api/sources/github/repos/route.js +19 -0
- package/ui/.next/server/app/api/sources/github/repos/route.js.map +5 -0
- package/ui/.next/server/app/api/sources/github/repos/route.js.nft.json +1 -0
- package/ui/.next/server/app/api/sources/github/repos/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/auth/cloudflare/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/auth/cloudflare/route/build-manifest.json +12 -0
- package/ui/.next/server/app/auth/cloudflare/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/auth/cloudflare/route.js +21 -0
- package/ui/.next/server/app/auth/cloudflare/route.js.map +5 -0
- package/ui/.next/server/app/auth/cloudflare/route.js.nft.json +1 -0
- package/ui/.next/server/app/auth/cloudflare/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/auth/github/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/auth/github/route/build-manifest.json +12 -0
- package/ui/.next/server/app/auth/github/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/auth/github/route.js +13 -0
- package/ui/.next/server/app/auth/github/route.js.map +5 -0
- package/ui/.next/server/app/auth/github/route.js.nft.json +1 -0
- package/ui/.next/server/app/auth/github/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/auth/github-install/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/auth/github-install/route/build-manifest.json +12 -0
- package/ui/.next/server/app/auth/github-install/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/auth/github-install/route.js +15 -0
- package/ui/.next/server/app/auth/github-install/route.js.map +5 -0
- package/ui/.next/server/app/auth/github-install/route.js.nft.json +1 -0
- package/ui/.next/server/app/auth/github-install/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/auth/instance/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/auth/instance/route/build-manifest.json +12 -0
- package/ui/.next/server/app/auth/instance/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/auth/instance/route.js +12 -0
- package/ui/.next/server/app/auth/instance/route.js.map +5 -0
- package/ui/.next/server/app/auth/instance/route.js.nft.json +1 -0
- package/ui/.next/server/app/auth/instance/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/auth/setup/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/auth/setup/route/build-manifest.json +12 -0
- package/ui/.next/server/app/auth/setup/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/auth/setup/route.js +13 -0
- package/ui/.next/server/app/auth/setup/route.js.map +5 -0
- package/ui/.next/server/app/auth/setup/route.js.nft.json +1 -0
- package/ui/.next/server/app/auth/setup/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/en/install.html +1 -0
- package/ui/.next/server/app/en/install.meta +47 -0
- package/ui/.next/server/app/en/install.segments/$d$locale/!KGF1dGgp/install/__PAGE__.segment.rsc +36 -0
- package/ui/.next/server/app/en/install.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/install.segments/_full.segment.rsc +46 -0
- package/ui/.next/server/app/en/install.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/en/login.html +1 -0
- package/ui/.next/server/app/en/login.meta +47 -0
- package/ui/.next/server/app/en/login.segments/$d$locale/!KGF1dGgp/login/__PAGE__.segment.rsc +36 -0
- package/ui/.next/server/app/en/login.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/login.segments/_full.segment.rsc +45 -0
- package/ui/.next/server/app/en/login.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/en/services/[id]/builds.html +1 -0
- package/ui/.next/server/app/en/services/[id]/builds.meta +58 -0
- package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale/!KGJhc2Up/services/$d$id/builds/__PAGE__.segment.rsc +47 -0
- package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale/!KGJhc2Up.segment.rsc +33 -0
- package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services/[id]/builds.segments/_full.segment.rsc +73 -0
- package/ui/.next/server/app/en/services/[id]/builds.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/en/services/[id]/logs.html +1 -0
- package/ui/.next/server/app/en/services/[id]/logs.meta +58 -0
- package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale/!KGJhc2Up/services/$d$id/logs/__PAGE__.segment.rsc +48 -0
- package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale/!KGJhc2Up.segment.rsc +34 -0
- package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services/[id]/logs.segments/_full.segment.rsc +74 -0
- package/ui/.next/server/app/en/services/[id]/logs.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/en/services/[id]/settings.html +1 -0
- package/ui/.next/server/app/en/services/[id]/settings.meta +58 -0
- package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale/!KGJhc2Up/services/$d$id/settings/__PAGE__.segment.rsc +48 -0
- package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale/!KGJhc2Up.segment.rsc +34 -0
- package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services/[id]/settings.segments/_full.segment.rsc +75 -0
- package/ui/.next/server/app/en/services/[id]/settings.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/en/services/[id].html +1 -0
- package/ui/.next/server/app/en/services/[id].meta +53 -0
- package/ui/.next/server/app/en/services/[id].segments/$d$locale/!KGJhc2Up/services/$d$id/__PAGE__.segment.rsc +45 -0
- package/ui/.next/server/app/en/services/[id].segments/$d$locale/!KGJhc2Up.segment.rsc +33 -0
- package/ui/.next/server/app/en/services/[id].segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services/[id].segments/_full.segment.rsc +74 -0
- package/ui/.next/server/app/en/services/[id].segments/_tree.segment.rsc +8 -0
- package/ui/.next/server/app/en/services/new.html +1 -0
- package/ui/.next/server/app/en/services/new.meta +53 -0
- package/ui/.next/server/app/en/services/new.segments/$d$locale/!KGJhc2Up/services/new/__PAGE__.segment.rsc +44 -0
- package/ui/.next/server/app/en/services/new.segments/$d$locale/!KGJhc2Up.segment.rsc +33 -0
- package/ui/.next/server/app/en/services/new.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services/new.segments/_full.segment.rsc +69 -0
- package/ui/.next/server/app/en/services/new.segments/_tree.segment.rsc +8 -0
- package/ui/.next/server/app/en/services.html +1 -0
- package/ui/.next/server/app/en/services.meta +48 -0
- package/ui/.next/server/app/en/services.segments/$d$locale/!KGJhc2Up/services/__PAGE__.segment.rsc +42 -0
- package/ui/.next/server/app/en/services.segments/$d$locale/!KGJhc2Up.segment.rsc +32 -0
- package/ui/.next/server/app/en/services.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services.segments/_full.segment.rsc +73 -0
- package/ui/.next/server/app/en/services.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/en/settings.html +1 -0
- package/ui/.next/server/app/en/settings.meta +48 -0
- package/ui/.next/server/app/en/settings.segments/$d$locale/!KGJhc2Up/settings/__PAGE__.segment.rsc +32 -0
- package/ui/.next/server/app/en/settings.segments/$d$locale/!KGJhc2Up.segment.rsc +33 -0
- package/ui/.next/server/app/en/settings.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/settings.segments/_full.segment.rsc +65 -0
- package/ui/.next/server/app/en/settings.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/en.html +1 -0
- package/ui/.next/server/app/en.meta +42 -0
- package/ui/.next/server/app/en.segments/$d$locale/!KGJhc2Up/__PAGE__.segment.rsc +45 -0
- package/ui/.next/server/app/en.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en.segments/_full.segment.rsc +62 -0
- package/ui/.next/server/app/en.segments/_tree.segment.rsc +6 -0
- package/ui/.next/server/app/webhooks/github/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/webhooks/github/route/build-manifest.json +12 -0
- package/ui/.next/server/app/webhooks/github/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/webhooks/github/route.js +20 -0
- package/ui/.next/server/app/webhooks/github/route.js.map +5 -0
- package/ui/.next/server/app/webhooks/github/route.js.nft.json +1 -0
- package/ui/.next/server/app/webhooks/github/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app-paths-manifest.json +21 -9
- package/ui/.next/server/chunks/1oeh_server_app_api_sources_github_branches_route_actions_1bw0q1bdnkb7k.js +3 -0
- package/ui/.next/server/chunks/[externals]__16n-vz_2p2541._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__04tl1dat3on_2._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0b1qz1hj0p20c._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0gh0uoxmttq-k._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0q_y890--33_5._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0seii5yz165qe._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0t-09tfm5-unm._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0t8cq-tdu7dt5._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0wtmvgs4b4a72._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__12udgfypv-16z._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__12uj0887q1ayr._.js +5 -0
- package/ui/.next/server/chunks/[root-of-the-server]__156dfvjma1155._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1lelc_ro6_mho._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1rf_6saum-z_d._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1scxqky7parj6._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1tnosm88zpozo._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1ukr105klaen2._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1w3vh-httwncf._.js +84 -0
- package/ui/.next/server/chunks/[turbopack]_runtime.js +935 -0
- package/ui/.next/server/chunks/_0-08w0j6upuro._.js +19 -0
- package/ui/.next/server/chunks/_0146k0if4moum._.js +3 -0
- package/ui/.next/server/chunks/_03halr20g-8bs._.js +3 -0
- package/ui/.next/server/chunks/_0c5m7ucsoah02._.js +3 -0
- package/ui/.next/server/chunks/_0etmci43pbufz._.js +57 -0
- package/ui/.next/server/chunks/_0fakz5bf_8pur._.js +3 -0
- package/ui/.next/server/chunks/_0fbnknqoj9au_._.js +3 -0
- package/ui/.next/server/chunks/_0gwhwrnj7ocnj._.js +3 -0
- package/ui/.next/server/chunks/_0karc_u8bb50q._.js +3 -0
- package/ui/.next/server/chunks/_0lw2g-1r5g45q._.js +3 -0
- package/ui/.next/server/chunks/_0nu_d29y_czf6._.js +54 -0
- package/ui/.next/server/chunks/_0ofjmpyvs6ul6._.js +3 -0
- package/ui/.next/server/chunks/_0xa0_ovy64zj7._.js +57 -0
- package/ui/.next/server/chunks/_0zkm9iridyfzh._.js +8 -0
- package/ui/.next/server/chunks/_14zlq9i7i3bl-._.js +3 -0
- package/ui/.next/server/chunks/_18xra6v5t_o45._.js +3 -0
- package/ui/.next/server/chunks/_1bh2nprq-awfy._.js +3 -0
- package/ui/.next/server/chunks/_1bq3sfcvzysrs._.js +3 -0
- package/ui/.next/server/chunks/_1ddptkvp76c-m._.js +9 -0
- package/ui/.next/server/chunks/_1duy_bxbcax0g._.js +9 -0
- package/ui/.next/server/chunks/_1hom9geso8mh2._.js +3 -0
- package/ui/.next/server/chunks/_1nlr92m-cxatd._.js +3 -0
- package/ui/.next/server/chunks/_1s6yh1-j0stln._.js +57 -0
- package/ui/.next/server/chunks/_1ux2nt1zdyn0-._.js +19 -0
- package/ui/.next/server/chunks/_205giqmll3u97._.js +3 -0
- package/ui/.next/server/chunks/_20a674o2515bv._.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_api_db_backup_route_actions_0g6ljpmyzdttd.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_api_sources_dockerhub_tags_route_actions_1vr86a4z3rit-.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_api_sources_github_repos_route_actions_0e5y8klzd2xng.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_auth_cloudflare_route_actions_0q3d2o-17kx4t.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_auth_github-install_route_actions_1gowzbw-w9t4k.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_auth_github_route_actions_1ve_5728pjjtf.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_auth_instance_route_actions_0y48n_s42d57t.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_auth_setup_route_actions_0b-lmtbiezknn.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_webhooks_github_route_actions_05ts0zz0_11y7.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_01thkjpd3ze1x._.js +16 -0
- package/ui/.next/server/chunks/node_modules_next_0br6x7vj8yluw._.js +16 -0
- package/ui/.next/server/chunks/node_modules_next_1lo724y0ayaf6._.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_dist_03bge59x-kx8t._.js +10 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0_7m9yc-1xbeb._.js +54 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0asya_d53xspt._.js +10 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0iktj_b1skihl._.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0n2og9jackhd2._.js +54 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0qad2-g67md1w._.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0v54j4d7kbf11._.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0w_6_3_nokpiu._.js +10 -0
- package/ui/.next/server/chunks/node_modules_next_dist_19okfwys7ask2._.js +54 -0
- package/ui/.next/server/chunks/node_modules_next_dist_1l2dhw9vnb27k._.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_dist_1n9spowd2r_5c._.js +54 -0
- package/ui/.next/server/chunks/node_modules_next_dist_1xbj516r0frq7._.js +3 -0
- package/ui/.next/server/chunks/src_0o62sbxgy6bsy._.js +57 -0
- package/ui/.next/server/chunks/src_1blp7j39u7nfe._.js +3 -0
- package/ui/.next/server/chunks/src_1gxoul9hz0c2d._.js +3 -0
- package/ui/.next/server/chunks/src_1jcil3p45z5jf._.js +3 -0
- package/ui/.next/server/chunks/src_1z80lrk153ij8._.js +57 -0
- package/ui/.next/server/chunks/src_211k8381ylin7._.js +3 -0
- package/ui/.next/server/chunks/src_core_01hbgvb0ullx2._.js +3 -0
- package/ui/.next/server/chunks/src_core_0s6ngauoj5p1n._.js +3 -0
- package/ui/.next/server/chunks/src_core_0ty7fxwao_is6._.js +3 -0
- package/ui/.next/server/chunks/src_core_1j6vv6o_pbisw._.js +3 -0
- package/ui/.next/server/chunks/src_core_build_ts_1w4o1q_gv2fnz._.js +5 -0
- package/ui/.next/server/chunks/src_core_cloudflare_domains_ts_0iceczzim091l._.js +3 -0
- package/ui/.next/server/chunks/src_core_cloudflare_tunnel_ts_089fv-f8qrsgc._.js +3 -0
- package/ui/.next/server/chunks/src_core_docker_ingress_ts_0k5y-exk0jujc._.js +3 -0
- package/ui/.next/server/chunks/src_core_docker_status_ts_0_sv17u6yx63t._.js +3 -0
- package/ui/.next/server/chunks/src_core_docker_tunnel_ts_0a1cq4o2gv4cz._.js +3 -0
- package/ui/.next/server/chunks/src_core_github_app_ts_1-ye9_ml2tj8-._.js +3 -0
- package/ui/.next/server/chunks/src_core_github_repos_ts_1mc-epu0z4enk._.js +3 -0
- package/ui/.next/server/chunks/src_core_nginx_ts_1bg68o99-jq87._.js +59 -0
- package/ui/.next/server/chunks/src_core_nginx_ts_1rvs3_6875ras._.js +59 -0
- package/ui/.next/server/chunks/src_core_settings_ts_0tp-oc1884iob._.js +3 -0
- package/ui/.next/server/chunks/src_core_settings_ts_1hcogi90bhvb7._.js +3 -0
- package/ui/.next/server/chunks/src_core_settings_ts_1mdt19mqp5pzi._.js +3 -0
- package/ui/.next/server/chunks/src_core_storage_ts_1tmiqzjak_i1r._.js +3 -0
- package/ui/.next/server/chunks/src_database_index_ts_1vzqbmlp-k92u._.js +26 -0
- package/ui/.next/server/chunks/src_operations_20gnjmon6t7yh._.js +3 -0
- package/ui/.next/server/chunks/ssr/1daa_@omer-x_tailwind-ui-kit_dist_components_dialog_AnimatedPopup_165_8l_656x7i.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__00sv8zxh_5jl1._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__05b3bu3znu9bo._.js +4 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__08-ebu_kqgbr-._.js +14 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__09xlfu5wytwkq._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0ai9eb5tkexh4._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0dm_kxgpszvv-._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0drv11-4w87e2._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0h97alnf636kr._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0hu_b5tmvame_._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0ktv4mwammozc._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0py1t7q9ntzgc._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0ql4zrbgrh_8x._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0wvwdlp9vkys_._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__132clfs6nokf6._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__14jml0yhiold9._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1_el7is2iy_-8._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1a91ucu_h_7kg._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1ca4vimwd_884._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1el9cow-18yf7._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1fz83aiqt1p_g._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1iy0cb7kzkjrq._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1jiq5wb0hvbag._.js +4 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1oppye8ve06rx._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1oyqb2s2p-4ad._.js +4 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1p_zg_jwhqsyk._.js +4 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1pb7oi97dnmzg._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1ttr-59q6kcbh._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1tujkrifmxs_p._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1xmh68o1ku99_._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1z04xod1llqqd._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__213i1nlxvmwk9._.js +3 -0
- package/ui/.next/server/chunks/ssr/[turbopack]_runtime.js +935 -0
- package/ui/.next/server/chunks/ssr/_0-wzn53wb0kys._.js +3 -0
- package/ui/.next/server/chunks/ssr/_00cc9bycztnxx._.js +3 -0
- package/ui/.next/server/chunks/ssr/_01e3rinj2_l0i._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0257bgoti-zpl._.js +3 -0
- package/ui/.next/server/chunks/ssr/_03mjbc5iu4-0t._.js +3 -0
- package/ui/.next/server/chunks/ssr/_03yw69lobi4lm._.js +3 -0
- package/ui/.next/server/chunks/ssr/_045ukfxgkrnjs._.js +3 -0
- package/ui/.next/server/chunks/ssr/_067n8rpbsh0bc._.js +3 -0
- package/ui/.next/server/chunks/ssr/_07ufozddb8s9r._.js +4 -0
- package/ui/.next/server/chunks/ssr/_08r9mb2mbnczy._.js +57 -0
- package/ui/.next/server/chunks/ssr/_0_qywkd_6kzqc._.js +16 -0
- package/ui/.next/server/chunks/ssr/_0bw_5lgeb32vn._.js +16 -0
- package/ui/.next/server/chunks/ssr/_0gthv16q_rqwx._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0i5-qw-3yy6gn._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0l5h_g6g26cch._.js +32 -0
- package/ui/.next/server/chunks/ssr/_0m7ajo-96czt3._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0nnq48ip-8ji-._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0nuq-e7fnuzxf._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0py52-ib4m58g._.js +8 -0
- package/ui/.next/server/chunks/ssr/_0q_ty5-s_ojhi._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0sid4-3pb734p._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0u-trbbp5y8mk._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0yfah9gezazo5._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0ymxsb_ki8zel._.js +57 -0
- package/ui/.next/server/chunks/ssr/_11hffrysj8ccd._.js +3 -0
- package/ui/.next/server/chunks/ssr/_11zzjiiyv_16p._.js +3 -0
- package/ui/.next/server/chunks/ssr/_12gl1cg0-6m84._.js +3 -0
- package/ui/.next/server/chunks/ssr/_12p0hrdhqcio6._.js +3 -0
- package/ui/.next/server/chunks/ssr/_14pr8k-21_dud._.js +19 -0
- package/ui/.next/server/chunks/ssr/_18ge21re3r-uk._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1975r9mjak44f._.js +3 -0
- package/ui/.next/server/chunks/ssr/_19w_0onn2cdmy._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1c9ja4120f5e7._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1cwumh2lem642._.js +4 -0
- package/ui/.next/server/chunks/ssr/_1czbl6nnvitkl._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1czfqaem07udj._.js +57 -0
- package/ui/.next/server/chunks/ssr/_1gxrg8g_1z61n._.js +9 -0
- package/ui/.next/server/chunks/ssr/_1hfss60b6ap9d._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1j5g-1pklmyv3._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1j_fg04_leqmf._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1jvwyvy2mdunl._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1kkyy_gbyr-bg._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1kpy3x-i93hmq._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1tcz5rcgonbsu._.js +3 -0
- package/ui/.next/server/chunks/ssr/_next-internal_server_app_[locale]_(auth)_install_page_actions_0q608mh34etxn.js +3 -0
- package/ui/.next/server/chunks/ssr/_next-internal_server_app_[locale]_(auth)_login_page_actions_1vlrup6n3cy9r.js +3 -0
- package/ui/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-psc_d2.js +3 -0
- package/ui/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yrisjoev.js +3 -0
- package/ui/.next/server/chunks/ssr/dictionaries_en_json_[json]_cjs_1pkm_n6uii6ve._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_0613afe-n-giu._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_09h9wf5os0vez._.js +23 -0
- package/ui/.next/server/chunks/ssr/node_modules_0bh4y86fdvx3u._.js +23 -0
- package/ui/.next/server/chunks/ssr/node_modules_0difw-6bio6t9._.js +5 -0
- package/ui/.next/server/chunks/ssr/node_modules_0m4futnh2n1n0._.js +23 -0
- package/ui/.next/server/chunks/ssr/node_modules_1-vjafv6x6e-0._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_16kqn5r2-3r66._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_19t6r27kxzb6-._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_1rlxdoxv0hxj9._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@base-ui_0qr8dwuv-esmv._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@base-ui_0wk9rvun80yi-._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@base-ui_react_toast_index_parts_mjs_1etbhn8k3xcr9._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@fortawesome_react-fontawesome_dist_index_0w8d9rk-bs6d1.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@omer-x_next-form-actions_dist_index_mjs_1c5mg0xduv-_v._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@omer-x_tailwind-ui-kit_dist_utils_cn_0ohi7kntyza4d.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_0x2abhyqy1255._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_1na_3hspfxjcn._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_0-amwqbrge23p._.js +6 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_0bz0l6wvy_f2l._.js +10 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_0veabqxxrw0ch._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_0z_oheoyvwq5g._.js +5 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_1c5t_vsn6u8fr._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_1jk4kd1etvl9x._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_1tv-t1m7txvh5._.js +10 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_1uapduyhelki_._.js +54 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_1yi9lobqsg0d0._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_client_components_0bew68i643j53._.js +33 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_0gv6bzf9otp9u._.js +33 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9mbf-fh.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0xky89qu.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_compiled_@edge-runtime_cookies_index_1kiz_an963mbg.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_compiled_@opentelemetry_api_index_1oy1nwhip-98t.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_08t62w__hb9s1._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_09w-_c8cnnbp-.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bgt3n50ngum7.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0i7he04se8idk.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0o_q-cl5t_j5y.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0r10zrxng849l.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1-ng_z96-b_1v.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_12x_y2ineb7-m.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_18-rk0s1mmvnl.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z4y02i7.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1a9etgsu8cjol.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1sv4vxjkyi7o7.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1zhkgdf7b9lnr.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_server_route-modules_app-page_vendored_1wzm776lz3ux_._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_1n1b_a2rq9puf.js +5 -0
- package/ui/.next/server/chunks/ssr/src_00htxlrowbzez._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_0204en52_8p3i._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_05sh4p2uehbos._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_0bnikiwqnj5ci._.js +59 -0
- package/ui/.next/server/chunks/ssr/src_0osnajz6l9y4w._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_0q7_3v3fnv20b._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_0unk8-b7ur6o4._.js +59 -0
- package/ui/.next/server/chunks/ssr/src_1f0ho9ewh9vke._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_1iyfq6dudriyk._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_1oiyj5tki7jmf._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_1qzgwz16tevm3._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_1spp4h7q0g3hj._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_actions_cloudflare_ts_0fwbybngp80nf._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_actions_service_ts_0leald8wxwln3._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_actions_setup_ts_1j3o9o1z2x8l-._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_actions_user_ts_15o74nrxk2-dn._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_app_[locale]_(auth)_layout_tsx_00_uxpi57fxpi._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_app_[locale]_(base)_services_[id]_builds_page_tsx_043p8qtyhmhg8._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_app_[locale]_(base)_services_[id]_page_tsx_0hd62fq604aua._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_app_[locale]_(base)_services_not-found_tsx_0rse1zgktynz7._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_app_[locale]_(base)_unauthorized_tsx_0euh0m224yi72._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_0dw7q_n_p1894._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_domains_1zedpj1shtch0._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_services_1ckwhi_x497s9._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_settings_03t8-861u9lau._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_settings_134gcfbqnn8ia._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_settings_1y90r_5ge35ie._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_02f6f7rscof07._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_0xquh5wh6_5p0._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_build_ts_137f9fwr3qgv8._.js +5 -0
- package/ui/.next/server/chunks/ssr/src_core_cloudflare_tunnel_ts_06ejjwtfxdagd._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_docker_builds_ts_189l3irnv_2va._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_docker_ingress_ts_0v7q2dx4d_gfp._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_docker_tunnel_ts_1805lsnks1qba._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_github_app_ts_0ylz626ookc1g._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_nginx_ts_0ddpkgw8r0osc._.js +3 -0
- package/ui/.next/server/functions-config-manifest.json +11 -1
- package/ui/.next/server/instrumentation.js +4 -1
- package/ui/.next/server/middleware-build-manifest.js +157 -1
- package/ui/.next/server/middleware-manifest.json +2 -2
- package/ui/.next/server/middleware.js +5 -0
- package/ui/.next/server/next-font-manifest.js +1 -1
- package/ui/.next/server/next-font-manifest.json +6 -1
- package/ui/.next/server/pages/404.html +1 -1
- package/ui/.next/server/pages/500.html +1 -1
- package/ui/.next/server/pages-manifest.json +2 -4
- package/ui/.next/server/prefetch-hints.json +300 -0
- package/ui/.next/server/preview-props.json +5 -0
- package/ui/.next/server/server-reference-manifest.js +1 -1
- package/ui/.next/server/server-reference-manifest.json +676 -1
- package/ui/.next/static/chunks/00r1p2nh1kipz.js +1 -0
- package/ui/.next/static/chunks/05gxa8tr690lu.js +1 -0
- package/ui/.next/static/chunks/08m3mlwdpjhqa.js +1 -0
- package/ui/.next/static/chunks/0er9dc_qscrpf.js +3 -0
- package/ui/.next/static/chunks/0wj0noag-9_fs.js +1 -0
- package/ui/.next/static/chunks/10m4ed4sinix2.js +1 -0
- package/ui/.next/static/chunks/1943uma78gvle.js +1 -0
- package/ui/.next/static/chunks/1hboyrpaz1yko.js +1 -0
- package/ui/.next/static/chunks/1k5vm6ry6wq60.js +22 -0
- package/ui/.next/static/chunks/1n7hyxug-qmmf.js +1 -0
- package/ui/.next/static/chunks/1pcw6gskne7pf.js +31 -0
- package/ui/.next/static/chunks/20od0wichpr35.js +1 -0
- package/ui/.next/static/chunks/29ff4faj7vef6.js +1 -0
- package/ui/.next/static/chunks/2dd4k9ts17atr.css +1 -0
- package/ui/.next/static/chunks/2f8eqac26a_-k.js +3 -0
- package/ui/.next/static/chunks/2ickgswajvaz7.js +1 -0
- package/ui/.next/static/chunks/3-3jc4cqytds3.js +1 -0
- package/ui/.next/static/chunks/312l7hfxly56v.css +1 -0
- package/ui/.next/static/chunks/32vuew10abq29.js +1 -0
- package/ui/.next/static/chunks/33ycku3z0wxyz.js +1 -0
- package/ui/.next/static/chunks/35uvm9kv04fdr.js +1 -0
- package/ui/.next/static/chunks/39r-cmc0-jpz9.js +1 -0
- package/ui/.next/static/chunks/3htgsexlb92yb.js +1 -0
- package/ui/.next/static/chunks/41c3808a7as1l.js +1 -0
- package/ui/.next/static/chunks/turbopack-2u1d16houkiyo.js +1 -0
- package/ui/.next/static/v8Q5mbcaFRVQGsxQKUzYH/_buildManifest.js +11 -0
- package/ui/.next/static/v8Q5mbcaFRVQGsxQKUzYH/_clientMiddlewareManifest.js +6 -0
- package/ui/.next/static/v8Q5mbcaFRVQGsxQKUzYH/_ssgManifest.js +1 -0
- package/ui/package.json +47 -44
- package/ui/server.js +1 -1
- package/ui/src/core/access.test.ts +32 -0
- package/ui/src/core/access.ts +12 -0
- package/ui/src/core/auth-coverage.test.ts +99 -0
- package/ui/src/core/auth.test.ts +104 -0
- package/ui/src/core/auth.ts +58 -0
- package/ui/src/core/backup.ts +7 -0
- package/ui/src/core/build.test.ts +200 -0
- package/ui/src/core/build.ts +166 -0
- package/ui/src/core/cloudflare/client.test.ts +67 -0
- package/ui/src/core/cloudflare/client.ts +41 -0
- package/ui/src/core/cloudflare/connection.test.ts +134 -0
- package/ui/src/core/cloudflare/connection.ts +72 -0
- package/ui/src/core/cloudflare/domains.test.ts +463 -0
- package/ui/src/core/cloudflare/domains.ts +312 -0
- package/ui/src/core/cloudflare/errors.ts +26 -0
- package/ui/src/core/cloudflare/oauth.test.ts +108 -0
- package/ui/src/core/cloudflare/oauth.ts +111 -0
- package/ui/src/core/cloudflare/records.ts +118 -0
- package/ui/src/core/cloudflare/tunnel.test.ts +284 -0
- package/ui/src/core/cloudflare/tunnel.ts +174 -0
- package/ui/src/core/cloudflare/zones.ts +35 -0
- package/ui/src/core/config.ts +87 -0
- package/ui/src/core/console.ts +14 -0
- package/ui/src/core/docker/build-history.test.ts +153 -0
- package/ui/src/core/docker/build-history.ts +165 -0
- package/ui/src/core/docker/build-session.test.ts +88 -0
- package/ui/src/core/docker/build-session.ts +111 -0
- package/ui/src/core/docker/buildkit.test.ts +50 -0
- package/ui/src/core/docker/buildkit.ts +116 -0
- package/ui/src/core/docker/builds.test.ts +128 -0
- package/ui/src/core/docker/builds.ts +107 -0
- package/ui/src/core/docker/containers.ts +10 -0
- package/ui/src/core/docker/errors.ts +13 -0
- package/ui/src/core/docker/ingress.test.ts +304 -0
- package/ui/src/core/docker/ingress.ts +161 -0
- package/ui/src/core/docker/labels.ts +8 -0
- package/ui/src/core/docker/logs.test.ts +152 -0
- package/ui/src/core/docker/logs.ts +146 -0
- package/ui/src/core/docker/removal.test.ts +120 -0
- package/ui/src/core/docker/removal.ts +37 -0
- package/ui/src/core/docker/status.test.ts +525 -0
- package/ui/src/core/docker/status.ts +434 -0
- package/ui/src/core/docker/subnets.test.ts +38 -0
- package/ui/src/core/docker/subnets.ts +35 -0
- package/ui/src/core/docker/tunnel.test.ts +151 -0
- package/ui/src/core/docker/tunnel.ts +129 -0
- package/ui/src/core/docker.test.ts +33 -0
- package/ui/src/core/docker.ts +252 -0
- package/ui/src/core/dockerhub.test.ts +139 -0
- package/ui/src/core/dockerhub.ts +118 -0
- package/ui/src/core/domains.test.ts +87 -0
- package/ui/src/core/domains.ts +44 -0
- package/ui/src/core/env.ts +10 -0
- package/ui/src/core/environment-variables.test.ts +26 -0
- package/ui/src/core/environment-variables.ts +33 -0
- package/ui/src/core/git.test.ts +91 -0
- package/ui/src/core/git.ts +94 -0
- package/ui/src/core/github/app.test.ts +301 -0
- package/ui/src/core/github/app.ts +287 -0
- package/ui/src/core/github/client.test.ts +153 -0
- package/ui/src/core/github/client.ts +91 -0
- package/ui/src/core/github/errors.ts +68 -0
- package/ui/src/core/github/repos.test.ts +214 -0
- package/ui/src/core/github/repos.ts +303 -0
- package/ui/src/core/github/users.test.ts +134 -0
- package/ui/src/core/github/users.ts +74 -0
- package/ui/src/core/github/webhooks.test.ts +28 -0
- package/ui/src/core/github/webhooks.ts +26 -0
- package/ui/src/core/headers.ts +17 -0
- package/ui/src/core/home.ts +5 -0
- package/ui/src/core/log-file.ts +17 -0
- package/ui/src/core/mega.ts +15 -0
- package/ui/src/core/nginx-conf.test.ts +62 -0
- package/ui/src/core/nginx-conf.ts +97 -0
- package/ui/src/core/nginx.test.ts +418 -0
- package/ui/src/core/nginx.ts +264 -0
- package/ui/src/core/provider.ts +26 -0
- package/ui/src/core/queue.test.ts +27 -0
- package/ui/src/core/queue.ts +11 -0
- package/ui/src/core/reachability.test.ts +127 -0
- package/ui/src/core/reachability.ts +96 -0
- package/ui/src/core/redact.test.ts +31 -0
- package/ui/src/core/redact.ts +33 -0
- package/ui/src/core/secrets.test.ts +52 -0
- package/ui/src/core/secrets.ts +84 -0
- package/ui/src/core/service.ts +13 -0
- package/ui/src/core/session.test.ts +53 -0
- package/ui/src/core/session.ts +61 -0
- package/ui/src/core/settings.ts +25 -0
- package/ui/src/core/setup-code.test.ts +93 -0
- package/ui/src/core/setup-code.ts +53 -0
- package/ui/src/core/setup-progress.test.ts +78 -0
- package/ui/src/core/setup-progress.ts +47 -0
- package/ui/src/core/setup.test.ts +46 -0
- package/ui/src/core/setup.ts +21 -0
- package/ui/src/core/shared-state.test.ts +17 -0
- package/ui/src/core/shared-state.ts +9 -0
- package/ui/src/core/storage.ts +40 -0
- package/drizzle/0000_bored_night_thrasher.sql +0 -64
- package/drizzle/0001_colorful_punisher.sql +0 -1
- package/drizzle/0002_friendly_silver_samurai.sql +0 -1
- package/drizzle/0003_flaky_mac_gargan.sql +0 -12
- package/drizzle/0004_shocking_solo.sql +0 -6
- package/drizzle/0005_watery_stingray.sql +0 -1
- package/drizzle/meta/0000_snapshot.json +0 -444
- package/drizzle/meta/0001_snapshot.json +0 -451
- package/drizzle/meta/0002_snapshot.json +0 -459
- package/drizzle/meta/0003_snapshot.json +0 -458
- package/drizzle/meta/0004_snapshot.json +0 -503
- package/drizzle/meta/0005_snapshot.json +0 -510
- package/drizzle/meta/_journal.json +0 -48
- package/ui/.next/app-build-manifest.json +0 -127
- package/ui/.next/react-loadable-manifest.json +0 -1886
- package/ui/.next/server/app/api/logs/route.js +0 -1
- package/ui/.next/server/app/api/logs/route.js.nft.json +0 -1
- package/ui/.next/server/app/api/logs/route_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/index.html +0 -1
- package/ui/.next/server/app/index.meta +0 -7
- package/ui/.next/server/app/index.rsc +0 -25
- package/ui/.next/server/app/page.js +0 -2
- package/ui/.next/server/app/page.js.nft.json +0 -1
- package/ui/.next/server/app/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/services/[id]/databases/page.js +0 -2
- package/ui/.next/server/app/services/[id]/databases/page.js.nft.json +0 -1
- package/ui/.next/server/app/services/[id]/databases/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/services/[id]/edit/page.js +0 -2
- package/ui/.next/server/app/services/[id]/edit/page.js.nft.json +0 -1
- package/ui/.next/server/app/services/[id]/edit/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/services/[id]/networks/page.js +0 -2
- package/ui/.next/server/app/services/[id]/networks/page.js.nft.json +0 -1
- package/ui/.next/server/app/services/[id]/networks/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/services/[id]/page.js +0 -2
- package/ui/.next/server/app/services/[id]/page.js.nft.json +0 -1
- package/ui/.next/server/app/services/[id]/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/services/page.js +0 -2
- package/ui/.next/server/app/services/page.js.nft.json +0 -1
- package/ui/.next/server/app/services/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/settings/page.js +0 -23
- package/ui/.next/server/app/settings/page.js.nft.json +0 -1
- package/ui/.next/server/app/settings/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/settings.html +0 -1
- package/ui/.next/server/app/settings.meta +0 -7
- package/ui/.next/server/app/settings.rsc +0 -41
- package/ui/.next/server/app/webhook/route.js +0 -1
- package/ui/.next/server/app/webhook/route.js.nft.json +0 -1
- package/ui/.next/server/app/webhook/route_client-reference-manifest.js +0 -1
- package/ui/.next/server/chunks/232.js +0 -1
- package/ui/.next/server/chunks/277.js +0 -1
- package/ui/.next/server/chunks/278.js +0 -1
- package/ui/.next/server/chunks/312.js +0 -13
- package/ui/.next/server/chunks/371.js +0 -1
- package/ui/.next/server/chunks/525.js +0 -1
- package/ui/.next/server/chunks/548.js +0 -6
- package/ui/.next/server/chunks/572.js +0 -13
- package/ui/.next/server/chunks/629.js +0 -1
- package/ui/.next/server/chunks/639.js +0 -14
- package/ui/.next/server/chunks/645.js +0 -2
- package/ui/.next/server/chunks/704.js +0 -1
- package/ui/.next/server/chunks/765.js +0 -1
- package/ui/.next/server/chunks/812.js +0 -22
- package/ui/.next/server/chunks/828.js +0 -1
- package/ui/.next/server/chunks/916.js +0 -24
- package/ui/.next/server/chunks/97.js +0 -1
- package/ui/.next/server/chunks/989.js +0 -7
- package/ui/.next/server/middleware-react-loadable-manifest.js +0 -1
- package/ui/.next/server/pages/_app.js +0 -1
- package/ui/.next/server/pages/_app.js.nft.json +0 -1
- package/ui/.next/server/pages/_document.js +0 -1
- package/ui/.next/server/pages/_document.js.nft.json +0 -1
- package/ui/.next/server/pages/_error.js +0 -19
- package/ui/.next/server/pages/_error.js.nft.json +0 -1
- package/ui/.next/server/webpack-runtime.js +0 -1
- package/ui/.next/static/chunks/144-8a204921b344b88d.js +0 -1
- package/ui/.next/static/chunks/308-1786e4108a48fc40.js +0 -1
- package/ui/.next/static/chunks/354-ecf1651f22f66e6b.js +0 -1
- package/ui/.next/static/chunks/481-5c48e1bab31e0a16.js +0 -1
- package/ui/.next/static/chunks/4bd1b696-9911af18dede28aa.js +0 -1
- package/ui/.next/static/chunks/621-523092a27e62e70b.js +0 -1
- package/ui/.next/static/chunks/737-ac00aacc810a589c.js +0 -22
- package/ui/.next/static/chunks/779-84b014309936ad36.js +0 -1
- package/ui/.next/static/chunks/874-3e820bd666038662.js +0 -1
- package/ui/.next/static/chunks/940-be30824cb9a2e544.js +0 -1
- package/ui/.next/static/chunks/964-0106c4d7dd38ea3f.js +0 -1
- package/ui/.next/static/chunks/app/_not-found/page-0dd1356b87632665.js +0 -1
- package/ui/.next/static/chunks/app/api/db/backup/route-f18d0336ef92e5e1.js +0 -1
- package/ui/.next/static/chunks/app/api/logs/route-f18d0336ef92e5e1.js +0 -1
- package/ui/.next/static/chunks/app/layout-8d066a2b71bbbee5.js +0 -1
- package/ui/.next/static/chunks/app/page-f18d0336ef92e5e1.js +0 -1
- package/ui/.next/static/chunks/app/services/[id]/databases/page-4bc3f84e8cffd895.js +0 -1
- package/ui/.next/static/chunks/app/services/[id]/edit/page-ef1befa1c0830d85.js +0 -1
- package/ui/.next/static/chunks/app/services/[id]/networks/page-4bc3f84e8cffd895.js +0 -1
- package/ui/.next/static/chunks/app/services/[id]/page-31ee369cb0672284.js +0 -1
- package/ui/.next/static/chunks/app/services/page-6875cd9e54f6d86f.js +0 -1
- package/ui/.next/static/chunks/app/settings/page-961dd20502325d0a.js +0 -1
- package/ui/.next/static/chunks/app/webhook/route-f18d0336ef92e5e1.js +0 -1
- package/ui/.next/static/chunks/framework-65ef2e26b6c3f974.js +0 -1
- package/ui/.next/static/chunks/main-26962aaa6f86a105.js +0 -1
- package/ui/.next/static/chunks/main-app-444a2f56fb4e7ba5.js +0 -1
- package/ui/.next/static/chunks/pages/_app-9a33c34d98c288d7.js +0 -1
- package/ui/.next/static/chunks/pages/_error-f47c779418c1e822.js +0 -1
- package/ui/.next/static/chunks/webpack-63edacad3154cc11.js +0 -1
- package/ui/.next/static/css/001936a28cd34ad6.css +0 -1
- package/ui/.next/static/css/3b7050fdbfea86d9.css +0 -1
- package/ui/.next/static/css/52bb0cbf809c5673.css +0 -1
- package/ui/.next/static/css/565f4925fe90494c.css +0 -1
- package/ui/.next/static/rPmMds-_tNcXWRsvikBcV/_buildManifest.js +0 -1
- package/ui/.next/static/rPmMds-_tNcXWRsvikBcV/_ssgManifest.js +0 -1
- package/ui/src/components/BashLogs.tsx +0 -27
- package/ui/src/utils/parseEnvVariables.ts +0 -32
- /package/ui/.next/static/chunks/{polyfills-42372ed130431b0a.js → 0cz1d0mv5g_q7.js} +0 -0
- /package/ui/.next/static/media/{logo.d9d22550.png → logo.3_3wnbg_4_jdb.png} +0 -0
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import os from "node:os";
|
|
2
|
+
import { docker } from "~/core/docker";
|
|
3
|
+
import { createQueue } from "~/core/queue";
|
|
4
|
+
import db from "~/database";
|
|
5
|
+
import getServicesWithDomains from "~/operations/getServicesWithDomains";
|
|
6
|
+
import { REVERSE_PROXY_CONTAINER_NAME, isOwnContainer } from "./containers";
|
|
7
|
+
import { FORBIDDEN, NOT_FOUND, ignoreStatus } from "./errors";
|
|
8
|
+
import { BUTTLER_NETWORK_LABEL, BUTTLER_SERVICE_LABEL } from "./labels";
|
|
9
|
+
import { findFreeSubnet } from "./subnets";
|
|
10
|
+
import type Docker from "dockerode";
|
|
11
|
+
|
|
12
|
+
const INGRESS_NETWORK = "ingress";
|
|
13
|
+
|
|
14
|
+
/** The default pools of Docker run out at about 30 networks */
|
|
15
|
+
const SUBNET_POOL = "172.30.0.0/16";
|
|
16
|
+
const SUBNET_PREFIX = 28;
|
|
17
|
+
|
|
18
|
+
type IngressNetwork = Pick<Docker.NetworkInspectInfo, "Id" | "Name">;
|
|
19
|
+
|
|
20
|
+
/** Changes never overlap, otherwise they could pick the same subnet or undo each other */
|
|
21
|
+
const enqueue = createQueue("ingress-queue");
|
|
22
|
+
|
|
23
|
+
export function getIngressNetworkName(serviceId: string) {
|
|
24
|
+
return `buttler-ingress-${serviceId}`;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** The host name of a service for Nginx, it stays the same when the container is replaced */
|
|
28
|
+
export function getIngressAlias(serviceId: string) {
|
|
29
|
+
return `service-${serviceId}`;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/** Only returns the networks that are created by Buttler */
|
|
33
|
+
function listIngressNetworks(serviceId?: string) {
|
|
34
|
+
return docker.listNetworks({
|
|
35
|
+
filters: {
|
|
36
|
+
label: [
|
|
37
|
+
`${BUTTLER_NETWORK_LABEL}=${INGRESS_NETWORK}`,
|
|
38
|
+
...serviceId ? [`${BUTTLER_SERVICE_LABEL}=${serviceId}`] : [],
|
|
39
|
+
],
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
async function listUsedSubnets() {
|
|
45
|
+
const networks = await docker.listNetworks();
|
|
46
|
+
// Docker doesn't check the networks of the host for explicit subnets
|
|
47
|
+
const hostAddresses = Object.values(os.networkInterfaces()).flatMap(addresses => addresses ?? []);
|
|
48
|
+
return [
|
|
49
|
+
...networks.flatMap(network => network.IPAM?.Config ?? []).map(config => config.Subnet),
|
|
50
|
+
...hostAddresses.map(address => address.cidr),
|
|
51
|
+
].filter(subnet => typeof subnet === "string");
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
async function createIngressNetwork(serviceId: string): Promise<IngressNetwork> {
|
|
55
|
+
const name = getIngressNetworkName(serviceId);
|
|
56
|
+
const subnet = findFreeSubnet(SUBNET_POOL, SUBNET_PREFIX, await listUsedSubnets());
|
|
57
|
+
if (!subnet) {
|
|
58
|
+
throw new Error(`No free subnet left in ${SUBNET_POOL} for ${name}`);
|
|
59
|
+
}
|
|
60
|
+
const network = await docker.createNetwork({
|
|
61
|
+
Name: name,
|
|
62
|
+
Driver: "bridge",
|
|
63
|
+
// The containers keep reaching the outside through their other networks
|
|
64
|
+
Internal: true,
|
|
65
|
+
IPAM: {
|
|
66
|
+
Driver: "default",
|
|
67
|
+
Config: [{ Subnet: subnet }],
|
|
68
|
+
},
|
|
69
|
+
Labels: {
|
|
70
|
+
"com.docker.compose.project": "buttler",
|
|
71
|
+
[BUTTLER_NETWORK_LABEL]: INGRESS_NETWORK,
|
|
72
|
+
[BUTTLER_SERVICE_LABEL]: serviceId,
|
|
73
|
+
},
|
|
74
|
+
});
|
|
75
|
+
return { Id: network.id, Name: name };
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function getEndpoint(container: Docker.ContainerInfo, network: IngressNetwork) {
|
|
79
|
+
return container.NetworkSettings.Networks[network.Name] as Docker.EndpointSettings | undefined;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
async function connectContainer(network: IngressNetwork, container: Docker.ContainerInfo, aliases: string[]) {
|
|
83
|
+
if (getEndpoint(container, network)?.NetworkID === network.Id) return;
|
|
84
|
+
// The container may be replaced in the meantime, the new one is connected by its own deployment
|
|
85
|
+
await ignoreStatus(docker.getNetwork(network.Id).connect({
|
|
86
|
+
Container: container.Id,
|
|
87
|
+
EndpointConfig: { Aliases: aliases },
|
|
88
|
+
}), NOT_FOUND);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/** Returns the containers of the service, and the one of Nginx */
|
|
92
|
+
async function findMembers(serviceId: string) {
|
|
93
|
+
const containers = (await docker.listContainers({ all: true })).filter(container => container.State !== "removing");
|
|
94
|
+
return {
|
|
95
|
+
serviceContainers: containers.filter(container => isOwnContainer(container, serviceId)),
|
|
96
|
+
proxyContainers: containers.filter(container => container.Names.includes(`/${REVERSE_PROXY_CONTAINER_NAME}`)),
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
async function connect(serviceId: string) {
|
|
101
|
+
const networks = await listIngressNetworks(serviceId);
|
|
102
|
+
const network = networks.at(0) ?? await createIngressNetwork(serviceId);
|
|
103
|
+
const { serviceContainers, proxyContainers } = await findMembers(serviceId);
|
|
104
|
+
for (const container of serviceContainers) {
|
|
105
|
+
await connectContainer(network, container, [getIngressAlias(serviceId)]);
|
|
106
|
+
}
|
|
107
|
+
for (const container of proxyContainers) {
|
|
108
|
+
await connectContainer(network, container, []);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
async function disconnect(serviceId: string) {
|
|
113
|
+
const networks = await listIngressNetworks(serviceId);
|
|
114
|
+
if (networks.length === 0) return;
|
|
115
|
+
const { serviceContainers, proxyContainers } = await findMembers(serviceId);
|
|
116
|
+
for (const networkInfo of networks) {
|
|
117
|
+
const network = docker.getNetwork(networkInfo.Id);
|
|
118
|
+
for (const container of [...serviceContainers, ...proxyContainers]) {
|
|
119
|
+
if (!getEndpoint(container, networkInfo)) continue;
|
|
120
|
+
await ignoreStatus(network.disconnect({ Container: container.Id, Force: true }), NOT_FOUND);
|
|
121
|
+
}
|
|
122
|
+
// Networks that are used by containers from outside of Buttler are kept
|
|
123
|
+
await ignoreStatus(network.remove(), NOT_FOUND, FORBIDDEN);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
async function sync(serviceId: string, hasDomains: boolean) {
|
|
128
|
+
await (hasDomains ? connect(serviceId) : disconnect(serviceId));
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/** Connects a service to Nginx if it has a domain, otherwise removes the network between them */
|
|
132
|
+
export function syncIngressNetwork(serviceId: string): Promise<void> {
|
|
133
|
+
return enqueue(async () => {
|
|
134
|
+
// The domains may have changed while waiting for other changes
|
|
135
|
+
const serviceIds = await getServicesWithDomains(db);
|
|
136
|
+
await sync(serviceId, serviceIds.includes(serviceId));
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/** Syncs the networks of all services. A service that fails doesn't affect the others. */
|
|
141
|
+
export function syncIngressNetworks(): Promise<void> {
|
|
142
|
+
return enqueue(async () => {
|
|
143
|
+
const serviceIds = await getServicesWithDomains(db);
|
|
144
|
+
const networks = await listIngressNetworks();
|
|
145
|
+
// Networks of the services without a domain are leftovers
|
|
146
|
+
const networkOwners = networks.flatMap(network => network.Labels?.[BUTTLER_SERVICE_LABEL] ?? []);
|
|
147
|
+
for (const serviceId of new Set([...serviceIds, ...networkOwners])) {
|
|
148
|
+
try {
|
|
149
|
+
await sync(serviceId, serviceIds.includes(serviceId));
|
|
150
|
+
} catch (error) {
|
|
151
|
+
// eslint-disable-next-line no-console
|
|
152
|
+
console.error(`Failed to sync the ingress network of service ${serviceId}:`, error);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/** Removes the network of a service that is about to be deleted with its domains */
|
|
159
|
+
export function removeIngressNetwork(serviceId: string): Promise<void> {
|
|
160
|
+
return enqueue(() => disconnect(serviceId));
|
|
161
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export const BUTTLER_SERVICE_LABEL = "buttler.service-id";
|
|
2
|
+
export const BUTTLER_BRANCH_LABEL = "buttler.branch";
|
|
3
|
+
export const BUTTLER_COMMIT_LABEL = "buttler.commit";
|
|
4
|
+
export const BUTTLER_BUILT_AT_LABEL = "buttler.built-at";
|
|
5
|
+
/** Purpose of a network, the networks without it are not created by Buttler */
|
|
6
|
+
export const BUTTLER_NETWORK_LABEL = "buttler.network";
|
|
7
|
+
/** The tunnel that a cloudflared container runs */
|
|
8
|
+
export const BUTTLER_TUNNEL_LABEL = "buttler.tunnel-id";
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { PassThrough } from "node:stream";
|
|
2
|
+
import { describe, expect, it, vi } from "vitest";
|
|
3
|
+
import { type LogLine, LogParser, isContainerRunning, parseTimestamp, readContainerLogs } from "./logs";
|
|
4
|
+
import type Docker from "dockerode";
|
|
5
|
+
|
|
6
|
+
function frame(type: 1 | 2, content: Buffer | string) {
|
|
7
|
+
const payload = Buffer.from(content);
|
|
8
|
+
const header = Buffer.alloc(8);
|
|
9
|
+
header[0] = type;
|
|
10
|
+
header.writeUInt32BE(payload.length, 4);
|
|
11
|
+
return Buffer.concat([header, payload]);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
function mockContainer(output: PassThrough, hasTty = true) {
|
|
15
|
+
const logs = vi.fn().mockResolvedValue(output);
|
|
16
|
+
const inspect = vi.fn().mockResolvedValue({ Config: { Tty: hasTty }, State: { Running: true } });
|
|
17
|
+
return { container: { logs, inspect } as unknown as Docker.Container, logs };
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
async function collect(batches: AsyncGenerator<LogLine[], void>) {
|
|
21
|
+
const lines: LogLine[] = [];
|
|
22
|
+
for await (const batch of batches) lines.push(...batch);
|
|
23
|
+
return lines;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
describe("LogParser", () => {
|
|
27
|
+
it("should parse the timestamps of a raw stream", () => {
|
|
28
|
+
const parser = new LogParser(true);
|
|
29
|
+
expect(parser.push(Buffer.from("2026-11-24T10:00:00.000000001Z hello world\r\n"))).toEqual([
|
|
30
|
+
{ stream: "stdout", timestamp: "2026-11-24T10:00:00.000000001Z", text: "hello world" },
|
|
31
|
+
]);
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
it("should strip terminal escape sequences and keep plain brackets", () => {
|
|
35
|
+
const parser = new LogParser(true);
|
|
36
|
+
const lines = parser.push(Buffer.from("\u001b[32m✓\u001b[39m Ready\r\n[info] listening on [::]:3000\n"));
|
|
37
|
+
expect(lines.map(line => line.text)).toEqual(["✓ Ready", "[info] listening on [::]:3000"]);
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
it("should only keep what's visible after carriage returns", () => {
|
|
41
|
+
const parser = new LogParser(true);
|
|
42
|
+
expect(parser.push(Buffer.from("10%\r50%\r100%\r\n"))[0].text).toBe("100%");
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
it("should tell stdout and stderr apart", () => {
|
|
46
|
+
const parser = new LogParser(false);
|
|
47
|
+
expect(parser.push(Buffer.concat([frame(1, "fine\n"), frame(2, "broken\n")]))).toEqual([
|
|
48
|
+
{ stream: "stdout", timestamp: null, text: "fine" },
|
|
49
|
+
{ stream: "stderr", timestamp: null, text: "broken" },
|
|
50
|
+
]);
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
it("should handle frames and characters that are split between chunks", () => {
|
|
54
|
+
const parser = new LogParser(false);
|
|
55
|
+
const content = Buffer.from("çay\n");
|
|
56
|
+
const bytes = Buffer.concat([frame(1, content.subarray(0, 1)), frame(2, "x\n"), frame(1, content.subarray(1))]);
|
|
57
|
+
const lines = Array.from(bytes).flatMap(byte => parser.push(Buffer.from([byte])));
|
|
58
|
+
expect(lines.map(line => [line.stream, line.text])).toEqual([["stderr", "x"], ["stdout", "çay"]]);
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
it("should return the unfinished lines when it's flushed", () => {
|
|
62
|
+
const parser = new LogParser(true);
|
|
63
|
+
expect(parser.push(Buffer.from("no newline"))).toEqual([]);
|
|
64
|
+
expect(parser.flush().map(line => line.text)).toEqual(["no newline"]);
|
|
65
|
+
expect(parser.flush()).toEqual([]);
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
describe("parseTimestamp", () => {
|
|
70
|
+
it("should keep the nanoseconds", () => {
|
|
71
|
+
const first = parseTimestamp("2026-11-24T10:00:00.100000001Z");
|
|
72
|
+
const second = parseTimestamp("2026-11-24T10:00:00.100000002Z");
|
|
73
|
+
expect(second).toBe((first ?? BigInt(0)) + BigInt(1));
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
it("should treat the same moment in different forms as equal", () => {
|
|
77
|
+
const expected = parseTimestamp("2026-11-24T10:00:00.500000000Z");
|
|
78
|
+
expect(parseTimestamp("2026-11-24T10:00:00.5Z")).toBe(expected);
|
|
79
|
+
expect(parseTimestamp("2026-11-24T13:00:00.5+03:00")).toBe(expected);
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
it("should return null for anything else", () => {
|
|
83
|
+
expect(parseTimestamp("2026-11-24")).toBeNull();
|
|
84
|
+
expect(parseTimestamp("nonsense")).toBeNull();
|
|
85
|
+
expect(parseTimestamp("2026-13-45T10:00:00Z")).toBeNull();
|
|
86
|
+
});
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
describe("readContainerLogs", () => {
|
|
90
|
+
it("should read until the output ends", async () => {
|
|
91
|
+
const output = new PassThrough();
|
|
92
|
+
const { container, logs } = mockContainer(output);
|
|
93
|
+
output.end("first\nsecond");
|
|
94
|
+
const lines = await collect(readContainerLogs(container, { tail: 10, signal: new AbortController().signal }));
|
|
95
|
+
expect(lines.map(line => line.text)).toEqual(["first", "second"]);
|
|
96
|
+
expect(logs).toHaveBeenCalledWith(expect.objectContaining({ follow: true, timestamps: true, tail: 10 }));
|
|
97
|
+
expect(logs).toHaveBeenCalledWith(expect.not.objectContaining({ since: expect.anything() as unknown }));
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
it("should skip the lines that are already known", async () => {
|
|
101
|
+
const output = new PassThrough();
|
|
102
|
+
const { container, logs } = mockContainer(output);
|
|
103
|
+
output.end("2026-11-24T10:00:00.100000000Z old\n2026-11-24T10:00:00.200000000Z new\n");
|
|
104
|
+
const since = "2026-11-24T10:00:00.100000000Z";
|
|
105
|
+
const lines = await collect(readContainerLogs(container, { tail: 10, since, signal: new AbortController().signal }));
|
|
106
|
+
expect(lines.map(line => line.text)).toEqual(["new"]);
|
|
107
|
+
expect(logs).toHaveBeenCalledWith(expect.objectContaining({ since: Date.parse("2026-11-24T10:00:00Z") / 1000 }));
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
it.each([
|
|
111
|
+
"2026-11-24T10:00:00Z",
|
|
112
|
+
"2026-11-24T13:00:00+03:00",
|
|
113
|
+
])("should compare the lines with %s as a moment in time", async since => {
|
|
114
|
+
const output = new PassThrough();
|
|
115
|
+
const { container } = mockContainer(output);
|
|
116
|
+
output.end("2026-11-24T10:00:00.000000000Z old\n2026-11-24T10:00:00.100000000Z new\n");
|
|
117
|
+
const lines = await collect(readContainerLogs(container, { tail: 10, since, signal: new AbortController().signal }));
|
|
118
|
+
expect(lines.map(line => line.text)).toEqual(["new"]);
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
it("should close the output when it's aborted", async () => {
|
|
122
|
+
const output = new PassThrough();
|
|
123
|
+
const { container } = mockContainer(output);
|
|
124
|
+
const controller = new AbortController();
|
|
125
|
+
const batches = readContainerLogs(container, { tail: 10, signal: controller.signal });
|
|
126
|
+
output.write("first\n");
|
|
127
|
+
await batches.next();
|
|
128
|
+
const pending = batches.next();
|
|
129
|
+
controller.abort();
|
|
130
|
+
await expect(pending).resolves.toEqual({ done: true, value: undefined });
|
|
131
|
+
expect(output.destroyed).toBe(true);
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
it("should throw when the output fails", async () => {
|
|
135
|
+
const output = new PassThrough();
|
|
136
|
+
const { container } = mockContainer(output);
|
|
137
|
+
const pending = collect(readContainerLogs(container, { tail: 10, signal: new AbortController().signal }));
|
|
138
|
+
setImmediate(() => output.destroy(new Error("connection lost")));
|
|
139
|
+
await expect(pending).rejects.toThrow("connection lost");
|
|
140
|
+
});
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
describe("isContainerRunning", () => {
|
|
144
|
+
it("should return the state of the container", async () => {
|
|
145
|
+
await expect(isContainerRunning(mockContainer(new PassThrough()).container)).resolves.toBe(true);
|
|
146
|
+
});
|
|
147
|
+
|
|
148
|
+
it("should return false when the container is gone", async () => {
|
|
149
|
+
const container = { inspect: vi.fn().mockRejectedValue(new Error("no such container")) };
|
|
150
|
+
await expect(isContainerRunning(container as unknown as Docker.Container)).resolves.toBe(false);
|
|
151
|
+
});
|
|
152
|
+
});
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { addAbortSignal } from "node:stream";
|
|
2
|
+
import { stripVTControlCharacters } from "node:util";
|
|
3
|
+
import type Docker from "dockerode";
|
|
4
|
+
|
|
5
|
+
export type LogStreamName = "stdout" | "stderr";
|
|
6
|
+
|
|
7
|
+
export type LogLine = {
|
|
8
|
+
stream: LogStreamName,
|
|
9
|
+
/** RFC 3339 with nanoseconds */
|
|
10
|
+
timestamp: string | null,
|
|
11
|
+
text: string,
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export type ReadContainerLogsOptions = {
|
|
15
|
+
/** Number of the past lines to begin with */
|
|
16
|
+
tail: number,
|
|
17
|
+
/** Timestamp of the last known line, only newer lines are returned */
|
|
18
|
+
since?: string | null,
|
|
19
|
+
signal: AbortSignal,
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
const FRAME_HEADER_SIZE = 8;
|
|
23
|
+
const STDERR_FRAME = 2;
|
|
24
|
+
const TIMESTAMP_PATTERN = /^(\d{4}-\d{2}-\d{2}T[\d:.]+(?:Z|[+-]\d{2}:\d{2})) ?/;
|
|
25
|
+
const RFC3339_PATTERN = /^(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2})(?:\.(\d{1,9}))?(Z|[+-]\d{2}:\d{2})$/;
|
|
26
|
+
const NANOSECONDS_PER_MILLISECOND = BigInt(1_000_000);
|
|
27
|
+
const NANOSECONDS_PER_SECOND = BigInt(1_000_000_000);
|
|
28
|
+
|
|
29
|
+
/** Returns the nanoseconds since the epoch, or null if it's not an RFC 3339 timestamp */
|
|
30
|
+
export function parseTimestamp(timestamp: string): bigint | null {
|
|
31
|
+
const match = RFC3339_PATTERN.exec(timestamp);
|
|
32
|
+
if (!match) return null;
|
|
33
|
+
const [, dateTime, fraction = "", offset] = match as unknown as [string, string, string | undefined, string];
|
|
34
|
+
const milliseconds = Date.parse(dateTime + offset);
|
|
35
|
+
if (isNaN(milliseconds)) return null;
|
|
36
|
+
return (BigInt(milliseconds) * NANOSECONDS_PER_MILLISECOND) + BigInt(fraction.padEnd(9, "0"));
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function parseLine(stream: LogStreamName, rawLine: string): LogLine {
|
|
40
|
+
const timestamp = TIMESTAMP_PATTERN.exec(rawLine);
|
|
41
|
+
const content = timestamp ? rawLine.slice(timestamp[0].length) : rawLine;
|
|
42
|
+
// A carriage return moves the cursor back to the beginning, what's written before it is not visible
|
|
43
|
+
const visible = content.replace(/\r+$/, "").split("\r").at(-1) ?? "";
|
|
44
|
+
return {
|
|
45
|
+
stream,
|
|
46
|
+
timestamp: timestamp ? timestamp[1] : null,
|
|
47
|
+
text: stripVTControlCharacters(visible),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
class LineSplitter {
|
|
52
|
+
private readonly decoder = new TextDecoder();
|
|
53
|
+
private rest = "";
|
|
54
|
+
|
|
55
|
+
constructor(private readonly stream: LogStreamName) {}
|
|
56
|
+
|
|
57
|
+
push(chunk: Uint8Array): LogLine[] {
|
|
58
|
+
const lines = (this.rest + this.decoder.decode(chunk, { stream: true })).split("\n");
|
|
59
|
+
this.rest = lines.pop() ?? "";
|
|
60
|
+
return lines.map(line => parseLine(this.stream, line));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
flush(): LogLine[] {
|
|
64
|
+
const line = this.rest + this.decoder.decode();
|
|
65
|
+
this.rest = "";
|
|
66
|
+
return line ? [parseLine(this.stream, line)] : [];
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Docker multiplexes stdout and stderr as frames, unless the container has a TTY. Then there is
|
|
72
|
+
* only a raw stream, which is treated as stdout.
|
|
73
|
+
*/
|
|
74
|
+
export class LogParser {
|
|
75
|
+
private readonly stdout = new LineSplitter("stdout");
|
|
76
|
+
private readonly stderr = new LineSplitter("stderr");
|
|
77
|
+
private pending = Buffer.alloc(0);
|
|
78
|
+
|
|
79
|
+
constructor(private readonly hasTty: boolean) {}
|
|
80
|
+
|
|
81
|
+
push(chunk: Buffer): LogLine[] {
|
|
82
|
+
if (this.hasTty) return this.stdout.push(chunk);
|
|
83
|
+
|
|
84
|
+
const lines: LogLine[] = [];
|
|
85
|
+
let buffer = Buffer.concat([this.pending, chunk]);
|
|
86
|
+
while (buffer.length >= FRAME_HEADER_SIZE) {
|
|
87
|
+
const end = FRAME_HEADER_SIZE + buffer.readUInt32BE(4);
|
|
88
|
+
if (buffer.length < end) break;
|
|
89
|
+
const splitter = buffer[0] === STDERR_FRAME ? this.stderr : this.stdout;
|
|
90
|
+
lines.push(...splitter.push(buffer.subarray(FRAME_HEADER_SIZE, end)));
|
|
91
|
+
buffer = buffer.subarray(end);
|
|
92
|
+
}
|
|
93
|
+
this.pending = buffer;
|
|
94
|
+
return lines;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
flush(): LogLine[] {
|
|
98
|
+
return [...this.stdout.flush(), ...this.stderr.flush()];
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/** Follows the logs until the container stops or the signal is aborted. Batches are never empty. */
|
|
103
|
+
export async function * readContainerLogs(
|
|
104
|
+
container: Docker.Container,
|
|
105
|
+
{ tail, since, signal }: ReadContainerLogsOptions,
|
|
106
|
+
): AsyncGenerator<LogLine[], void> {
|
|
107
|
+
const sinceTime = since ? parseTimestamp(since) : null;
|
|
108
|
+
const { Config: config } = await container.inspect();
|
|
109
|
+
const output = await container.logs({
|
|
110
|
+
follow: true,
|
|
111
|
+
stdout: true,
|
|
112
|
+
stderr: true,
|
|
113
|
+
timestamps: true,
|
|
114
|
+
tail,
|
|
115
|
+
// It has a precision of seconds here, the rest is filtered below
|
|
116
|
+
...sinceTime === null ? {} : { since: Number(sinceTime / NANOSECONDS_PER_SECOND) },
|
|
117
|
+
});
|
|
118
|
+
addAbortSignal(signal, output);
|
|
119
|
+
|
|
120
|
+
const isNew = (line: LogLine) => {
|
|
121
|
+
if (sinceTime === null || !line.timestamp) return true;
|
|
122
|
+
const time = parseTimestamp(line.timestamp);
|
|
123
|
+
return time === null || time > sinceTime;
|
|
124
|
+
};
|
|
125
|
+
const parser = new LogParser(config.Tty);
|
|
126
|
+
try {
|
|
127
|
+
for await (const chunk of output) {
|
|
128
|
+
const lines = parser.push(chunk as Buffer).filter(isNew);
|
|
129
|
+
if (lines.length > 0) yield lines;
|
|
130
|
+
}
|
|
131
|
+
} catch (error) {
|
|
132
|
+
if (signal.aborted) return;
|
|
133
|
+
throw error;
|
|
134
|
+
}
|
|
135
|
+
const lastLines = parser.flush().filter(isNew);
|
|
136
|
+
if (lastLines.length > 0) yield lastLines;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export async function isContainerRunning(container: Docker.Container) {
|
|
140
|
+
try {
|
|
141
|
+
const { State: state } = await container.inspect();
|
|
142
|
+
return state.Running;
|
|
143
|
+
} catch {
|
|
144
|
+
return false;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { beforeEach, describe, expect, it, vi } from "vitest";
|
|
2
|
+
import { removeServiceContainers, removeServiceImages, removeVolumes } from "./removal";
|
|
3
|
+
|
|
4
|
+
const mocks = vi.hoisted(() => ({
|
|
5
|
+
listContainers: vi.fn(),
|
|
6
|
+
getContainer: vi.fn(),
|
|
7
|
+
getImage: vi.fn(),
|
|
8
|
+
getVolume: vi.fn(),
|
|
9
|
+
listServiceImages: vi.fn(),
|
|
10
|
+
stop: vi.fn(),
|
|
11
|
+
remove: vi.fn(),
|
|
12
|
+
}));
|
|
13
|
+
|
|
14
|
+
vi.mock("~/core/docker", () => ({
|
|
15
|
+
docker: {
|
|
16
|
+
listContainers: mocks.listContainers,
|
|
17
|
+
getContainer: mocks.getContainer,
|
|
18
|
+
getImage: mocks.getImage,
|
|
19
|
+
getVolume: mocks.getVolume,
|
|
20
|
+
},
|
|
21
|
+
}));
|
|
22
|
+
vi.mock("./builds", () => ({ listServiceImages: mocks.listServiceImages }));
|
|
23
|
+
|
|
24
|
+
const dockerError = (statusCode: number) => Object.assign(new Error(`status ${statusCode}`), { statusCode });
|
|
25
|
+
|
|
26
|
+
beforeEach(() => {
|
|
27
|
+
vi.resetAllMocks();
|
|
28
|
+
mocks.getContainer.mockReturnValue({ stop: mocks.stop, remove: mocks.remove });
|
|
29
|
+
mocks.getImage.mockReturnValue({ remove: mocks.remove });
|
|
30
|
+
mocks.getVolume.mockReturnValue({ remove: mocks.remove });
|
|
31
|
+
mocks.stop.mockResolvedValue(undefined);
|
|
32
|
+
mocks.remove.mockResolvedValue(undefined);
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
describe("removeServiceContainers", () => {
|
|
36
|
+
beforeEach(() => {
|
|
37
|
+
mocks.listContainers.mockResolvedValue([
|
|
38
|
+
{ Id: "labelled", Names: ["/renamed"], Labels: { "buttler.service-id": "srv" } },
|
|
39
|
+
{ Id: "named", Names: ["/buttler-service-srv"], Labels: {} },
|
|
40
|
+
{ Id: "other", Names: ["/buttler-service-other"], Labels: { "buttler.service-id": "other" } },
|
|
41
|
+
{ Id: "unrelated", Names: ["/postgres"], Labels: {} },
|
|
42
|
+
]);
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
it("should only remove the containers of the service", async () => {
|
|
46
|
+
await removeServiceContainers("srv");
|
|
47
|
+
expect(mocks.getContainer.mock.calls).toEqual([["labelled"], ["named"]]);
|
|
48
|
+
expect(mocks.remove).toHaveBeenCalledTimes(2);
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
it("should remove the containers that are already stopped", async () => {
|
|
52
|
+
mocks.stop.mockRejectedValue(dockerError(304));
|
|
53
|
+
await removeServiceContainers("srv");
|
|
54
|
+
expect(mocks.remove).toHaveBeenCalledTimes(2);
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
it("should ignore the containers that are already gone", async () => {
|
|
58
|
+
mocks.stop.mockRejectedValue(dockerError(404));
|
|
59
|
+
mocks.remove.mockRejectedValue(dockerError(404));
|
|
60
|
+
await expect(removeServiceContainers("srv")).resolves.toBeUndefined();
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
it("should fail if Docker fails", async () => {
|
|
64
|
+
mocks.remove.mockRejectedValue(dockerError(500));
|
|
65
|
+
await expect(removeServiceContainers("srv")).rejects.toThrow("status 500");
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
it("should fail if Docker is not available", async () => {
|
|
69
|
+
mocks.listContainers.mockRejectedValue(new Error("ECONNREFUSED"));
|
|
70
|
+
await expect(removeServiceContainers("srv")).rejects.toThrow("ECONNREFUSED");
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
describe("removeServiceImages", () => {
|
|
75
|
+
beforeEach(() => {
|
|
76
|
+
mocks.listServiceImages.mockResolvedValue([{ id: "sha256:new" }, { id: "sha256:old" }]);
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
it("should remove all images of the service", async () => {
|
|
80
|
+
await removeServiceImages("srv");
|
|
81
|
+
expect(mocks.listServiceImages).toHaveBeenCalledWith("srv");
|
|
82
|
+
expect(mocks.getImage.mock.calls).toEqual([["sha256:new"], ["sha256:old"]]);
|
|
83
|
+
expect(mocks.remove).toHaveBeenCalledTimes(2);
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
it.each([404, 409])("should go on after the status %i", async statusCode => {
|
|
87
|
+
mocks.remove.mockRejectedValueOnce(dockerError(statusCode));
|
|
88
|
+
await removeServiceImages("srv");
|
|
89
|
+
expect(mocks.remove).toHaveBeenCalledTimes(2);
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
it("should fail if Docker fails", async () => {
|
|
93
|
+
mocks.remove.mockRejectedValue(dockerError(500));
|
|
94
|
+
await expect(removeServiceImages("srv")).rejects.toThrow("status 500");
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
describe("removeVolumes", () => {
|
|
99
|
+
it("should remove each volume once", async () => {
|
|
100
|
+
await removeVolumes(["data", "cache", "data"]);
|
|
101
|
+
expect(mocks.getVolume.mock.calls).toEqual([["data"], ["cache"]]);
|
|
102
|
+
expect(mocks.remove).toHaveBeenCalledTimes(2);
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
it("should never touch the paths on the host", async () => {
|
|
106
|
+
await removeVolumes(["/srv/data", "../containers/app", "./data", "a/b"]);
|
|
107
|
+
expect(mocks.getVolume).not.toHaveBeenCalled();
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
it.each([404, 409])("should go on after the status %i", async statusCode => {
|
|
111
|
+
mocks.remove.mockRejectedValueOnce(dockerError(statusCode));
|
|
112
|
+
await removeVolumes(["data", "cache"]);
|
|
113
|
+
expect(mocks.remove).toHaveBeenCalledTimes(2);
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
it("should fail if Docker fails", async () => {
|
|
117
|
+
mocks.remove.mockRejectedValue(dockerError(500));
|
|
118
|
+
await expect(removeVolumes(["data"])).rejects.toThrow("status 500");
|
|
119
|
+
});
|
|
120
|
+
});
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { docker } from "~/core/docker";
|
|
2
|
+
import { listServiceImages } from "./builds";
|
|
3
|
+
import { isOwnContainer } from "./containers";
|
|
4
|
+
import { CONFLICT, NOT_FOUND, NOT_MODIFIED, ignoreStatus } from "./errors";
|
|
5
|
+
|
|
6
|
+
const volumeNamePattern = /^[a-zA-Z0-9][a-zA-Z0-9_.-]+$/;
|
|
7
|
+
|
|
8
|
+
/** Other names are either paths on the host, or not accepted by Docker */
|
|
9
|
+
export function isVolumeName(name: string) {
|
|
10
|
+
return volumeNamePattern.test(name);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/** Only removes the containers that are created by Buttler, a container with the name of the service may be unrelated */
|
|
14
|
+
export async function removeServiceContainers(serviceId: string) {
|
|
15
|
+
const containers = await docker.listContainers({ all: true });
|
|
16
|
+
for (const { Id: id } of containers.filter(info => isOwnContainer(info, serviceId))) {
|
|
17
|
+
const container = docker.getContainer(id);
|
|
18
|
+
await ignoreStatus(container.stop({ t: 10 }), NOT_MODIFIED, NOT_FOUND);
|
|
19
|
+
await ignoreStatus(container.remove({ force: true }), NOT_FOUND);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/** Removes the images that are built for a service, except the ones that other containers run */
|
|
24
|
+
export async function removeServiceImages(serviceId: string) {
|
|
25
|
+
for (const { id } of await listServiceImages(serviceId)) {
|
|
26
|
+
// Images with tags from different repositories (e.g. of a renamed service) can't be removed by their ID otherwise
|
|
27
|
+
await ignoreStatus(docker.getImage(id).remove({ force: true }), NOT_FOUND, CONFLICT);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/** Removes volumes with their data, except the ones that other containers use */
|
|
32
|
+
export async function removeVolumes(names: string[]) {
|
|
33
|
+
for (const name of new Set(names)) {
|
|
34
|
+
if (!isVolumeName(name)) continue;
|
|
35
|
+
await ignoreStatus(docker.getVolume(name).remove(), NOT_FOUND, CONFLICT);
|
|
36
|
+
}
|
|
37
|
+
}
|