From ca74681ab3d1c20850089d3f18413795fe6002c8 Mon Sep 17 00:00:00 2001 From: "Badr, Nesma" Date: Mon, 15 Jan 2024 11:47:23 +0100 Subject: [PATCH 1/5] Add pull-cli-docs --- .github/workflows/pull-cli-docs.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/pull-cli-docs.yaml diff --git a/.github/workflows/pull-cli-docs.yaml b/.github/workflows/pull-cli-docs.yaml new file mode 100644 index 000000000..dfcfaae5b --- /dev/null +++ b/.github/workflows/pull-cli-docs.yaml @@ -0,0 +1,21 @@ +name: pull-cli-docs +on: + pull_request: + branches: + - main + - 'release-**' + workflow_dispatch: +jobs: + validate-docs: + name: docs validation + runs-on: ubuntu-latest + steps: + - name: Checkout Kyma CLI + uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version-file: 'go.mod' + cache-dependency-path: 'go.sum' + - name: Run Docs Validation + run: make validate \ No newline at end of file From 3aed19570ad57c1a0a526be53b21d56e25b9d46a Mon Sep 17 00:00:00 2001 From: "Badr, Nesma" Date: Mon, 15 Jan 2024 12:06:11 +0100 Subject: [PATCH 2/5] Add pull-cli-unit-test --- .github/workflows/pull-cli-unit-test.yaml | 21 +++++++++++++++++++++ prow/pre-cli-e2e.sh | 7 ------- 2 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/pull-cli-unit-test.yaml delete mode 100755 prow/pre-cli-e2e.sh diff --git a/.github/workflows/pull-cli-unit-test.yaml b/.github/workflows/pull-cli-unit-test.yaml new file mode 100644 index 000000000..cf09b2f44 --- /dev/null +++ b/.github/workflows/pull-cli-unit-test.yaml @@ -0,0 +1,21 @@ +name: pull-cli-unit-test +on: + pull_request: + branches: + - main + - 'release-**' + workflow_dispatch: +jobs: + unit-tests: + name: unit tests + runs-on: ubuntu-latest + steps: + - name: Checkout Kyma CLI + uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version-file: 'go.mod' + cache-dependency-path: 'go.sum' + - name: Run Unit Tests + run: make test \ No newline at end of file diff --git a/prow/pre-cli-e2e.sh b/prow/pre-cli-e2e.sh deleted file mode 100755 index eff99a325..000000000 --- a/prow/pre-cli-e2e.sh +++ /dev/null @@ -1,7 +0,0 @@ -set -e -make resolve -make build-linux -cp ./bin/kyma-linux /usr/local/bin/kyma -kyma provision k3d --ci -kyma deploy --ci -kyma undeploy --ci --timeout=10m0s From 360bf7976367e9ebb37c81d1618af6bd88485759 Mon Sep 17 00:00:00 2001 From: "Badr, Nesma" Date: Mon, 15 Jan 2024 12:24:14 +0100 Subject: [PATCH 3/5] Add pull-cli-build --- .github/workflows/pull-cli-build.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/pull-cli-build.yaml diff --git a/.github/workflows/pull-cli-build.yaml b/.github/workflows/pull-cli-build.yaml new file mode 100644 index 000000000..63be2594f --- /dev/null +++ b/.github/workflows/pull-cli-build.yaml @@ -0,0 +1,21 @@ +name: pull-cli-build +on: + pull_request: + branches: + - main + - 'release-**' + workflow_dispatch: +jobs: + cli-build: + name: build + runs-on: ubuntu-latest + steps: + - name: Checkout Kyma CLI + uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version-file: 'go.mod' + cache-dependency-path: 'go.sum' + - name: Run CLI Build + run: make build \ No newline at end of file From 4e35e6e8ca1da7e90c4e08febaa7ac792ad716e8 Mon Sep 17 00:00:00 2001 From: "Badr, Nesma" Date: Tue, 16 Jan 2024 09:54:45 +0100 Subject: [PATCH 4/5] new lines --- .github/workflows/pull-cli-build.yaml | 2 +- .github/workflows/pull-cli-docs.yaml | 2 +- .github/workflows/pull-cli-unit-test.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-cli-build.yaml b/.github/workflows/pull-cli-build.yaml index 63be2594f..23f5c73e0 100644 --- a/.github/workflows/pull-cli-build.yaml +++ b/.github/workflows/pull-cli-build.yaml @@ -18,4 +18,4 @@ jobs: go-version-file: 'go.mod' cache-dependency-path: 'go.sum' - name: Run CLI Build - run: make build \ No newline at end of file + run: make build diff --git a/.github/workflows/pull-cli-docs.yaml b/.github/workflows/pull-cli-docs.yaml index dfcfaae5b..24987db9d 100644 --- a/.github/workflows/pull-cli-docs.yaml +++ b/.github/workflows/pull-cli-docs.yaml @@ -18,4 +18,4 @@ jobs: go-version-file: 'go.mod' cache-dependency-path: 'go.sum' - name: Run Docs Validation - run: make validate \ No newline at end of file + run: make validate diff --git a/.github/workflows/pull-cli-unit-test.yaml b/.github/workflows/pull-cli-unit-test.yaml index cf09b2f44..2afe782b6 100644 --- a/.github/workflows/pull-cli-unit-test.yaml +++ b/.github/workflows/pull-cli-unit-test.yaml @@ -18,4 +18,4 @@ jobs: go-version-file: 'go.mod' cache-dependency-path: 'go.sum' - name: Run Unit Tests - run: make test \ No newline at end of file + run: make test From 4509f4f5d8fce237522c8434ba3e952eb9fd7c1b Mon Sep 17 00:00:00 2001 From: "Badr, Nesma" Date: Tue, 16 Jan 2024 10:16:02 +0100 Subject: [PATCH 5/5] Empty-Commit