Skip to content

Commit

Permalink
chore: Bump up dependencies (aquasecurity#183)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
  • Loading branch information
danielpacak authored Oct 7, 2020
1 parent a72cf04 commit 5b03ae4
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 54 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.14
go-version: 1.15
- name: Checkout code
uses: actions/checkout@v2
- name: Vendor Go modules
Expand All @@ -38,7 +38,8 @@ jobs:
- name: Setup Kubernetes cluster (KIND)
uses: engineerd/setup-kind@v0.4.0
with:
version: v0.8.1
version: v0.9.0
image: kindest/node:v1.18.8@sha256:f4bcc97a0ad6e7abaf3f643d890add7efe6ee4ab90baeb374b4f41a4c95567eb
- name: Test connection to Kubernetes cluster
run: |
kubectl cluster-info
Expand All @@ -56,5 +57,5 @@ jobs:
- name: Release snapshot
uses: goreleaser/goreleaser-action@v2
with:
version: v0.138.0
version: v0.143.0
args: release --snapshot --skip-publish --rm-dist
26 changes: 22 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,40 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.14
go-version: 1.15
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run unit tests
run: make unit-tests
- name: Login to DockerHub Registry
- name: Setup Kubernetes cluster (KIND)
uses: engineerd/setup-kind@v0.4.0
with:
version: v0.9.0
image: kindest/node:v1.18.8@sha256:f4bcc97a0ad6e7abaf3f643d890add7efe6ee4ab90baeb374b4f41a4c95567eb
- name: Test connection to Kubernetes cluster
run: |
kubectl cluster-info
- name: Run integration tests
run: |
echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login --username ${{ secrets.DOCKERHUB_USER }} --password-stdin
make integration-tests
env:
KUBECONFIG: /home/runner/.kube/config
STARBOARD_CLI_LOG_LEVEL: "0"
- name: Log in to docker.io registry
run: |
echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login docker.io --username ${{ secrets.DOCKERHUB_USER }} --password-stdin
- name: Release
uses: goreleaser/goreleaser-action@v2
with:
version: v0.138.0
version: v0.143.0
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Log out from docker.io registry
if: ${{ always() }}
run: |
docker logout docker.io
- name: Update new version for plugin 'starboard' in krew-index
uses: rajatjindal/krew-release-bot@v0.0.38
2 changes: 1 addition & 1 deletion HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Prerequisites

- [Go 1.14 or above](https://golang.org/dl/)
- [Go 1.15 or above](https://golang.org/dl/)

## Getting Started

Expand Down
17 changes: 8 additions & 9 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aquasecurity/starboard

go 1.14
go 1.15

require (
github.com/google/go-containerregistry v0.1.1
Expand All @@ -11,13 +11,12 @@ require (
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.5.1
github.com/valyala/quicktemplate v1.6.2
golang.org/x/tools v0.0.0-20200731060945-b5fad4ed8dd6 // indirect
k8s.io/api v0.19.0-alpha.3
k8s.io/apiextensions-apiserver v0.19.0-alpha.3
k8s.io/apimachinery v0.19.0-alpha.3
k8s.io/cli-runtime v0.19.0-alpha.3
k8s.io/client-go v0.19.0-alpha.3
k8s.io/code-generator v0.19.0-alpha.3
k8s.io/api v0.19.2
k8s.io/apiextensions-apiserver v0.19.2
k8s.io/apimachinery v0.19.2
k8s.io/cli-runtime v0.19.2
k8s.io/client-go v0.19.2
k8s.io/code-generator v0.19.2
k8s.io/klog v1.0.0
k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89
k8s.io/utils v0.0.0-20200729134348-d5654de09c73
)
Loading

0 comments on commit 5b03ae4

Please sign in to comment.