Skip to content

Commit

Permalink
Merge pull request #303 from systemaccounting/302-provided2-runtime
Browse files Browse the repository at this point in the history
302 go-migrate rewrite
  • Loading branch information
mxfactorial authored Oct 19, 2023
2 parents a3f82d4 + 066185b commit 39c6145
Show file tree
Hide file tree
Showing 30 changed files with 675 additions and 954 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/dev-go-migrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: '1.19.x'
- name: create zip for deployment
run: make zip
working-directory: migrations/go-migrate
- name: zip
run: ENV_ID=${{ secrets.DEV_ENV_ID }} make put-object ENV=dev
working-directory: migrations/go-migrate
- name: deploy
run: ENV_ID=${{ secrets.DEV_ENV_ID }} make update-function ENV=dev
run: ENV_ID=${{ secrets.DEV_ENV_ID }} make deploy ENV=dev
working-directory: migrations/go-migrate
8 changes: 1 addition & 7 deletions .github/workflows/prod-go-migrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: '1.19.x'
- name: create zip for deployment
run: make zip
working-directory: migrations/go-migrate
- name: zip
run: ENV_ID=${{ secrets.PROD_ENV_ID }} make put-object ENV=prod
working-directory: migrations/go-migrate
- name: deploy
run: ENV_ID=${{ secrets.PROD_ENV_ID }} make update-function ENV=prod
run: ENV_ID=${{ secrets.PROD_ENV_ID }} make deploy ENV=prod
working-directory: migrations/go-migrate
57 changes: 41 additions & 16 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,66 @@ go 1.19
require (
github.com/99designs/gqlgen v0.17.24
github.com/Pallinder/go-randomdata v1.2.0
github.com/aws/aws-lambda-go v1.28.0
github.com/aws/aws-lambda-go v1.41.0
github.com/aws/aws-sdk-go v1.44.171
github.com/bxcodec/faker/v3 v3.8.0
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/gin-gonic/gin v1.8.1
github.com/golang/mock v1.6.0
github.com/google/go-cmp v0.5.7
github.com/google/go-cmp v0.5.9
github.com/huandu/go-sqlbuilder v1.15.0
github.com/jackc/pgconn v1.13.0
github.com/jackc/pgtype v1.12.0
github.com/jackc/pgx/v4 v4.17.0
github.com/jackc/pgconn v1.14.0
github.com/jackc/pgtype v1.14.0
github.com/jackc/pgx/v4 v4.18.1
github.com/lestrrat-go/jwx v1.2.20
github.com/rs/cors/wrapper/gin v0.0.0-20221003140808-fcebdb403f4d
github.com/shopspring/decimal v1.3.1
github.com/vektah/gqlparser/v2 v2.5.1
)

require (
dario.cat/mergo v1.0.0 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
github.com/acomagu/bufpipe v1.0.4 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.5.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/lib/pq v1.10.2 // indirect
github.com/pjbgf/sha1cd v0.3.0 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
github.com/skeema/knownhosts v1.2.0 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
go.uber.org/atomic v1.7.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
)

require (
github.com/agnivade/levenshtein v1.1.1 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/go-git/go-git/v5 v5.9.0
github.com/go-playground/locales v0.14.0 // indirect
github.com/go-playground/universal-translator v0.18.0 // indirect
github.com/go-playground/validator/v10 v10.10.0 // indirect
github.com/goccy/go-json v0.9.7 // indirect
github.com/goccy/go-json v0.9.11 // indirect
github.com/golang-migrate/migrate/v4 v4.16.2
github.com/gorilla/websocket v1.5.0 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/huandu/xstrings v1.3.2 // indirect
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgio v1.0.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgproto3/v2 v2.3.1 // indirect
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
github.com/jackc/pgproto3/v2 v2.3.2 // indirect
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/leodido/go-urn v1.2.1 // indirect
Expand All @@ -58,14 +84,13 @@ require (
github.com/ugorji/go/codec v1.2.7 // indirect
github.com/urfave/cli/v2 v2.8.1 // indirect
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/net v0.1.0 // indirect
golang.org/x/sys v0.1.0 // indirect
golang.org/x/text v0.4.0 // indirect
golang.org/x/tools v0.1.12 // indirect
golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f // indirect
google.golang.org/protobuf v1.28.0 // indirect
golang.org/x/crypto v0.13.0 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/net v0.15.0 // indirect
golang.org/x/sys v0.12.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/tools v0.13.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 39c6145

Please sign in to comment.