Skip to content

Commit e03f561

Browse files
committed
Rename to parrot server
1 parent 8f3a11d commit e03f561

File tree

12 files changed

+18
-18
lines changed

12 files changed

+18
-18
lines changed

mockserver/Dockerfile

Lines changed: 0 additions & 3 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
22
version: 1
3-
project_name: mockserver
3+
project_name: parrotserver
44

55
monorepo:
6-
tag_prefix: mockserver/
7-
dir: mockserver
6+
tag_prefix: parrotserver/
7+
dir: parrotserver
88

99
env:
1010
- IMG_PRE={{ if index .Env "IMAGE_PREFIX" }}{{ .Env.IMAGE_PREFIX }}{{ else }}local{{ end }}
1111
- TAG={{ if index .Env "IMAGE_TAG" }}{{ .Env.IMAGE_TAG }}{{ else }}latest{{ end }}
1212

1313
# Build settings for binaries
1414
builds:
15-
- id: mockserver
15+
- id: parrotserver
1616
goos:
1717
- linux
1818
- darwin
@@ -26,25 +26,25 @@ archives:
2626
- format: binary
2727

2828
dockers:
29-
- id: linux-amd64-mockserver
29+
- id: linux-amd64-parrotserver
3030
goos: linux
3131
goarch: amd64
3232
image_templates:
33-
- '{{ .Env.IMG_PRE }}/mockserver:{{ .Tag }}'
34-
- "{{ .Env.IMG_PRE }}/mockserver:latest"
33+
- '{{ .Env.IMG_PRE }}/parrotserver:{{ .Tag }}'
34+
- "{{ .Env.IMG_PRE }}/parrotserver:latest"
3535
build_flag_templates:
3636
- --platform=linux/amd64
3737
- --pull
3838
- --label=org.opencontainers.image.created={{.Date}}
3939
- --label=org.opencontainers.image.title={{.ProjectName}}
4040
- --label=org.opencontainers.image.revision={{.FullCommit}}
4141
- --label=org.opencontainers.image.version={{.Version}}
42-
- id: linux-arm64-mockserver
42+
- id: linux-arm64-parrotserver
4343
goos: linux
4444
goarch: arm64
4545
image_templates:
46-
- '{{ .Env.IMG_PRE }}/mockserver:{{ .Tag }}-arm64'
47-
- "{{ .Env.IMG_PRE }}/mockserver:latest-arm64"
46+
- '{{ .Env.IMG_PRE }}/parrotserver:{{ .Tag }}-arm64'
47+
- "{{ .Env.IMG_PRE }}/parrotserver:latest-arm64"
4848
build_flag_templates:
4949
- --platform=linux/arm64
5050
- --pull
@@ -55,4 +55,4 @@ dockers:
5555

5656
before:
5757
hooks:
58-
- cd mockserver && go mod tidy
58+
- cd parrotserver && go mod tidy

parrotserver/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM scratch
2+
COPY parrotserver /parrotserver
3+
ENTRYPOINT [ "parrotserver" ]
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Mockserver
1+
# Parrot Server
22

3-
A simple, high-performing mockserver that can dynamically build new routes with customized responses.
3+
A simple, high-performing mockserver that can dynamically build new routes with customized responses, parroting back whatever you tell it to.
44

55
## Use
66

@@ -76,7 +76,7 @@ Benchmark run on an Apple M3 Max.
7676
```sh
7777
goos: darwin
7878
goarch: arm64
79-
pkg: github.com/smartcontractkit/chainlink-testing-framework/mockserver
79+
pkg: github.com/smartcontractkit/chainlink-testing-framework/parrotserver
8080
BenchmarkRegisterRoute-14 604978 1967 ns/op 6263 B/op 29 allocs/op
8181
BenchmarkRouteResponse-14 16561670 70.62 ns/op 80 B/op 1 allocs/op
8282
BenchmarkSaveRoutes-14 1245 956784 ns/op 636042 B/op 2014 allocs/op
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/smartcontractkit/mockserver
1+
module github.com/smartcontractkit/parrotserver
22

33
go 1.23.2
44

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)