-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Addon] Refactor addon tests CI workflow (#410)
* test changed files Signed-off-by: 楚岳 <[email protected]> add changed files action Signed-off-by: 楚岳 <[email protected]> fix path Signed-off-by: 楚岳 <[email protected]> more tests Signed-off-by: 楚岳 <[email protected]> add 1 Signed-off-by: 楚岳 <[email protected]> push finish work let test Signed-off-by: 楚岳 <[email protected]> delelte uesless file Signed-off-by: 楚岳 <[email protected]> fix Signed-off-by: 楚岳 <[email protected]> fix Signed-off-by: 楚岳 <[email protected]> fix Signed-off-by: 楚岳 <[email protected]> add pending addon Signed-off-by: 楚岳 <[email protected]> fix tests Signed-off-by: 楚岳 <[email protected]> add commnets Signed-off-by: 楚岳 <[email protected]> add test Signed-off-by: 楚岳 <[email protected]> more fix Signed-off-by: 楚岳 <[email protected]> add more tests Signed-off-by: 楚岳 <[email protected]> add more tests Signed-off-by: 楚岳 <[email protected]> add test utils Signed-off-by: 楚岳 <[email protected]> add commnets Signed-off-by: 楚岳 <[email protected]> add more test Signed-off-by: 楚岳 <[email protected]> fix flink Signed-off-by: 楚岳 <[email protected]> fix istio Signed-off-by: 楚岳 <[email protected]> consider downStream addon Signed-off-by: 楚岳 <[email protected]> check semver Signed-off-by: 楚岳 <[email protected]> fix makefile Signed-off-by: 楚岳 <[email protected]> * fix workflow Signed-off-by: 楚岳 <[email protected]>
- Loading branch information
1 parent
9518283
commit 39796f1
Showing
9 changed files
with
352 additions
and
10 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 |
---|---|---|
|
@@ -43,6 +43,10 @@ jobs: | |
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Check addon semver | ||
run: | | ||
make check-addon-semver | ||
- name: Install ginkgo | ||
run: | | ||
sudo apt-get update | ||
|
@@ -84,9 +88,19 @@ jobs: | |
vela cluster join /tmp/worker.kubeconfig --name worker | ||
vela cluster list | ||
- name: Get changed files | ||
id: changed-files | ||
uses: tj-actions/[email protected] | ||
|
||
- name: List all changed files | ||
run: | | ||
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do | ||
echo "$file was changed" | ||
done | ||
- name: Addon e2e-test | ||
run: | | ||
make addon-test | ||
go run test/e2e-test/addon-test/main.go ${{ steps.changed-files.outputs.all_changed_files }} | ||
|
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
5 changes: 1 addition & 4 deletions
5
addons/flink-kubernetes-operator/definitions/flink-cluster.cue
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module github.com/oam-dev/catalog/test/e2e-test/addon-test | ||
|
||
go 1.17 | ||
|
||
require sigs.k8s.io/yaml v1.3.0 | ||
|
||
require gopkg.in/yaml.v2 v2.4.0 // indirect |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= | ||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= | ||
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= | ||
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= | ||
sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= | ||
sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= |
Oops, something went wrong.