Skip to content

Commit

Permalink
Merge pull request #6 from opendevstack/task/update-deps
Browse files Browse the repository at this point in the history
Update deps
  • Loading branch information
michaelsauter committed Nov 21, 2023
2 parents a0dda4b + a151a4d commit 9b87adc
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ listed in the changelog.

## [Unreleased]

### Changed

- Update Go from 1.18 to 1.20, and `golangci-lint` and `go-junit-report` to latest versions ([#6](https://github.com/opendevstack/ods-pipeline-go/pull/6))

## [0.2.0] - 2023-10-09

### Changed
Expand Down
7 changes: 4 additions & 3 deletions build/images/Dockerfile.go-toolset
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM registry.access.redhat.com/ubi8/go-toolset:1.18
ARG IMG_VERSION=1.20.10
FROM registry.access.redhat.com/ubi8/go-toolset:${IMG_VERSION}

SHELL ["/bin/bash", "-o", "pipefail", "-c"]
USER root

ENV GOLANGCI_LINT_VERSION=v1.45.2 \
GO_JUNIT_REPORT_VERSION=v2.0.0 \
ENV GOLANGCI_LINT_VERSION=v1.55.2 \
GO_JUNIT_REPORT_VERSION=v2.1.0 \
GOBIN=/usr/local/bin

RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/$GOLANGCI_LINT_VERSION/install.sh | sh -s -- -b /usr/local/bin $GOLANGCI_LINT_VERSION
Expand Down
31 changes: 31 additions & 0 deletions dependencies.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# https://github.com/kubernetes-sigs/zeitgeist
# Use `zeitgeist validate`` to verify that the dependency version is
# correct in all files referenced in refPaths, and
# whether any newer version is available upstream.
# For GitHub API access, export a `GITHUB_TOKEN`.
dependencies:
- name: go
version: 1.20.10
scheme: alpha
upstream:
flavour: container
registry: registry.access.redhat.com/ubi8/go-toolset
refPaths:
- path: build/images/Dockerfile.go-toolset
match: IMG_VERSION
- name: golangci-lint
version: 1.55.2
upstream:
flavour: github
url: golangci/golangci-lint
refPaths:
- path: build/images/Dockerfile.go-toolset
match: GOLANGCI_LINT_VERSION
- name: go-junit-report
version: 2.1.0
upstream:
flavour: github
url: jstemmer/go-junit-report
refPaths:
- path: build/images/Dockerfile.go-toolset
match: GO_JUNIT_REPORT_VERSION

0 comments on commit 9b87adc

Please sign in to comment.