-
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 5, 2020
1 parent
c984599
commit 1ef54ce
Showing
4 changed files
with
204 additions
and
3 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
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" |
2 changes: 1 addition & 1 deletion
2
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