Skip to content

Commit

Permalink
(ci): ko configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
kameshsampath committed Dec 5, 2023
1 parent bef2315 commit 4c6ab91
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ kos:
- "{{if not .Prerelease}}stable{{end}}"
creation_time: "{{.CommitTimestamp}}"
ko_data_creation_time: "{{.CommitTimestamp}}"
bare: true
preserve_import_paths: true
preserve_import_paths: false
base_import_paths: true
- id: todo-list
build: client
Expand All @@ -72,8 +71,7 @@ kos:
- "{{if not .Prerelease}}stable{{end}}"
creation_time: "{{.CommitTimestamp}}"
ko_data_creation_time: "{{.CommitTimestamp}}"
bare: true
preserve_import_paths: true
preserve_import_paths: false
base_import_paths: true

archives:
Expand Down
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,20 @@ services:
urls: ["http://redpanda-0:9644"]
ports:
- 8080:8080
depends_on:
- redpanda-0
todo-app:
container_name: todo-app-server
image: ghcr.io/kameshsampath/grpc-todo-app/server:v0.0.1
networks:
- redpanda_network
environment:
- PORT=9090
- BROKERS=redpanda-0:19092
- TOPICS=todo-list
- ENV=dev
- CONSUMER_GROUP_ID=grpc-todo-app
ports:
- 9090:9090
depends_on:
- redpanda-0

0 comments on commit 4c6ab91

Please sign in to comment.