Skip to content

Commit

Permalink
✨feature: update
Browse files Browse the repository at this point in the history
  • Loading branch information
maxisam committed Sep 9, 2023
1 parent dc48b5f commit 451b661
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// README at: https://github.com/devcontainers/templates/tree/main/src/go
{
"name": "Go",
"image": "mcr.microsoft.com/devcontainers/go:0-1.19-bullseye",
"image": "mcr.microsoft.com/devcontainers/go:0-1.21-bullseye",

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
version:
type: string
description: Version
default: 1.11
default: 1.12
required: false

jobs:
Expand Down
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
ARG MONGODB_TOOLS_VERSION=100.6.1
ARG MONGODB_TOOLS_VERSION=100.8.0
ARG EN_AWS_CLI=false
ARG AWS_CLI_VERSION=1.22.46
ARG AWS_CLI_VERSION=1.29.44
ARG EN_AZURE=false
ARG AZURE_CLI_VERSION=2.32.0
ARG AZURE_CLI_VERSION=2.52.0
ARG EN_GCLOUD=false
ARG GOOGLE_CLOUD_SDK_VERSION=370.0.0
ARG GOOGLE_CLOUD_SDK_VERSION=445.0.0
ARG EN_GPG=true
ARG GNUPG_VERSION="2.2.31-r2"
ARG GNUPG_VERSION="2.4.3-r1"
ARG EN_MINIO=false
ARG EN_RCLONE=false
ARG VERSION

FROM maxisam/mongo-tool:${MONGODB_TOOLS_VERSION} as tools-builder

FROM golang:1.19 as mgob-builder
FROM golang:1.21 as mgob-builder
ARG VERSION
COPY . /go/src/github.com/stefanprodan/mgob
WORKDIR /go/src/github.com/stefanprodan/mgob
RUN CGO_ENABLED=0 GOOS=linux go test ./pkg/... && \
CGO_ENABLED=0 GOOS=linux go build -ldflags "-X main.version=$VERSION" -a -installsuffix cgo -o mgob github.com/stefanprodan/mgob/cmd/mgob

FROM alpine:3.15
FROM alpine:3.18
ARG BUILD_DATE
ARG VCS_REF
ARG VERSION
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ That is why I add features to my fork only.
- Add Retry logic for backup
- Add MS Team notification support
- Use github.com/jordan-wright/email for email notification for [certificate issue](https://github.com/stefanprodan/mgob/issues/160)
- Update Go to 1.19
- Update Go to 1.21
- Update other dependencies
- Add warnOnly option to all notification channels
- Use Github Action for CI/CD
- New Helm Chart with metric & liveness prob & new features etc
- Create multiple docker image releases for different backup solution
- Skip local backup when retention = 0 [#42](https://github.com/maxisam/mgob/pull/42) Thanks @aneagoe

- Add on-demand restore API
### Helm Chart

```bash
Expand Down
2 changes: 1 addition & 1 deletion cmd/mgob/mgob.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var (
appConfig = &config.AppConfig{}
modules = &config.ModuleConfig{}
name = "mgob"
version = "v1.11.0-dev"
version = "v1.12.0-dev"
)

func beforeApp(c *cli.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/stefanprodan/mgob

go 1.19
go 1.21

require (
github.com/boltdb/bolt v1.3.1
Expand Down

0 comments on commit 451b661

Please sign in to comment.