From 35a0a8f30fca45e091f9fd530047f2271373e4e0 Mon Sep 17 00:00:00 2001 From: mqhub Date: Wed, 30 Sep 2020 09:59:50 -0400 Subject: [PATCH 1/3] Update region.go Add AWS region us-gov-east-1 --- drivers/amazonec2/region.go | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/amazonec2/region.go b/drivers/amazonec2/region.go index ae990d67ea..b0faaf2ebc 100644 --- a/drivers/amazonec2/region.go +++ b/drivers/amazonec2/region.go @@ -30,6 +30,7 @@ var regionDetails map[string]*region = map[string]*region{ "us-west-1": {"ami-264c4646"}, "us-west-2": {"ami-78a22900"}, "us-gov-west-1": {"ami-2561ea44"}, + "us-gov-east-1": {"ami-7609e007"}, // Note: this is 20200814 "custom-endpoint": {""}, } From 88c31e95c92a2c56517423f651e754ab7963404b Mon Sep 17 00:00:00 2001 From: mqhub Date: Wed, 30 Sep 2020 10:09:51 -0400 Subject: [PATCH 2/3] Add .circleci/config.yml --- .circleci/config.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000000..af257f0909 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +# Golang CircleCI 2.0 configuration file +# +# Check https://circleci.com/docs/2.0/language-go/ for more details +version: 2 +jobs: + build: + docker: + # specify the version + - image: circleci/golang:1.9 + + # Specify service dependencies here if necessary + # CircleCI maintains a library of pre-built images + # documented at https://circleci.com/docs/2.0/circleci-images/ + # - image: circleci/postgres:9.4 + + #### TEMPLATE_NOTE: go expects specific checkout path representing url + #### expecting it in the form of + #### /go/src/github.com/circleci/go-tool + #### /go/src/bitbucket.org/circleci/go-tool + working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}} + steps: + - checkout + + # specify any bash command here prefixed with `run: ` + - run: go get -v -t -d ./... + - run: go test -v ./... \ No newline at end of file From ac546e91d77648fab734fee0b4420d6926b6a088 Mon Sep 17 00:00:00 2001 From: mqhub Date: Wed, 30 Sep 2020 10:23:32 -0400 Subject: [PATCH 3/3] Update config.yml org and repo name --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index af257f0909..aafa942e7d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,10 +17,10 @@ jobs: #### expecting it in the form of #### /go/src/github.com/circleci/go-tool #### /go/src/bitbucket.org/circleci/go-tool - working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}} + working_directory: /go/src/github.com/mqhub/machine steps: - checkout # specify any bash command here prefixed with `run: ` - run: go get -v -t -d ./... - - run: go test -v ./... \ No newline at end of file + - run: go test -v ./...