Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new devworkspace-controller templates and add cert-manager v1 apiVersion #1100

Merged
merged 6 commits into from
Feb 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/e2e-minikube-devworkspace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#
# Copyright (c) 2012-2020 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
name: Minikube E2E
on: pull_request
jobs:
minikube-e2e:
name: DevWorkspace Engine Deployment
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Provision minikube cluster
run: |
minikube start --memory=6000
minikube addons enable ingress
- name: Install chectl dependencies
run: yarn
- name: Run workspace-engine tests in minikube
run: |
./bin/run server:deploy --telemetry=off --workspace-engine=dev-workspace -p minikube
7 changes: 4 additions & 3 deletions .github/workflows/e2e-minikube-helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Install minikube kubernetes cluster
run: minikube start --memory=6000
- name: Provision minikube cluster
run: |
minikube start --memory=6000
minikube addons enable ingress
- name: Install chectl dependencies
run: yarn
- name: Run e2e tests minikube
run: |
export PLATFORM=minikube
export INSTALLER=helm
minikube addons enable ingress
yarn test --coverage=false --forceExit --testRegex=test/e2e/e2e.test.ts
10 changes: 5 additions & 5 deletions .github/workflows/e2e-minikube-olm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Install minikube kubernetes cluster
run: minikube start --memory=6000
- name: Provision minikube cluster
run: |
minikube start --memory=6000
minikube addons enable ingress
minikube addons enable olm
- name: Install chectl dependencies
run: yarn
- name: Run olm e2e tests minikube
run: |
export PLATFORM=minikube
export INSTALLER=olm
minikube addons enable olm
minikube addons enable ingress

sleep 60
yarn test --coverage=false --forceExit --testRegex=test/e2e/e2e.test.ts
7 changes: 4 additions & 3 deletions .github/workflows/e2e-minikube-operator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Install minikube kubernetes cluster
run: minikube start --memory=6000
- name: Provision minikube cluster
run: |
minikube start --memory=6000
minikube addons enable ingress
- name: Install chectl dependencies
run: yarn
- name: Run e2e tests minikube
run: |
export PLATFORM=minikube
export INSTALLER=operator
minikube addons enable ingress
yarn test --coverage=false --forceExit --testRegex=test/e2e/e2e.test.ts
2 changes: 1 addition & 1 deletion .github/workflows/happy-path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
id: deploy-che
uses: che-incubator/che-deploy-action@next
with:
# use custom image built by this PR
# use custom chectl built by this PR
skip-chectl-install: true
- name: Run Happy Path tests
id: run-happy-path-tests
Expand Down
33 changes: 9 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,32 +406,21 @@ USAGE
$ chectl server:delete

OPTIONS
-h, --help show CLI help

-n, --chenamespace=chenamespace Eclipse Che Kubernetes namespace. Default to
'eclipse-che'

-y, --yes Automatic yes to prompts; assume "yes" as
answer to all prompts and run
non-interactively
-h, --help show CLI help
-n, --chenamespace=chenamespace Eclipse Che Kubernetes namespace. Default to 'eclipse-che'

--batch Batch mode. Running a command without end
user interaction.
-y, --yes Automatic yes to prompts; assume "yes" as answer to all prompts and run
non-interactively

--delete-namespace Indicates that a Eclipse Che namespace will
be deleted as well
--batch Batch mode. Running a command without end user interaction.

--deployment-name=deployment-name [default: che] Eclipse Che deployment name
--delete-namespace Indicates that a Eclipse Che namespace will be deleted as well

--dev-workspace-controller-namespace=dev-workspace-controller-namespace [default: devworkspace-controller] Namespace
for the DevWorkspace controller. This
parameter is used only when the workspace
engine is the DevWorkspace
--deployment-name=deployment-name [default: che] Eclipse Che deployment name

--skip-kubernetes-health-check Skip Kubernetes health check
--skip-kubernetes-health-check Skip Kubernetes health check

--telemetry=on|off Enable or disable telemetry. This flag skips
a prompt and enable/disable telemetry
--telemetry=on|off Enable or disable telemetry. This flag skips a prompt and enable/disable telemetry
```

_See code: [src/commands/server/delete.ts](https://github.com/che-incubator/chectl/blob/v0.0.2/src/commands/server/delete.ts)_
Expand Down Expand Up @@ -698,10 +687,6 @@ OPTIONS
--deployment-name=deployment-name
[default: che] Eclipse Che deployment name

--dev-workspace-controller-namespace=dev-workspace-controller-namespace
[default: devworkspace-controller] Namespace for the DevWorkspace controller. This parameter is used only when the
workspace engine is the DevWorkspace

--skip-kubernetes-health-check
Skip Kubernetes health check

Expand Down
Loading