forked from nyaruka/rp-indexer
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from Ilhasoft/update/v9.0.0
Update to v9.0.0
- Loading branch information
Showing
16 changed files
with
249 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: CI | ||
on: [push, pull_request] | ||
env: | ||
go-version: "1.19.x" | ||
go-version: "1.21.x" | ||
jobs: | ||
test: | ||
name: Test | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
1.2.1-indexer-9.0.0 | ||
---------- | ||
* Update to version v9.0.0 | ||
* Fix make json request | ||
|
||
1.2.0-indexer-8.2.0 | ||
---------- | ||
* Update go version and add retry modifications |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
FROM golang:1.19-alpine3.18 | ||
FROM golang:1.23-bookworm AS builder | ||
|
||
WORKDIR /app | ||
WORKDIR /src | ||
|
||
COPY go.mod go.sum ./ | ||
RUN go mod download -x | ||
|
||
RUN apk update \ | ||
&& apk add --virtual build-deps gcc git \ | ||
&& rm -rf /var/cache/apk/* | ||
COPY . ./ | ||
|
||
RUN addgroup -S golang \ | ||
&& adduser -S -G golang golang | ||
RUN GOOS=linux GOARCH=amd64 go build -o /bin/rp-indexer ./cmd/rp-indexer/*.go | ||
|
||
COPY . . | ||
FROM gcr.io/distroless/base-debian12 | ||
|
||
RUN go install -v ./cmd/... | ||
RUN chown -R golang /app | ||
WORKDIR /app | ||
|
||
USER golang | ||
COPY --from=builder bin/rp-indexer ./ | ||
|
||
EXPOSE 8080 | ||
ENTRYPOINT ["rp-indexer"] | ||
ENTRYPOINT ["./rp-indexer"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.