Proper name for JSON format of snapshot record
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Sandbox renamed to dev in the deploy pipeline
This commit is contained in:
parent
dc478714bf
commit
03eb87d9dd
@ -28,12 +28,12 @@ services:
|
|||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: Sandbox deploy
|
name: Dev deploy
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
# image: golang:1.17-buster # this one is used in production
|
# image: golang:1.17-buster # this one is used in production
|
||||||
image: golang:1.17-bullseye # this one is used in sandbox
|
image: golang:1.17-bullseye # this one is used in dev
|
||||||
commands:
|
commands:
|
||||||
- go mod tidy
|
- go mod tidy
|
||||||
- make build
|
- make build
|
||||||
@ -80,7 +80,7 @@ name: Production deploy
|
|||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: golang:1.17-buster # this one is used in production
|
image: golang:1.17-buster # this one is used in production
|
||||||
#image: golang:1.17-bullseye # this one is used in sandbox
|
#image: golang:1.17-bullseye # this one is used in dev
|
||||||
commands:
|
commands:
|
||||||
- go mod tidy
|
- go mod tidy
|
||||||
- make build
|
- make build
|
||||||
|
@ -21,9 +21,9 @@ const keySplitCharacter = ":"
|
|||||||
|
|
||||||
// Snapshot contains metadata about a single snapshot
|
// Snapshot contains metadata about a single snapshot
|
||||||
type Snapshot struct {
|
type Snapshot struct {
|
||||||
AppName string
|
AppName string `json:"app_name"`
|
||||||
TimeStamp int64
|
TimeStamp int64 `json:"ts"`
|
||||||
Labels []string
|
Labels []string `json:"labels"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// SnapshotIndexLine is struct holding information about a single snapshot
|
// SnapshotIndexLine is struct holding information about a single snapshot
|
||||||
|
Loading…
Reference in New Issue
Block a user