Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
required: true
type: string
default: ''
go_version:
required: true
type: string

workflow_dispatch:
inputs:
Expand Down Expand Up @@ -45,7 +42,7 @@ jobs:

- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: ${{ inputs.go_version }}
go-version-file: go.mod
cache: false

- name: Display Go version
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ on:
required: false
type: string
default: "no"
go_version:
required: false
type: string
default: "1.27.2"
# Optional overrides of the e2e runners and environment versions. An
# empty value selects the default in vm_test.yml.
runners:
Expand Down Expand Up @@ -72,7 +68,6 @@ jobs:
uses: ./.github/workflows/lint.yml
with:
ref: ${{ inputs.ref }}
go_version: ${{ inputs.go_version }}
secrets: inherit

build:
Expand All @@ -81,7 +76,6 @@ jobs:
uses: ./.github/workflows/build.yml
with:
ref: ${{ inputs.ref }}
go_version: ${{ inputs.go_version }}
secrets: inherit

unit_test:
Expand All @@ -90,7 +84,6 @@ jobs:
uses: ./.github/workflows/unit_test.yml
with:
ref: ${{ inputs.ref }}
go_version: ${{ inputs.go_version }}
secrets: inherit

vm_test:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
uses: ./.github/workflows/build.yml
with:
ref: ${{ github.sha }}
go_version: "1.27.2"

release:
name: Rolling release
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,12 @@ jobs:
uses: ./.github/workflows/build.yml
with:
ref: ${{ github.sha }}
go_version: "1.27.2"

unit_test:
name: Unit tests
uses: ./.github/workflows/unit_test.yml
with:
ref: ${{ github.sha }}
go_version: "1.27.2"

vm_test:
needs: [build]
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
required: true
type: string
default: ''
go_version:
required: true
type: string

permissions:
contents: read
Expand Down Expand Up @@ -36,7 +33,7 @@ jobs:
ref: ${{ inputs.ref }}
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: ${{ inputs.go_version }}
go-version-file: go.mod
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
type: string
default: ''
required: true
go_version:
required: true
type: string

permissions:
contents: read
Expand Down Expand Up @@ -41,7 +38,7 @@ jobs:

- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: ${{ inputs.go_version }}
go-version-file: go.mod
cache: false

- name: Run unikontainers pkg unit tests
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/vm_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ permissions:
# unset inputs as empty strings, which skip an input's default, hence the
# fallbacks.
env:
GO_VERSION: '1.27.2'
RUNC_VERSION: ${{ inputs.runc_version || '1.3.0' }}
CONTAINERD_VERSION: ${{ inputs.containerd_version || '2.3.7' }}
CNI_VERSION: ${{ inputs.cni_version || '1.7.1' }}
Expand Down Expand Up @@ -79,7 +78,7 @@ jobs:
exit 1
fi
echo "ARCH=${ARCH}" >> "$GITHUB_ENV"
for var in GO_VERSION RUNC_VERSION CONTAINERD_VERSION CNI_VERSION \
for var in RUNC_VERSION CONTAINERD_VERSION CNI_VERSION \
NERDCTL_VERSION CRICTL_VERSION FIRECRACKER_VERSION \
CLOUD_HYPERVISOR_VERSION SOLO5_VERSION HLUK_VERSION; do
value="${!var}"
Expand All @@ -101,7 +100,7 @@ jobs:

- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: go.mod
cache: false

- name: Install base dependencies
Expand Down
2 changes: 1 addition & 1 deletion deployment/urunc-deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ WORKDIR /artifacts
RUN cp /app/tenders/hvt/solo5-hvt /artifacts/ && \
cp /app/tenders/spt/solo5-spt /artifacts/

FROM golang:1.27.2-alpine3.24@sha256:f92b6ef800e499660581efdabdf25d9d817a9d124eaf900924f0504e7e27e12d AS urunc-builder
FROM golang:1.27.3-alpine3.24@sha256:b8c9b82affbbb82a020bbcf998dad2ba9516944ac7e883524642a481a9505e9c AS urunc-builder
# COMMIT is passed from CI (first 7 chars of GITHUB_SHA) so that
# `git describe --dirty` is not used inside the build context,
# preventing a -dirty suffix in the embedded version string.
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ To install `urunc`, there are three options:

#### Option 1: Building from source

In order to build `urunc` from source, any version of Go 1.20.6 or later should
In order to build `urunc` from source, recent version of Go should
be sufficient. Let's download Go [[versions.go ]]

```bash
Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Then we need `urunc`:
```bash
sudo apt install -y git make
git clone https://github.com/urunc-dev/urunc.git
docker run --rm -ti -v $PWD/urunc:/urunc -w /urunc golang:1.25 bash -c "git config --global --add safe.directory /urunc && make"
docker run --rm -ti -v $PWD/urunc:/urunc -w /urunc golang:[[ versions.go ]] bash -c "git config --global --add safe.directory /urunc && make"
sudo make -C urunc install
```

Expand Down
2 changes: 1 addition & 1 deletion docs/variables/versions.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
versions:
go: "1.27.2"
go: "1.27.3"
nerdctl: "2.1.3"
docker: "28.3.3"
containerd: "2.3.7"
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/urunc-dev/urunc

go 1.26.8

toolchain go1.27.3

require (
github.com/BurntSushi/toml v1.6.0
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2
Expand Down