Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
backport 50341 to 5.0 (#50404)
Browse files Browse the repository at this point in the history
Fixing accidentally missed backport

## Test plan

N/A

<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->

---------

Co-authored-by: Vincent <[email protected]>
  • Loading branch information
coury-clark and evict authored Apr 5, 2023
1 parent d7ffaf0 commit d9a2129
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sg-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.19.6
go-version: 1.19.8

- name: Install asdf plugins
uses: asdf-vm/actions/install@v1
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
golang 1.19.6
golang 1.19.8
nodejs 16.18.1
fd 8.6.0
shfmt 3.5.0
Expand Down
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ go_rules_dependencies()

go_register_toolchains(
nogo = "@//:sg_nogo",
version = "1.19.6",
version = "1.19.8",
)

linter_dependencies()
Expand Down
2 changes: 1 addition & 1 deletion cmd/symbols/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ USER root
COPY cmd/symbols/ctags-install-alpine.sh /ctags-install-alpine.sh
RUN /ctags-install-alpine.sh

FROM golang:1.19.6-alpine@sha256:f2e0acaf7c628cd819b73541d7c1ea8f888d51edb0a58935a3c46a084fa953fa AS symbols-build
FROM golang:1.19.8-alpine@sha256:841c160ed35923d96c95c52403c4e6db5decd9cbce034aa851e412ade5d4b74f AS symbols-build
# hadolint ignore=DL3002
USER root

Expand Down
2 changes: 1 addition & 1 deletion dev/build-tracker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19.6-alpine@sha256:f2e0acaf7c628cd819b73541d7c1ea8f888d51edb0a58935a3c46a084fa953fa AS build-tracker-build
FROM golang:1.19.8-alpine@sha256:841c160ed35923d96c95c52403c4e6db5decd9cbce034aa851e412ade5d4b74f AS build-tracker-build

ENV GO111MODULE on
ENV GOARCH amd64
Expand Down
4 changes: 2 additions & 2 deletions dev/ci/integration/code-intel/install-src.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ set -eux
cd "$(dirname "${BASH_SOURCE[0]}")/../../../.."
root_dir="$(pwd)"

# By default, version of src-cli that builds with 1.19.6
VERSION=${1:-'85115b1a8a2e1bc174075eefacbae6ad9d19af1f'}
# By default, version of src-cli that builds with 1.19.8
VERSION=${1:-'58b3f701691cbdbd10b54161d9bfca88b781480d'}

TEMP=$(mktemp -d -t sgdockerbuild_XXXXXXX)
cleanup() {
Expand Down
4 changes: 2 additions & 2 deletions dev/sg/checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ var checks = map[string]check.CheckFunc{
"caddy-trusted": checkCaddyTrusted,
"asdf": check.CommandOutputContains("asdf", "version"),
"git": check.Combine(check.InPath("git"), checkGitVersion(">= 2.34.1")),
"pnpm": check.Combine(check.InPath("pnpm"), checkPnpmVersion(">= 7.24.2")),
"go": check.Combine(check.InPath("go"), checkGoVersion("~> 1.19.6")),
"pnpm": check.Combine(check.InPath("pnpm"), checkPnpmVersion(">= 7.28.0")),
"go": check.Combine(check.InPath("go"), checkGoVersion("~> 1.19.8")),
"node": check.Combine(check.InPath("node"), check.CommandOutputContains(`node -e "console.log(\"foobar\")"`, "foobar")),
"rust": check.Combine(check.InPath("cargo"), check.CommandOutputContains(`cargo version`, "1.58.0")),
"docker-installed": check.WrapErrMessage(check.InPath("docker"), "if Docker is installed and the check fails, you might need to start Docker.app and restart terminal and 'sg setup'"),
Expand Down
2 changes: 1 addition & 1 deletion docker-images/opentelemetry-collector/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build custom collector binary
FROM golang:1.19.6-alpine@sha256:f2e0acaf7c628cd819b73541d7c1ea8f888d51edb0a58935a3c46a084fa953fa AS build
FROM golang:1.19.8-alpine@sha256:841c160ed35923d96c95c52403c4e6db5decd9cbce034aa851e412ade5d4b74f AS build

ARG OTEL_COLLECTOR_VERSION
ENV OTEL_COLLECTOR_VERSION=${OTEL_COLLECTOR_VERSION}
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/git-combine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19.6-alpine@sha256:f2e0acaf7c628cd819b73541d7c1ea8f888d51edb0a58935a3c46a084fa953fa AS builder
FROM golang:1.19.8-alpine@sha256:841c160ed35923d96c95c52403c4e6db5decd9cbce034aa851e412ade5d4b74f AS builder

WORKDIR /go/src/app

Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/progress-bot/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19.6-alpine@sha256:f2e0acaf7c628cd819b73541d7c1ea8f888d51edb0a58935a3c46a084fa953fa AS builder
FROM golang:1.19.8-alpine@sha256:841c160ed35923d96c95c52403c4e6db5decd9cbce034aa851e412ade5d4b74f AS builder

WORKDIR /go/src/progress-bot

Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/search-blitz/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19.6-alpine@sha256:f2e0acaf7c628cd819b73541d7c1ea8f888d51edb0a58935a3c46a084fa953fa AS builder
FROM golang:1.19.8-alpine@sha256:841c160ed35923d96c95c52403c4e6db5decd9cbce034aa851e412ade5d4b74f AS builder
WORKDIR /build
COPY go.sum go.mod ./
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/tracking-issue/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19.6-alpine@sha256:f2e0acaf7c628cd819b73541d7c1ea8f888d51edb0a58935a3c46a084fa953fa AS builder
FROM golang:1.19.8-alpine@sha256:841c160ed35923d96c95c52403c4e6db5decd9cbce034aa851e412ade5d4b74f AS builder

WORKDIR /go/src/tracking-issue
COPY . .
Expand Down

0 comments on commit d9a2129

Please sign in to comment.