mongo-replica-initializer/.woodpecker

12 lines
263 B
Text
Raw Normal View History

2024-05-13 07:56:32 +00:00
steps:
build:
when:
event: [push, pull_request]
2024-05-16 08:51:38 +00:00
image: docker.io/library/ubuntu:noble
2024-05-13 07:56:32 +00:00
commands:
2024-05-16 09:32:41 +00:00
- mkdir /opt/my-mongo
2024-05-16 08:04:37 +00:00
- apt update
2024-05-16 08:38:20 +00:00
- apt install -y ca-certificates curl golang
2024-05-13 07:56:32 +00:00
- go get
- go build
2024-05-16 10:33:04 +00:00
- ./main -v