-
Notifications
You must be signed in to change notification settings - Fork 592
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
Sanket
committed
Feb 20, 2020
1 parent
4eedb4b
commit 948095b
Showing
12 changed files
with
246 additions
and
24 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
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
97 changes: 97 additions & 0 deletions
97
frontend/packages/dev-console/integration-tests/views/sample-app-pipeline.yaml
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,97 @@ | ||
apiVersion: tekton.dev/v1alpha1 | ||
kind: Pipeline | ||
metadata: | ||
name: sample-app-pipeline | ||
spec: | ||
tasks: | ||
- name: install-deps | ||
taskRef: | ||
name: install-dependencies | ||
- name: code-sanity | ||
taskRef: | ||
name: lint-and-test | ||
runAfter: | ||
- install-deps | ||
- name: compile | ||
taskRef: | ||
name: build-dist | ||
runAfter: | ||
- install-deps | ||
- name: e2e-tests | ||
taskRef: | ||
name: run-e2e-tests | ||
runAfter: | ||
- code-sanity | ||
- compile | ||
|
||
--- | ||
|
||
apiVersion: tekton.dev/v1alpha1 | ||
kind: Task | ||
metadata: | ||
name: install-dependencies | ||
spec: | ||
steps: | ||
- name: install | ||
image: ubuntu | ||
command: | ||
- echo | ||
args: | ||
- "Installing dependencies...\n\nDependencies installed successfully." | ||
--- | ||
apiVersion: tekton.dev/v1alpha1 | ||
kind: Task | ||
metadata: | ||
name: lint-and-test | ||
spec: | ||
steps: | ||
- name: startup | ||
image: ubuntu | ||
command: | ||
- echo | ||
args: | ||
- "Running Linter and Tests" | ||
- name: lint-errors | ||
image: ubuntu | ||
command: | ||
- echo | ||
args: | ||
- "0 Lint Errors" | ||
- name: test-status | ||
image: ubuntu | ||
command: | ||
- echo | ||
args: | ||
- "0 Test Failures" | ||
- name: coverage-report | ||
image: ubuntu | ||
command: | ||
- echo | ||
args: | ||
- "Exporting Test Coverage Report...\n\nCoverage report can be found in __coverage__" | ||
--- | ||
apiVersion: tekton.dev/v1alpha1 | ||
kind: Task | ||
metadata: | ||
name: build-dist | ||
spec: | ||
steps: | ||
- name: build | ||
image: ubuntu | ||
command: | ||
- echo | ||
args: | ||
- "Compiling code and producing dist folder...\n\nFolder public/dist created" | ||
--- | ||
apiVersion: tekton.dev/v1alpha1 | ||
kind: Task | ||
metadata: | ||
name: run-e2e-tests | ||
spec: | ||
steps: | ||
- name: status | ||
image: ubuntu | ||
command: | ||
- echo | ||
args: | ||
- "Running end-to-end tests...\n\nAll tests pass" |
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
10 changes: 6 additions & 4 deletions
10
frontend/packages/operator-lifecycle-manager/integration-tests/views/operator-hub.view.ts
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.