File tree Expand file tree Collapse file tree
tests/testdata/buf.build/connectrpc Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ *
2+ ! Dockerfile
Original file line number Diff line number Diff line change 1+ # syntax=docker/dockerfile:1.22
2+ FROM swift:6.3.0-bookworm@sha256:943bb41624442cef8ccca256f1ff7830ce25209cbad88ebfede0aaef268a8a80 AS build
3+
4+ WORKDIR /app
5+ RUN apt-get update \
6+ && apt-get install -y libstdc++-12-dev
7+ RUN git clone --depth 1 --branch 1.2.2 https://github.com/connectrpc/connect-swift
8+ WORKDIR /app/connect-swift
9+ RUN swift build -c release --product protoc-gen-connect-swift-mocks --static-swift-stdlib -Xlinker -s
10+
11+ FROM gcr.io/distroless/cc-debian13:latest@sha256:e1cc90d06703f5dc30ae869fbfce78fce688f21a97efecd226375233a882e62f AS base
12+
13+ FROM scratch
14+ COPY --link --from=base / /
15+ COPY --link --from=build /app/connect-swift/.build/release/protoc-gen-connect-swift-mocks .
16+ USER nobody
17+ ENTRYPOINT [ "/protoc-gen-connect-swift-mocks" ]
Original file line number Diff line number Diff line change 1+ version : v1
2+ name : buf.build/connectrpc/swift-mocks
3+ plugin_version : v1.2.2
4+ source_url : https://github.com/connectrpc/connect-swift
5+ description : Generates mocks that are compatible with Connect-Swift clients.
6+ deps :
7+ - plugin : buf.build/apple/swift:v1.36.1
8+ - plugin : buf.build/connectrpc/swift:v1.2.2
9+ output_languages :
10+ - swift
11+ registry :
12+ swift :
13+ deps :
14+ - source : https://github.com/connectrpc/connect-swift.git
15+ package : connect-swift
16+ version : 1.2.2
17+ products :
18+ - ConnectMocks
19+ platforms :
20+ macos : v10_15
21+ ios : v12
22+ tvos : v13
23+ watchos : v6
24+ swift_versions :
25+ - .v5
26+ - .v6
27+ opts :
28+ - Visibility=Public
29+ - FileNaming=PathToUnderscores
30+ spdx_license_id : Apache-2.0
31+ license_url : https://github.com/connectrpc/connect-swift/blob/1.2.2/LICENSE
32+ integration_guide_url : https://connectrpc.com/docs/swift/testing
Original file line number Diff line number Diff line change 1+ *
2+ ! Dockerfile
Original file line number Diff line number Diff line change 1+ # syntax=docker/dockerfile:1.22
2+ FROM swift:6.3.0-bookworm@sha256:943bb41624442cef8ccca256f1ff7830ce25209cbad88ebfede0aaef268a8a80 AS build
3+
4+ WORKDIR /app
5+ RUN apt-get update \
6+ && apt-get install -y libstdc++-12-dev
7+ RUN git clone --depth 1 --branch 1.2.2 https://github.com/connectrpc/connect-swift
8+ WORKDIR /app/connect-swift
9+ RUN swift build -c release --product protoc-gen-connect-swift --static-swift-stdlib -Xlinker -s
10+
11+ FROM gcr.io/distroless/cc-debian13:latest@sha256:e1cc90d06703f5dc30ae869fbfce78fce688f21a97efecd226375233a882e62f AS base
12+
13+ FROM scratch
14+ COPY --link --from=base / /
15+ COPY --link --from=build /app/connect-swift/.build/release/protoc-gen-connect-swift .
16+ USER nobody
17+ ENTRYPOINT [ "/protoc-gen-connect-swift" ]
Original file line number Diff line number Diff line change 1+ version : v1
2+ name : buf.build/connectrpc/swift
3+ plugin_version : v1.2.2
4+ source_url : https://github.com/connectrpc/connect-swift
5+ description : Idiomatic gRPC & Connect RPCs for Swift.
6+ deps :
7+ - plugin : buf.build/apple/swift:v1.36.1
8+ output_languages :
9+ - swift
10+ registry :
11+ swift :
12+ deps :
13+ - source : https://github.com/connectrpc/connect-swift.git
14+ package : connect-swift
15+ version : 1.2.2
16+ products :
17+ - Connect
18+ platforms :
19+ macos : v10_15
20+ ios : v12
21+ tvos : v13
22+ watchos : v6
23+ swift_versions :
24+ - .v5
25+ - .v6
26+ opts :
27+ - Visibility=Public
28+ - FileNaming=PathToUnderscores
29+ spdx_license_id : Apache-2.0
30+ license_url : https://github.com/connectrpc/connect-swift/blob/1.2.2/LICENSE
31+ integration_guide_url : https://connectrpc.com/docs/swift/getting-started
Original file line number Diff line number Diff line change 1+ h1:IFskm5Iu3LzqVRrv3i09NlJdy7N8s00Wymd+jnu80yI=
Original file line number Diff line number Diff line change 1+ h1:24C0oBcfopWOWEbwUeY4S5TimRpKlB8ESoS2UjINjm4=
Original file line number Diff line number Diff line change 1+ h1:6osQB7bm0YcckpFxzK/xT2Cvj9mECNDCM+8WJxW8qI8=
Original file line number Diff line number Diff line change 1+ h1:0ab7wntSWxsB1ZdQOvDzZOhtiTMzeKpUqXf2GQ7VeYw=
You can’t perform that action at this time.
0 commit comments