Skip to content

Commit

Permalink
Update for go 1.17.2
Browse files Browse the repository at this point in the history
  • Loading branch information
reggieriser committed Oct 14, 2021
1 parent 6867083 commit 91f272b
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ version: '2.1'

# References for variables shared across the file
references:
circleci-docker: &circleci-docker milmove/circleci-docker:milmove-app-4b09540d82b4496c79089a3228ced3142ed83c40
circleci-docker: &circleci-docker milmove/circleci-docker:milmove-app-96cac8d8f0103661fc405481147429ddd7432c0d

postgres: &postgres postgres:12.7

Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
golang 1.17.1
golang 1.17.2
2 changes: 1 addition & 1 deletion Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# BUILDER #
###########

FROM milmove/circleci-docker:milmove-app-4b09540d82b4496c79089a3228ced3142ed83c40 as builder
FROM milmove/circleci-docker:milmove-app-96cac8d8f0103661fc405481147429ddd7432c0d as builder

ENV CIRCLECI=true

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.migrations_local
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# BUILDER #
###########

FROM milmove/circleci-docker:milmove-app-4b09540d82b4496c79089a3228ced3142ed83c40 as builder
FROM milmove/circleci-docker:milmove-app-96cac8d8f0103661fc405481147429ddd7432c0d as builder

ENV CIRCLECI=true

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.reviewapp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
###########

# Base builder so the ci build image hash is referenced once
FROM milmove/circleci-docker:milmove-app-4b09540d82b4496c79089a3228ced3142ed83c40 as builder
FROM milmove/circleci-docker:milmove-app-96cac8d8f0103661fc405481147429ddd7432c0d as builder

ENV CIRCLECI=docker
ENV REACT_APP_NODE_ENV=development
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.tasks_local
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# BUILDER #
###########

FROM milmove/circleci-docker:milmove-app-4b09540d82b4496c79089a3228ced3142ed83c40 as builder
FROM milmove/circleci-docker:milmove-app-96cac8d8f0103661fc405481147429ddd7432c0d as builder

ENV CIRCLECI=true

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.tools_local
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# BUILDER #
###########

FROM milmove/circleci-docker:milmove-app-4b09540d82b4496c79089a3228ced3142ed83c40 as builder
FROM milmove/circleci-docker:milmove-app-96cac8d8f0103661fc405481147429ddd7432c0d as builder

ENV CIRCLECI=true

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.webhook_client
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# BUILDER #
###########

FROM milmove/circleci-docker:milmove-app-4b09540d82b4496c79089a3228ced3142ed83c40 as builder
FROM milmove/circleci-docker:milmove-app-96cac8d8f0103661fc405481147429ddd7432c0d as builder

# Prepare public DOD certificates.
# hadolint ignore=DL3002
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.webhook_client_dp3
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# BUILDER #
###########

FROM milmove/circleci-docker:milmove-app-4b09540d82b4496c79089a3228ced3142ed83c40 as builder
FROM milmove/circleci-docker:milmove-app-96cac8d8f0103661fc405481147429ddd7432c0d as builder

# Prepare public DOD certificates.
# hadolint ignore=DL3002
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.webhook_client_local
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# BUILDER #
###########

FROM milmove/circleci-docker:milmove-app-4b09540d82b4496c79089a3228ced3142ed83c40 as builder
FROM milmove/circleci-docker:milmove-app-96cac8d8f0103661fc405481147429ddd7432c0d as builder

# Prepare public DOD certificates.
# hadolint ignore=DL3002
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ pretty: gofmt ## Run code through JS and Golang formatters

.PHONY: docker_circleci
docker_circleci: ## Run CircleCI container locally with project mounted
docker pull milmove/circleci-docker:milmove-app-4b09540d82b4496c79089a3228ced3142ed83c40
docker pull milmove/circleci-docker:milmove-app-96cac8d8f0103661fc405481147429ddd7432c0d
docker run -it --rm=true -v $(PWD):$(PWD) -w $(PWD) -e CIRCLECI=1 milmove/circleci-docker:milmove-app bash

.PHONY: prune_images
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ To get Goland to play nicely with `nix`, there's a few things you can set up:
* Update `GOROOT` to `/nix/var/nix/profiles/mymove/bin/go`
* Note that once you add it, Goland will resolve it to the actual path (the one above is a link), so it’ll look
something like `/nix/store/rv16prybnsmav8w1sqdgr80jcwsja98q-go-1.16.6/bin/go`
something like `/nix/store/rv16prybnsmav8w1sqdgr80jcwsja98q-go-1.17.2/bin/go`
* Update `GOPATH` to point to the `.gopath` dir in the `mymove` repo
* You may need to create the `.gopath` dir yourself.
* Update Node and NPM:
Expand Down
2 changes: 1 addition & 1 deletion cypress/Dockerfile.cypress
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM milmove/circleci-docker:milmove-cypress-fb9f5283964524152d84a20fe58df13bb605cb37
FROM milmove/circleci-docker:milmove-cypress-96cac8d8f0103661fc405481147429ddd7432c0d

# use the WORKDIR from the CI image
# hadolint ignore=DL3045
Expand Down
4 changes: 2 additions & 2 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ in buildEnv {

(import (builtins.fetchGit {
# Descriptive name to make the store path easier to identify
name = "go-1.17.1";
name = "go-1.17.2";
url = "https://github.com/NixOS/nixpkgs/";
ref = "refs/heads/nixpkgs-unstable";
rev = "6d488e823899d2dc1c2ce746a900b3267e93c2f7";
rev = "db3aa421df73f43c03ad266619e22ce7c5354d92";
}) {}).go_1_17

(import (builtins.fetchGit {
Expand Down
2 changes: 1 addition & 1 deletion scripts/gen-assets
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if [ -n "${CIRCLECI+x}" ]; then
else
# Locally we need to download the docker image to get the binary
echo "RUNNING LOCALLY"
image=milmove/circleci-docker:milmove-app-4b09540d82b4496c79089a3228ced3142ed83c40
image=milmove/circleci-docker:milmove-app-96cac8d8f0103661fc405481147429ddd7432c0d
docker pull -q "${image}"
docker run -it --rm=true -v "${PWD}:${PWD}" -w "${PWD}" "${image}" go-bindata -modtime "${modtime}" -o "${output_file}" -pkg "${package_name}" "${input_dirs[@]}"
fi
2 changes: 1 addition & 1 deletion scripts/gen-server
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ -n "${CIRCLECI+x}" ]; then
echo "CircleCI has swagger built in"
else
# Locally we need to download the docker image to get the binary
image=milmove/circleci-docker:milmove-app-4b09540d82b4496c79089a3228ced3142ed83c40
image=milmove/circleci-docker:milmove-app-96cac8d8f0103661fc405481147429ddd7432c0d
docker pull -q "${image}"
fi

Expand Down
2 changes: 1 addition & 1 deletion scripts/pre-commit-swagger-validate
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [ "$UNAME_S" == "Linux" ]; then
/usr/local/bin/swagger validate "${filename}"
else
# Locally we need to download the docker image to get the binary
image=milmove/circleci-docker:milmove-app-4b09540d82b4496c79089a3228ced3142ed83c40
image=milmove/circleci-docker:milmove-app-96cac8d8f0103661fc405481147429ddd7432c0d
docker pull -q "${image}"
docker run --rm=true -v "${PWD}:${PWD}" -w "${PWD}" "${image}" swagger validate "${filename}"
fi
2 changes: 1 addition & 1 deletion scripts/prereqs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -eu -o pipefail
RED='\033[0;31m'
YELLOW='\033[0;33m'
NC='\033[0m' # No Color
GOVERSION='1.17.1'
GOVERSION='1.17.2'

prereqs_found=true

Expand Down

0 comments on commit 91f272b

Please sign in to comment.