Skip to content

Commit

Permalink
Allow for installing a released version of gloo during k8s tests (#20)
Browse files Browse the repository at this point in the history
* field for released gloo

* don't need test directory for released versions

* got if statement backwards

* add changelog

* go version for tests

* Revert "go version for tests"

This reverts commit 076a83d.

* go mod tidy in GHA

* try go 1.18

* try ginkgo 1.16
  • Loading branch information
elcasteel authored Nov 22, 2022
1 parent d14ece7 commit c055ccc
Show file tree
Hide file tree
Showing 5 changed files with 205 additions and 51 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go 1.14
- name: Set up Go 1.18.2
uses: actions/setup-go@v1
with:
go-version: 1.14
go-version: 1.18.2
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
Expand All @@ -34,5 +34,5 @@ jobs:
- uses: engineerd/[email protected]
- name: Run tests
run: |
go get -v github.com/onsi/ginkgo/ginkgo@v1.12.0 && export PATH=$PATH:$(go env GOPATH)/bin/
go install github.com/onsi/ginkgo/ginkgo@v1.16 && export PATH=$PATH:$(go env GOPATH)/bin/
ginkgo -r -p -failFast -randomizeSuites -randomizeAllSpecs -skipPackage=./installutils/kubeinstall,./debugutils/test
5 changes: 5 additions & 0 deletions changelog/v0.1.1/install-released.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog:
- type: NEW_FEATURE
issueLink: https://github.com/solo-io/solo-projects/issues/4191
resolvesIssue: false
description: Install released versions of gloo.
16 changes: 9 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,25 @@ require (
github.com/go-logr/zapr v0.1.1 // indirect
github.com/go-openapi/spec v0.19.4 // indirect
github.com/gogo/protobuf v1.3.1
github.com/golang/mock v1.4.4
github.com/golang/protobuf v1.4.2
github.com/golang/mock v1.5.0
github.com/golang/protobuf v1.4.3
github.com/google/go-github/v32 v32.0.0
github.com/google/uuid v1.1.1
github.com/google/uuid v1.1.2
github.com/goph/emperror v0.17.1
github.com/gorilla/handlers v1.4.0 // indirect
github.com/hashicorp/consul/api v1.1.0
github.com/onsi/ginkgo v1.12.1
github.com/json-iterator/go v1.1.10 // indirect
github.com/onsi/ginkgo v1.16.5
github.com/onsi/gomega v1.10.1
github.com/pkg/errors v0.9.1
github.com/rotisserie/eris v0.1.1
github.com/solo-io/go-utils v0.21.6
github.com/solo-io/go-utils v0.22.4
github.com/spf13/afero v1.2.2
github.com/xenolf/lego v0.3.2-0.20160613233155-a9d8cec0e656 // indirect
github.com/yvasiyarov/go-metrics v0.0.0-20150112132944-c25f46c4b940 // indirect
github.com/yvasiyarov/gorelic v0.0.6 // indirect
go.uber.org/zap v1.10.0
golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
google.golang.org/protobuf v1.25.0
gopkg.in/square/go-jose.v1 v1.1.2 // indirect
helm.sh/helm/v3 v3.2.4
Expand All @@ -42,8 +43,9 @@ require (
k8s.io/apimachinery v0.18.6
k8s.io/cli-runtime v0.18.0
k8s.io/client-go v0.18.6
k8s.io/utils v0.0.0-20200603063816-c1c6865ac451 // indirect
rsc.io/letsencrypt v0.0.1 // indirect
sigs.k8s.io/controller-runtime v0.6.2
sigs.k8s.io/controller-runtime v0.6.0
sigs.k8s.io/yaml v1.2.0
)

Expand Down
Loading

0 comments on commit c055ccc

Please sign in to comment.