Compare commits
4 Commits
8b945c8f90
...
v2
| Author | SHA1 | Date | |
|---|---|---|---|
|
c2977ada4d
|
|||
|
29be2ee77d
|
|||
|
8d53a9937d
|
|||
|
4f4e5b22b8
|
@@ -1,4 +1,4 @@
|
|||||||
FROM debian:12.5-slim
|
FROM debian:12.6-slim
|
||||||
|
|
||||||
COPY . /src
|
COPY . /src
|
||||||
RUN for file in $(find /src -type f -name "*.sh"); do chmod +x $file; done
|
RUN for file in $(find /src -type f -name "*.sh"); do chmod +x $file; done
|
||||||
|
|||||||
@@ -10,11 +10,11 @@ Debian 12 (slim) is used as base image.
|
|||||||
|
|
||||||
| Binary | Version | Project | Repo |
|
| Binary | Version | Project | Repo |
|
||||||
| ----------------- | ------- | --------------- | ------------------------------------------------------------- |
|
| ----------------- | ------- | --------------- | ------------------------------------------------------------- |
|
||||||
| `go` | 1.22.2 | Go | |
|
| `go` | 1.22.5 | Go | |
|
||||||
| `golangci-lint` | 1.57.2 | golangci-lint | [External link](https://github.com/golangci/golangci-lint) |
|
| `golangci-lint` | 1.59.1 | golangci-lint | [External link](https://github.com/golangci/golangci-lint) |
|
||||||
| `gofumpt` | 0.6.0 | gofumpt | [External link](https://github.com/mvdan/gofumpt) |
|
| `gofumpt` | 0.6.0 | gofumpt | [External link](https://github.com/mvdan/gofumpt) |
|
||||||
| `mockery_v2` | 2.42.2 | mockery | [External link](https://github.com/vektra/mockery) |
|
| `mockery_v2` | 2.43.2 | mockery | [External link](https://github.com/vektra/mockery) |
|
||||||
| `task` | 3.36.0 | taskfile | [External link](https://github.com/go-task/task) |
|
| `task` | 3.38.0 | taskfile | [External link](https://github.com/go-task/task) |
|
||||||
| `go-junit-report` | 2.1.0 | go-junit-report | [External link](https://github.com/jstemmer/go-junit-report) |
|
| `go-junit-report` | 2.1.0 | go-junit-report | [External link](https://github.com/jstemmer/go-junit-report) |
|
||||||
| `delve` | 1.22.1 | delve | [External link](https://github.com/go-delve/delve) |
|
| `delve` | 1.22.1 | delve | [External link](https://github.com/go-delve/delve) |
|
||||||
|
|
||||||
|
|||||||
2
build.sh
2
build.sh
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# build.sh checks if docker image with same sha256 exists remotely.
|
# build.sh checks if docker image with same sha256 exists remotely.
|
||||||
# if exists, do nothing, if not, build the image
|
# if exists, do nothing, if not, build the image.
|
||||||
|
|
||||||
commit_sha="${DRONE_COMMIT_SHA}"
|
commit_sha="${DRONE_COMMIT_SHA}"
|
||||||
image_path="${REGISTRY}${REGISTRY_PROJECT}"
|
image_path="${REGISTRY}${REGISTRY_PROJECT}"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
go_version=1.22.2
|
go_version=1.22.5
|
||||||
|
|
||||||
# shellcheck disable=SC2086,SC2046,SC2164
|
# shellcheck disable=SC2086,SC2046,SC2164
|
||||||
cd $(dirname ${BASH_SOURCE[0]})
|
cd $(dirname ${BASH_SOURCE[0]})
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
# Line above disables shellcheck linters:
|
# Line above disables shellcheck linters:
|
||||||
# * SC2154 - variable referenced but not assigned (false positive, assigned when sourced arch.sh).
|
# * SC2154 - variable referenced but not assigned (false positive, assigned when sourced arch.sh).
|
||||||
|
|
||||||
golangci_lint_version=1.57.2
|
golangci_lint_version=1.59.1
|
||||||
|
|
||||||
# shellcheck disable=SC2086,SC2046,SC2164
|
# shellcheck disable=SC2086,SC2046,SC2164
|
||||||
cd "$(dirname ${BASH_SOURCE[0]})"
|
cd "$(dirname ${BASH_SOURCE[0]})"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
mockery_v2_version=2.42.2
|
mockery_v2_version=2.43.2
|
||||||
|
|
||||||
cd /tmp || exit 1
|
cd /tmp || exit 1
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
# Line above disables shellcheck linters:
|
# Line above disables shellcheck linters:
|
||||||
# * SC2154 - variable referenced but not assigned (false positive, assigned when sourced arch.sh).
|
# * SC2154 - variable referenced but not assigned (false positive, assigned when sourced arch.sh).
|
||||||
|
|
||||||
taskfile_version=3.36.0
|
taskfile_version=3.38.0
|
||||||
|
|
||||||
# shellcheck disable=SC2086,SC2046,SC2164
|
# shellcheck disable=SC2086,SC2046,SC2164
|
||||||
cd "$(dirname ${BASH_SOURCE[0]})"
|
cd "$(dirname ${BASH_SOURCE[0]})"
|
||||||
|
|||||||
Reference in New Issue
Block a user