Skip to content

Commit

Permalink
Update to build Lambda functions for al2 (#8)
Browse files Browse the repository at this point in the history
* update vendor deps; lambda Makefile target

* update vendor deps

---------

Co-authored-by: sfomuseumbot <sfomuseumbot@localhost>
  • Loading branch information
thisisaaronland and sfomuseumbot authored Nov 6, 2023
1 parent 23f9c93 commit 3f95159
Show file tree
Hide file tree
Showing 422 changed files with 50,027 additions and 14,038 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
GOMOD=vendor

GOMOD=$(shell test -f "go.work" && echo "readonly" || echo "vendor")

proto:
protoc -I=./producer/protobuf --go_out=./ ./producer/protobuf/findingaid.proto

Expand All @@ -17,9 +19,9 @@ lambda:
@make lambda-resolverd

lambda-resolverd:
if test -f main; then rm -f main; fi
if test -f bootstrap; then rm -f bootstrap; fi
if test -f resolverd.zip; then rm -f resolverd.zip; fi
GOOS=linux go build -mod $(GOMOD) -ldflags="-s -w" -o main cmd/wof-findingaid-resolverd/main.go
zip resolverd.zip main
rm -f main
GOARCH=arm64 GOOS=linux go build -mod $(GOMOD) -ldflags="-s -w" -tags lambda.norpc -o bootstrap cmd/wof-findingaid-resolverd/main.go
zip resolverd.zip bootstrap
rm -f bootstrap

74 changes: 37 additions & 37 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,64 +4,64 @@ go 1.18

require (
github.com/aaronland/go-artisanal-integers v0.9.1
github.com/aaronland/go-aws-dynamodb v0.0.5
github.com/aaronland/go-brooklynintegers-api v1.2.6
github.com/aaronland/go-http-server v1.2.0
github.com/aaronland/go-aws-dynamodb v0.0.6
github.com/aaronland/go-brooklynintegers-api v1.2.7
github.com/aaronland/go-http-server v1.3.0
github.com/aaronland/go-roster v1.0.0
github.com/aws/aws-sdk-go v1.44.282
github.com/aws/aws-sdk-go v1.47.3
github.com/jtacoma/uritemplates v1.0.0
github.com/mattn/go-sqlite3 v1.14.17
github.com/mattn/go-sqlite3 v1.14.18
github.com/sfomuseum/go-csvdict v1.0.0
github.com/sfomuseum/go-flags v0.10.0
github.com/sfomuseum/go-timings v1.2.1
github.com/sfomuseum/iso8601duration v1.1.0
github.com/tidwall/gjson v1.14.4
github.com/tidwall/gjson v1.17.0
github.com/whosonfirst/go-reader v1.0.2
github.com/whosonfirst/go-whosonfirst-feature v0.0.26
github.com/whosonfirst/go-whosonfirst-github v0.6.0
github.com/whosonfirst/go-whosonfirst-iterate-git/v2 v2.1.3
github.com/whosonfirst/go-whosonfirst-iterate/v2 v2.3.4
github.com/whosonfirst/go-whosonfirst-uri v1.3.0
gocloud.dev v0.29.0
google.golang.org/protobuf v1.30.0
gocloud.dev v0.34.0
google.golang.org/protobuf v1.31.0
)

require (
github.com/Microsoft/go-winio v0.5.2 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect
github.com/aaronland/go-aws-session v0.1.0 // indirect
github.com/aaronland/go-aws-session v0.2.1 // indirect
github.com/aaronland/go-json-query v0.1.4 // indirect
github.com/aaronland/go-string v1.0.0 // indirect
github.com/acomagu/bufpipe v1.0.3 // indirect
github.com/akrylysov/algnhsa v1.0.0 // indirect
github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129 // indirect
github.com/aws/aws-lambda-go v1.37.0 // indirect
github.com/aws/aws-sdk-go-v2 v1.17.4 // indirect
github.com/aws/aws-sdk-go-v2/config v1.18.12 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.13.12 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.22 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.28 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.22 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.29 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.22 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.12.1 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.1 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.18.3 // indirect
github.com/aws/smithy-go v1.13.5 // indirect
github.com/cenkalti/backoff/v4 v4.2.0 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/aws/aws-lambda-go v1.41.0 // indirect
github.com/aws/aws-sdk-go-v2 v1.20.0 // indirect
github.com/aws/aws-sdk-go-v2/config v1.18.32 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.13.31 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.7 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.37 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.31 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.38 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.31 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.13.1 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.15.1 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.21.1 // indirect
github.com/aws/smithy-go v1.14.0 // indirect
github.com/benbjohnson/clock v1.3.0 // indirect
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/cloudflare/circl v1.1.0 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/go-git/gcfg v1.5.0 // indirect
github.com/go-git/go-billy/v5 v5.4.0 // indirect
github.com/go-git/go-git/v5 v5.5.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-github/v48 v48.2.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/wire v0.5.0 // indirect
github.com/googleapis/gax-go/v2 v2.7.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/imdario/mergo v0.3.13 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
Expand All @@ -81,16 +81,16 @@ require (
github.com/whosonfirst/walk v0.0.2 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
go.opencensus.io v0.24.0 // indirect
go.uber.org/ratelimit v0.2.0 // indirect
golang.org/x/crypto v0.6.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/oauth2 v0.8.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
go.uber.org/ratelimit v0.3.0 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/oauth2 v0.10.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.110.0 // indirect
google.golang.org/api v0.134.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230209215440-0dfe4f8abfcc // indirect
google.golang.org/grpc v1.53.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230731193218-e0aa005b6bdf // indirect
google.golang.org/grpc v1.57.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
)
Loading

0 comments on commit 3f95159

Please sign in to comment.