Skip to content

Commit a657ac0

Browse files
committed
Update actions and base image to support go 1.20
Signed-off-by: Petr Fedchenkov <[email protected]>
1 parent 3f6a4f3 commit a657ac0

File tree

9 files changed

+16
-15
lines changed

9 files changed

+16
-15
lines changed

.github/actions/setup-environment/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ runs:
2121
- name: Setup go
2222
uses: actions/setup-go@v3
2323
with:
24-
go-version: '1.18'
24+
go-version: '1.20'
2525
- name: Check
2626
run: |
2727
for addr in $(ip addr list|sed -En -e 's/.*inet ([0-9.]+).*/\1/p')

.github/workflows/eden_gcp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: setup go
3535
uses: actions/setup-go@v3
3636
with:
37-
go-version: '1.18'
37+
go-version: '1.20'
3838
- name: Check
3939
run: |
4040
for addr in $(ip addr list|sed -En -e 's/.*inet ([0-9.]+).*/\1/p')

.github/workflows/eden_setup.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: setup go
2525
uses: actions/setup-go@v3
2626
with:
27-
go-version: '1.18'
27+
go-version: '1.20'
2828
- name: build docker images
2929
run: |
3030
make LINUXKIT_TARGET=build DOCKER_PLATFORM=linux/arm64 build-docker
@@ -48,7 +48,7 @@ jobs:
4848
- name: setup go
4949
uses: actions/setup-go@v3
5050
with:
51-
go-version: '1.18'
51+
go-version: '1.20'
5252
- name: build eden
5353
run: |
5454
make clean

.github/workflows/unit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: setup go
1414
uses: actions/setup-go@v3
1515
with:
16-
go-version: '1.18'
16+
go-version: '1.20'
1717
- name: run tests
1818
run: go test -json $(go list ./... | grep -v /eden/tests/) > test.json
1919
- name: Annotate tests

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lfedge/eve-alpine:8.12.0 as build
1+
FROM lfedge/eve-alpine:12.1.0 as build
22
ENV BUILD_PKGS go make qemu-img git
33
RUN eve-alpine-deploy.sh
44

eserver/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lfedge/eve-alpine:8.12.0 AS build
1+
FROM lfedge/eve-alpine:12.1.0 AS build
22
ENV BUILD_PKGS go git openssh-keygen
33
RUN eve-alpine-deploy.sh
44

processing/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lfedge/eve-alpine:8.12.0 as build
1+
FROM lfedge/eve-alpine:12.1.0 as build
22
ENV BUILD_PKGS git
33
ENV PKGS perl gawk git
44
RUN eve-alpine-deploy.sh

sdn/vm/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lfedge/eve-alpine:8.12.0 as build
1+
FROM lfedge/eve-alpine:12.1.0 as build
22

33
ENV BUILD_PKGS git gcc go make wget libc-dev linux-headers
44
ENV PKGS bash iptables ip6tables iproute2 dhcpcd ipset curl radvd ethtool jq tcpdump \

sdn/vm/api/endpoints.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -365,12 +365,13 @@ func (e TransparentProxy) ReferencesFromItem() []LogicalLabelRef {
365365
// iPXE-enabled client).
366366
//
367367
// Example config for dnsmasq:
368-
// # Boot for iPXE. The idea is to send two different
369-
// # filenames, the first loads iPXE, and the second tells iPXE what to
370-
// # load. The dhcp-match sets the ipxe tag for requests from iPXE.
371-
// #dhcp-boot=undionly.kpxe
372-
// #dhcp-match=set:ipxe,175 # iPXE sends a 175 option.
373-
// #dhcp-boot=tag:ipxe,http://boot.ipxe.org/demo/boot.php
368+
//
369+
// # Boot for iPXE. The idea is to send two different
370+
// # filenames, the first loads iPXE, and the second tells iPXE what to
371+
// # load. The dhcp-match sets the ipxe tag for requests from iPXE.
372+
// #dhcp-boot=undionly.kpxe
373+
// #dhcp-match=set:ipxe,175 # iPXE sends a 175 option.
374+
// #dhcp-boot=tag:ipxe,http://boot.ipxe.org/demo/boot.php
374375
//
375376
// [1] https://ipxe.org/howto/chainloading
376377
type NetbootServer struct {

0 commit comments

Comments
 (0)