Skip to content

Commit

Permalink
Merge pull request doriordan#154 from hagay3/feature/hagai/minikubev2…
Browse files Browse the repository at this point in the history
…1v22

ci: add v1.21 v1.22 v1.23 v1.24
  • Loading branch information
hagay3 authored May 29, 2022
2 parents 95ae7fd + fd61ebb commit eeb13d7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
- name: Checkout current branch (fast)
uses: actions/checkout@v2

- uses: manusa/actions-setup-minikube@v2.5.0
- uses: manusa/actions-setup-minikube@v2.6.0
with:
minikube version: v1.23.2
kubernetes version: v1.19.6
Expand All @@ -155,10 +155,30 @@ jobs:
- name: Checkout current branch (fast)
uses: actions/checkout@v2

- uses: manusa/actions-setup-minikube@v2.5.0
- uses: manusa/actions-setup-minikube@v2.6.0
with:
minikube version: v1.23.2
kubernetes version: v1.20.11
github token: ${{ secrets.GITHUB_TOKEN }}

- run: sbt ++${{ matrix.scala }} It/test

integration-kubernetes-v1-21:
name: integration-kubernetes-v1-21
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.4]
java: [adopt@1.8]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (fast)
uses: actions/checkout@v2

- uses: manusa/actions-setup-minikube@v2.6.0
with:
minikube version: v1.23.2
kubernetes version: v1.21.5
github token: ${{ secrets.GITHUB_TOKEN }}

- run: sbt ++${{ matrix.scala }} It/test
5 changes: 3 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def workflowJobMinikube(jobName: String, k8sServerVersion: String) = {
steps = List(
WorkflowStep.Checkout,
WorkflowStep.Use(
ref = UseRef.Public(owner = "manusa", repo = "actions-setup-minikube", ref = "v2.5.0"),
ref = UseRef.Public(owner = "manusa", repo = "actions-setup-minikube", ref = "v2.6.0"),
params = Map(
"minikubeversion" -> "v1.23.2",
"kubernetesversion" -> k8sServerVersion,
Expand All @@ -107,7 +107,8 @@ inThisBuild(List(
githubWorkflowBuild := Seq(WorkflowStep.Sbt(List("test", "It/compile"))),
githubWorkflowAddedJobs := Seq(
workflowJobMinikube(jobName = "integration-kubernetes-v1-19", k8sServerVersion = "v1.19.6"),
workflowJobMinikube(jobName = "integration-kubernetes-v1-20", k8sServerVersion = "v1.20.11")
workflowJobMinikube(jobName = "integration-kubernetes-v1-20", k8sServerVersion = "v1.20.11"),
workflowJobMinikube(jobName = "integration-kubernetes-v1-21", k8sServerVersion = "v1.21.5")
),
githubWorkflowPublish := Seq(
WorkflowStep.Sbt(
Expand Down

0 comments on commit eeb13d7

Please sign in to comment.