-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6966064
commit 8a257be
Showing
10 changed files
with
203 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,16 +8,29 @@ on: | |
- synchronize | ||
|
||
jobs: | ||
build: | ||
test-e2e: | ||
name: test-e2e on k8s ${{ matrix.k8s.attribute }} version | ||
# Pull request has label 'ok-to-test' or the author is a member of the organization | ||
if: contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(fromJSON('["COLLABORATOR", "MEMBER", "OWNER"]'), github.event.pull_request.author_association) | ||
strategy: | ||
matrix: | ||
k8s: | ||
- version: 1.27.1 | ||
attribute: penultimate | ||
- version: 1.28.0 | ||
attribute: previous | ||
- version: 1.29.0 | ||
attribute: latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.22.2 | ||
- uses: helm/[email protected] | ||
- uses: docker/[email protected] | ||
- uses: tale/[email protected] | ||
with: | ||
cluster_name: kind | ||
- run: make test-e2e KIND_CLUSTER_NAME=kind | ||
kubectl-version: v1.29.3 | ||
# Empty kubeconfig file | ||
base64-kube-config: "YXBpVmVyc2lvbjogdjEKa2luZDogQ29uZmlnCnByZWZlcmVuY2VzOiB7fQo=" | ||
- run: ENVTEST_K8S_VERSION=${{ matrix.k8s.version }} make test-e2e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,16 +8,23 @@ on: | |
- synchronize | ||
|
||
jobs: | ||
build: | ||
test: | ||
name: test on k8s ${{ matrix.k8s.attribute }} version | ||
# Pull request has label 'ok-to-test' or the author is a member of the organization | ||
if: contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(fromJSON('["COLLABORATOR", "MEMBER", "OWNER"]'), github.event.pull_request.author_association) | ||
strategy: | ||
matrix: | ||
k8s_version: [1.27.1,1.28.0,1.29.0] | ||
k8s: | ||
- version: 1.27.1 | ||
attribute: penultimate | ||
- version: 1.28.0 | ||
attribute: previous | ||
- version: 1.29.0 | ||
attribute: latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.22.2 | ||
- run: ENVTEST_K8S_VERSION=${{ matrix.k8s_version }} make test | ||
- run: ENVTEST_K8S_VERSION=${{ matrix.k8s.version }} make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
- main | ||
|
||
jobs: | ||
update_release_draft: | ||
release-drafter: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: release-drafter/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,5 @@ apiVersion: etcd.aenix.io/v1alpha1 | |
kind: EtcdCluster | ||
metadata: | ||
name: test | ||
namespace: default | ||
spec: | ||
replicas: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.