Skip to content

Commit d889756

Browse files
authored
Merge pull request #55 from gitpod-io/aledbf/update
Update dependencies
2 parents cdca1a1 + bdaa5a2 commit d889756

25 files changed

+153
-1791
lines changed

.github/workflows/build.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Golang
1616
uses: actions/setup-go@v3
1717
with:
18-
go-version: '1.17.5'
18+
go-version: '1.19'
1919
- name: Download all Go modules
2020
run: |
2121
go mod download
@@ -33,7 +33,7 @@ jobs:
3333
- name: Setup Golang
3434
uses: actions/setup-go@v3
3535
with:
36-
go-version: '1.17.5'
36+
go-version: '1.19'
3737
- name: Restore go build cache
3838
uses: actions/cache@v1
3939
with:
@@ -52,11 +52,10 @@ jobs:
5252
- name: Setup Golang
5353
uses: actions/setup-go@v3
5454
with:
55-
go-version: '1.17.5'
55+
go-version: '1.19'
5656
- name: Run golangci-lint
57-
uses: golangci/golangci-lint-action@v3.1.0
57+
uses: golangci/golangci-lint-action@v3
5858
with:
59-
version: v1.45.2
6059
args: --timeout 5m
6160

6261
test-go:
@@ -77,7 +76,7 @@ jobs:
7776
- name: Setup Golang
7877
uses: actions/setup-go@v3
7978
with:
80-
go-version: '1.17.5'
79+
go-version: '1.19'
8180
- name: Restore go build cache
8281
uses: actions/cache@v1
8382
with:
@@ -90,12 +89,12 @@ jobs:
9089
run: pushd pkg/test/runner; ./build.sh; popd
9190
- name: Install the latest buildkit release
9291
run: |
93-
curl -sSL "https://github.com/moby/buildkit/releases/download/v0.10.1/buildkit-v0.10.1.linux-amd64.tar.gz" | sudo tar -xz -C /usr/local
92+
curl -sSL "https://github.com/moby/buildkit/releases/download/v0.10.4/buildkit-v0.10.4.linux-amd64.tar.gz" | sudo tar -xz -C /usr/local
9493
- name: Start buildkit daemon
9594
run: |
9695
sudo --non-interactive --shell <<END_SUDO
9796
install -d -m 0750 -o root -g docker /run/buildkit
98-
buildkitd --oci-worker-snapshotter=stargz &
97+
buildkitd &
9998
while ! test -S /run/buildkit/buildkitd.sock; do sleep 0.1; done
10099
chgrp docker /run/buildkit/buildkitd.sock
101100
END_SUDO
@@ -121,7 +120,7 @@ jobs:
121120
- name: Setup Golang
122121
uses: actions/setup-go@v3
123122
with:
124-
go-version: '1.17.5'
123+
go-version: '1.19'
125124
- name: Restore go build cache
126125
uses: actions/cache@v1
127126
with:

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
name: Setup Golang
1919
uses: actions/setup-go@v3
2020
with:
21-
go-version: '1.17.5'
21+
go-version: '1.19'
2222
-
2323
name: Docker Login
2424
uses: docker/login-action@v1

.gitpod.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ USER root
44
ENV TRIGGER_REBUILD=1
55
RUN echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | sudo tee /etc/apt/sources.list.d/goreleaser.list \
66
&& install-packages goreleaser -y
7-
RUN sudo su -c "cd /usr; curl -L https://github.com/moby/buildkit/releases/download/v0.10.1/buildkit-v0.10.1.linux-amd64.tar.gz | tar xvz"
7+
RUN sudo su -c "cd /usr; curl -L https://github.com/moby/buildkit/releases/download/v0.10.4/buildkit-v0.10.4.linux-amd64.tar.gz | tar xvz"
88
# NOTE: remove when workspace-full includes golangci
99
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sudo BINDIR=/usr/local/bin sh
1010

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM moby/buildkit:v0.10.1
1+
FROM moby/buildkit:v0.10.4
22
WORKDIR /dazzle
33
COPY dazzle README.md /dazzle/
44
ENV PATH=/dazzle:$PATH

cmd/core/build.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ package core
2323
import (
2424
"context"
2525

26-
"github.com/gitpod-io/dazzle/pkg/dazzle"
2726
"github.com/moby/buildkit/client"
2827
"github.com/spf13/cobra"
28+
29+
"github.com/gitpod-io/dazzle/pkg/dazzle"
2930
)
3031

3132
// buildCmd represents the build command

cmd/core/combine.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ import (
2626
"strings"
2727

2828
"github.com/docker/distribution/reference"
29-
"github.com/gitpod-io/dazzle/pkg/dazzle"
3029
"github.com/moby/buildkit/client"
3130
log "github.com/sirupsen/logrus"
3231
"github.com/spf13/cobra"
32+
33+
"github.com/gitpod-io/dazzle/pkg/dazzle"
3334
)
3435

3536
// combineCmd represents the build command

cmd/core/project-add-combination.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ import (
2424
"fmt"
2525
"os"
2626

27-
"github.com/gitpod-io/dazzle/pkg/dazzle"
2827
"github.com/spf13/cobra"
28+
29+
"github.com/gitpod-io/dazzle/pkg/dazzle"
2930
)
3031

3132
var projectAddCombinationCmd = &cobra.Command{

cmd/core/project-hash.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ import (
2525
"fmt"
2626
"os"
2727

28-
"github.com/gitpod-io/dazzle/pkg/dazzle"
2928
"github.com/spf13/cobra"
29+
30+
"github.com/gitpod-io/dazzle/pkg/dazzle"
3031
)
3132

3233
var projectHashCmd = &cobra.Command{

cmd/core/project-ignore.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ import (
2424
"fmt"
2525
"os"
2626

27-
"github.com/gitpod-io/dazzle/pkg/dazzle"
2827
"github.com/spf13/cobra"
28+
29+
"github.com/gitpod-io/dazzle/pkg/dazzle"
2930
)
3031

3132
var projectIgnoreCmd = &cobra.Command{

cmd/core/project-image-name.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ import (
2424
"context"
2525
"fmt"
2626

27-
"github.com/gitpod-io/dazzle/pkg/dazzle"
2827
"github.com/spf13/cobra"
28+
29+
"github.com/gitpod-io/dazzle/pkg/dazzle"
2930
)
3031

3132
var projectImageNameOpts struct {

0 commit comments

Comments
 (0)