Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
5d5311b
proxy: Add --exit-on-store-error flag
nh2 Apr 13, 2023
57704ce
upgrade client-go version to v0.21.2, due to a bug in the v0.17.3 ver…
Nov 22, 2023
3e40faf
Merge branch 'exit-on-store-error' of https://github.com/nh2/stolon
Mar 6, 2025
c5d0237
first
Mar 6, 2025
4fe1db9
vendoring
Mar 6, 2025
cfd5e20
vendoring
Mar 6, 2025
38fcd5a
updating prometheus
Mar 6, 2025
8c6575e
vendoring
Mar 6, 2025
a95d825
compilation fixes
Mar 6, 2025
aa205c2
vendoring
Mar 6, 2025
f355b68
porting old docker leadership library and adopting it
Mar 6, 2025
96a2a5b
Refactor to replace libkv with kvtools/valkeyrie
Mar 6, 2025
614109a
Remove etcdV3 store implementation.
Mar 6, 2025
2cf2487
vendoring
Mar 6, 2025
0170fd5
"Standardize comments and add build constraints"
Mar 6, 2025
835580e
vendoring
Mar 6, 2025
3015c53
bump go to 1.24
Mar 6, 2025
41d3d8e
using go1.24 to get the git release
Mar 6, 2025
c5eee25
fixing warnings
Mar 6, 2025
b422976
updating tests
Mar 6, 2025
d15bddd
removing lint complains
Mar 6, 2025
abad2a1
docker github actions
Mar 6, 2025
cc71a7f
actions fixex ++
Mar 6, 2025
f1b2b1d
actions fixes ++
Mar 6, 2025
13c6cc9
actions fixes ++
Mar 6, 2025
8dc9841
actions fixes ++
Mar 6, 2025
d002213
actions fixes ++
Mar 6, 2025
325b833
actions fixes ++
Mar 6, 2025
db65882
fix docker build
Mar 6, 2025
4392c78
kind test
Mar 6, 2025
083c085
kind test ++
Mar 6, 2025
ce25aca
kind test ++
Mar 6, 2025
421b57c
kind test ++
Mar 6, 2025
5bfa934
kind test ++
Mar 6, 2025
d338035
kind test ++
Mar 6, 2025
c958591
kind test ++
Mar 6, 2025
72284bd
kind test ++
Mar 6, 2025
5d1b319
kind test ++
Mar 6, 2025
711429f
kind test ++
Mar 6, 2025
60fca85
kind test ++
Mar 6, 2025
ce29b56
kind test ++
Mar 6, 2025
4f4658b
kind test ++
Mar 6, 2025
478fad6
clean up
Mar 6, 2025
f585fd5
replacing docker image
Mar 6, 2025
74728a0
actions fixes ++
Mar 6, 2025
74bc859
rebuild image
Mar 7, 2025
4e7c676
Try to fix an issue
Mar 7, 2025
39a0900
Attempt to lock in a different way
Mar 7, 2025
6c168c1
hopefully fix leader election on k8s
Mar 7, 2025
b7546ec
new roles for tests
Mar 7, 2025
93f98e3
kubectl ns doesn't exist in normal deployments
Mar 7, 2025
66d88a2
fixing params and migrating to pg17 for tests
Mar 7, 2025
a73027a
fixing manifests ++
Mar 7, 2025
9c596d8
fixing manifests ++
Mar 7, 2025
d197abd
fixing manifests ++
Mar 7, 2025
a65cbc5
fixing manifests ++
Mar 7, 2025
96009b9
fixing manifests ++ (debug)
Mar 7, 2025
4cbba8d
more debugging
Mar 7, 2025
b1f8c41
more tests
Mar 7, 2025
a1d7fb9
unescaping
Mar 7, 2025
5d12cb7
another chance
Mar 7, 2025
f28c490
removing debug
Mar 7, 2025
e4b4704
adding postgres 16 and 17
Mar 7, 2025
ba33981
Refactor KV store initialization and add backend validation
Mar 11, 2025
af3571c
"Refactor backend case handling in store initialization"
Mar 11, 2025
bb4d76f
Update autogenerated documentation timestamps
Mar 11, 2025
95d8f24
adding examples. Those will be turned into tests for GH actions
Mar 11, 2025
e219da7
Replace custom timer package with Go's standard time package. Monoton…
Mar 11, 2025
219c9fb
Refactor variable naming in ConsulConfig function (imported package c…
Mar 11, 2025
971657b
Refactor variable names and improve context handling.
Mar 11, 2025
6a686d2
Refactor error handling and parameter usage in proxy.
Mar 11, 2025
9be8f1c
Refactor sentinel logic and improve code readability
Mar 11, 2025
cf32d20
`Rename variable 'cluster' to 'scluster' in status handling` (import …
Mar 11, 2025
5dc2895
Use anonymous variables in versionCommand parameters
Mar 11, 2025
b4c7038
Refactor update function to ignore unused parameter
Mar 11, 2025
f003d68
Adding consul test
Mar 11, 2025
013e86f
Simplify consul
Mar 11, 2025
324c694
more consul changes
Mar 11, 2025
b120c70
more consul changes
Mar 11, 2025
3de73fc
more consul changes
Mar 11, 2025
3cf1e5f
more consul changes
Mar 11, 2025
d4d76c4
more consul changes
Mar 11, 2025
18db786
more consul changes
Mar 12, 2025
e9086d9
better way to check if the cluster is healthy
Mar 12, 2025
ab78207
Spread this new way to check
Mar 12, 2025
1594af0
Adding test for etcdv3. We are skipping the test on etcdv2 as the lib…
Mar 12, 2025
128175c
fix etcdv3 test and attempt to build a matrix of prod images
Mar 12, 2025
cb335fb
Fix indentation issue in workflow
Mar 12, 2025
7cde3d8
Add -failfast flag to go test command
Mar 13, 2025
f9721e3
```
Mar 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
208 changes: 0 additions & 208 deletions .agola/config.jsonnet

This file was deleted.

21 changes: 6 additions & 15 deletions examples/kubernetes/image/docker/Dockerfile → .github/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
ARG PGVERSION

# base build image
FROM golang:1.16-buster AS build_base

WORKDIR /stolon

# only copy go.mod and go.sum
COPY go.mod .
COPY go.sum .

RUN go mod download
ARG PGVERSION=0
ARG ARCHITECTURE=amd64

#######
####### Build the stolon binaries
#######
FROM build_base AS builder
FROM golang:1.24-bookworm AS builder

WORKDIR /stolon

# copy all the sources
COPY . .
Expand All @@ -24,13 +16,12 @@ RUN make
#######
####### Build the final image
#######
FROM postgres:$PGVERSION
FROM postgres:${PGVERSION}

RUN useradd -ms /bin/bash stolon

EXPOSE 5432

# copy the agola-web dist
COPY --from=builder /stolon/bin/ /usr/local/bin

RUN chmod +x /usr/local/bin/stolon-keeper /usr/local/bin/stolon-sentinel /usr/local/bin/stolon-proxy /usr/local/bin/stolonctl
Loading