mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
openshift/odo -> redhat-developer/odo (#5268)
* openshift/odo -> redhat-developer/odo * update more links to redhat-developer
This commit is contained in:
2
.github/ISSUE_TEMPLATE/Documentation.md
vendored
2
.github/ISSUE_TEMPLATE/Documentation.md
vendored
@@ -9,7 +9,7 @@ about: Report mistakes or request for documentation
|
||||
|
||||
Welcome! - We kindly ask you to:
|
||||
|
||||
1. Check the documents under https://github.com/openshift/odo/tree/main/docs
|
||||
1. Check the documents under https://github.com/redhat-developer/odo/tree/main/docs
|
||||
2. Use the Google group if you have a question/doubt rather than a documentat mistake or request.
|
||||
|
||||
The group is at: https://groups.google.com/forum/#!forum/odo-users
|
||||
|
||||
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -7,7 +7,7 @@
|
||||
> /kind cleanup
|
||||
> /kind tests
|
||||
> /kind documentation
|
||||
> Feel free to use other [labels](https://github.com/openshift/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well.
|
||||
> Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well.
|
||||
|
||||
**What does this PR do / why we need it**:
|
||||
|
||||
@@ -23,6 +23,6 @@ Fixes #?
|
||||
|
||||
- [ ] Documentation
|
||||
|
||||
- [ ] I have read the [test guidelines](https://github.com/openshift/odo/blob/master/docs/dev/test-architecture.adoc)
|
||||
- [ ] I have read the [test guidelines](https://github.com/redhat-developer/odo/blob/master/docs/dev/test-architecture.adoc)
|
||||
|
||||
**How to test changes / Special notes to the reviewer**:
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
|
||||
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.16 AS builder
|
||||
|
||||
COPY . /go/src/github.com/openshift/odo
|
||||
WORKDIR /go/src/github.com/openshift/odo
|
||||
COPY . /go/src/github.com/redhat-developer/odo
|
||||
WORKDIR /go/src/github.com/redhat-developer/odo
|
||||
RUN make cross
|
||||
|
||||
FROM registry.access.redhat.com/ubi7/ubi
|
||||
|
||||
LABEL com.redhat.component=atomic-openshift-odo-cli-artifacts-container \
|
||||
name=openshift/odo-cli-artifacts \
|
||||
name=redhat-developer/odo-cli-artifacts \
|
||||
io.k8s.display-name=atomic-openshift-odo-cli-artifacts-image \
|
||||
maintainer=devtools-deploy@redhat.com \
|
||||
summary="This image contains the Linux, Mac and Windows version of odo"
|
||||
@@ -18,6 +18,6 @@ LABEL com.redhat.component=atomic-openshift-odo-cli-artifacts-container \
|
||||
# Change version as needed. Note no "-" is allowed
|
||||
LABEL version=2.4.3
|
||||
|
||||
COPY --from=builder /go/src/github.com/openshift/odo/dist/bin/darwin-amd64/odo /usr/share/openshift/odo/mac/odo
|
||||
COPY --from=builder /go/src/github.com/openshift/odo/dist/bin/windows-amd64/odo.exe /usr/share/openshift/odo/windows/odo.exe
|
||||
COPY --from=builder /go/src/github.com/openshift/odo/dist/bin/linux-amd64/odo /usr/share/openshift/odo/linux/odo
|
||||
COPY --from=builder /go/src/github.com/redhat-developer/odo/dist/bin/darwin-amd64/odo /usr/share/redhat-developer/odo/mac/odo
|
||||
COPY --from=builder /go/src/github.com/redhat-developer/odo/dist/bin/windows-amd64/odo.exe /usr/share/redhat-developer/odo/windows/odo.exe
|
||||
COPY --from=builder /go/src/github.com/redhat-developer/odo/dist/bin/linux-amd64/odo /usr/share/redhat-developer/odo/linux/odo
|
||||
|
||||
2
Makefile
2
Makefile
@@ -1,4 +1,4 @@
|
||||
PROJECT := github.com/openshift/odo
|
||||
PROJECT := github.com/redhat-developer/odo
|
||||
ifdef GITCOMMIT
|
||||
GITCOMMIT := $(GITCOMMIT)
|
||||
else
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
`odo` - Developer-focused CLI for Kubernetes and OpenShift
|
||||
---
|
||||
|
||||
[](https://github.com/openshift/odo/releases/latest)
|
||||

|
||||
[](https://github.com/redhat-developer/odo/releases/latest)
|
||||

|
||||
[](https://odo.dev/godoc)
|
||||
[](https://app.netlify.com/sites/odo-docusaurus-preview/deploys)
|
||||
|
||||
@@ -58,7 +58,7 @@ Ask questions, inquire about odo or even discuss a new feature.
|
||||
|
||||
#### Issues
|
||||
|
||||
If you find an issue with `odo`, please [file it here](https://github.com/openshift/odo/issues).
|
||||
If you find an issue with `odo`, please [file it here](https://github.com/redhat-developer/odo/issues).
|
||||
|
||||
|
||||
#### Contributing
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/openshift/odo/pkg/odo/cli"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/redhat-developer/odo/pkg/odo/cli"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/pflag"
|
||||
)
|
||||
|
||||
@@ -5,14 +5,14 @@ import (
|
||||
"flag"
|
||||
"os"
|
||||
|
||||
"github.com/openshift/odo/pkg/log"
|
||||
"github.com/openshift/odo/pkg/odo/cli"
|
||||
"github.com/openshift/odo/pkg/odo/cli/version"
|
||||
"github.com/openshift/odo/pkg/odo/util"
|
||||
"github.com/openshift/odo/pkg/odo/util/completion"
|
||||
"github.com/openshift/odo/pkg/preference"
|
||||
segment "github.com/openshift/odo/pkg/segment/context"
|
||||
"github.com/posener/complete"
|
||||
"github.com/redhat-developer/odo/pkg/log"
|
||||
"github.com/redhat-developer/odo/pkg/odo/cli"
|
||||
"github.com/redhat-developer/odo/pkg/odo/cli/version"
|
||||
"github.com/redhat-developer/odo/pkg/odo/util"
|
||||
"github.com/redhat-developer/odo/pkg/odo/util/completion"
|
||||
"github.com/redhat-developer/odo/pkg/preference"
|
||||
segment "github.com/redhat-developer/odo/pkg/segment/context"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/pflag"
|
||||
"k8s.io/klog"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
== Running PR test job on PSI
|
||||
|
||||
PSI contains an Openshift cluster running behind firewall, we are using prow to create request for PRs, we are running rabbitmq on a public cloud to access queue for creating jobs with internal jenkins(behind a firewall). Prow uses ci-firewall within https://github.com/openshift/odo/blob/main/scripts/openshiftci-presubmit-all-tests.sh[scripts/openshiftci-presubmit-all-tests.sh] to create request to rabbitmq. ci-firewall creates a json message `CI_MESSAGE='{"repourl": "repourl", "kind": "PR", "target": "target", "setupscript": "setupscript", "runscript": "runscript", "rcvident": "rcvident", "runscripturl": "http://url", "mainbranch": "master"}'` passes it to the rabbitmq send queue as an env variable, for every message in send queue a build is triggered using a jenkins robot account, jenkins then executes the build script to start the test on the node provided in SSHNodeFile(json contains information related to node), SSHNodeFile can contain multiple node information. CI-firewall then executes the test and send back logs for tests using a receive queue.
|
||||
PSI contains an Openshift cluster running behind firewall, we are using prow to create request for PRs, we are running rabbitmq on a public cloud to access queue for creating jobs with internal jenkins(behind a firewall). Prow uses ci-firewall within https://github.com/redhat-developer/odo/blob/main/scripts/openshiftci-presubmit-all-tests.sh[scripts/openshiftci-presubmit-all-tests.sh] to create request to rabbitmq. ci-firewall creates a json message `CI_MESSAGE='{"repourl": "repourl", "kind": "PR", "target": "target", "setupscript": "setupscript", "runscript": "runscript", "rcvident": "rcvident", "runscripturl": "http://url", "mainbranch": "master"}'` passes it to the rabbitmq send queue as an env variable, for every message in send queue a build is triggered using a jenkins robot account, jenkins then executes the build script to start the test on the node provided in SSHNodeFile(json contains information related to node), SSHNodeFile can contain multiple node information. CI-firewall then executes the test and send back logs for tests using a receive queue.
|
||||
|
||||
Jenkins build script
|
||||
[source,sh]
|
||||
@@ -40,7 +40,7 @@ SSHNodeFile
|
||||
|
||||
=== Running integration tests on Prow
|
||||
|
||||
Prow is the Kubernetes or OpenShift way of managing workflow, including tests. Odo integration and periodic test targets are passed through the script scripts/openshiftci-presubmit-all-tests.sh and scripts/openshiftci-periodic-tests.sh respectively available in the https://github.com/openshift/odo/tree/main/scripts[odo] repository. Prow uses the script through the command attribute of the odo job configuration file in https://github.com/openshift/release/tree/master/ci-operator/config/openshift/odo[openshift/release] repository.
|
||||
Prow is the Kubernetes or OpenShift way of managing workflow, including tests. Odo integration and periodic test targets are passed through the script scripts/openshiftci-presubmit-all-tests.sh and scripts/openshiftci-periodic-tests.sh respectively available in the https://github.com/redhat-developer/odo/tree/main/scripts[odo] repository. Prow uses the script through the command attribute of the odo job configuration file in https://github.com/openshift/release/tree/master/ci-operator/config/redhat-developer/odo[openshift/release] repository.
|
||||
|
||||
For running integration test on 4.x cluster, job configuration file will be
|
||||
[source,sh]
|
||||
|
||||
@@ -24,7 +24,7 @@ If you are adding any features that require a higher version of golang, than the
|
||||
|
||||
First setup your fork of the odo project, following the steps below
|
||||
|
||||
. link:https://help.github.com/en/articles/fork-a-repo[Fork] the link:https://github.com/openshift/odo[`odo`] repository.
|
||||
. link:https://help.github.com/en/articles/fork-a-repo[Fork] the link:https://github.com/redhat-developer/odo[`odo`] repository.
|
||||
|
||||
. Clone your fork:
|
||||
+
|
||||
@@ -33,9 +33,9 @@ we would be cloning it under `$GOPATH`
|
||||
+
|
||||
|
||||
----
|
||||
$ git clone https://github.com/<YOUR_GITHUB_USERNAME>/odo.git $GOPATH/src/github.com/openshift/odo
|
||||
$ cd $GOPATH/src/github.com/openshift/odo
|
||||
$ git remote add upstream 'https://github.com/openshift/odo'
|
||||
$ git clone https://github.com/<YOUR_GITHUB_USERNAME>/odo.git $GOPATH/src/github.com/redhat-developer/odo
|
||||
$ cd $GOPATH/src/github.com/redhat-developer/odo
|
||||
$ git remote add upstream 'https://github.com/redhat-developer/odo'
|
||||
----
|
||||
+
|
||||
When cloning `odo`, the Windows terminal such as PowerShell or CMD may throw a *Filename too long* error. To avoid such an error, set your Git configuration as follows:
|
||||
@@ -183,9 +183,9 @@ $ ./scripts/changelog-script.sh ${PREVIOUS_VERSION} ${NEW_VERSION}
|
||||
.. Create a PR to update `:tag` and `:revision` in the https://github.com/kadel/homebrew-odo/blob/master/Formula/odo.rb[`odo.rb`] file
|
||||
in https://github.com/kadel/homebrew-odo[`kadel/homebrew-odo`].
|
||||
. Create a PR and update the file `build/VERSION` with the latest version number.
|
||||
. Create a blog post! Follow the https://github.com/openshift/odo/tree/main/docs/blog[template.md] file and push it to the website (a tutorial is located on the https://github.com/openshift/odo/tree/gh-pages[gh-pages] branch of odo
|
||||
. After the blog post, ideally the CHANGELOG in the release should be the same as the blog post. This is an example of a good release changelog: https://github.com/openshift/odo/releases/tag/v2.0.0
|
||||
. Add the built site (including the blog post) to the release with `site.tar.gz` using the https://github.com/openshift/odo/tree/gh-pages#bundling-the-site-for-releases[bundling the site for releases] guide.
|
||||
. Create a blog post! Follow the https://github.com/redhat-developer/odo/tree/main/docs/blog[template.md] file and push it to the website (a tutorial is located on the https://github.com/redhat-developer/odo/tree/gh-pages[gh-pages] branch of odo
|
||||
. After the blog post, ideally the CHANGELOG in the release should be the same as the blog post. This is an example of a good release changelog: https://github.com/redhat-developer/odo/releases/tag/v2.0.0
|
||||
. Add the built site (including the blog post) to the release with `site.tar.gz` using the https://github.com/redhat-developer/odo/tree/gh-pages#bundling-the-site-for-releases[bundling the site for releases] guide.
|
||||
|
||||
== Writing machine readable output code
|
||||
|
||||
@@ -251,7 +251,7 @@ personal access token.
|
||||
|
||||
== Licenses
|
||||
|
||||
`odo` uses link:https://github.com/frapposelli/wwhrd[wwhrd] to check license compatibility of vendor packages. The configuration for `wwhrd` is stored in link:https://github.com/openshift/odo/blob/main/.wwhrd.yml[`.wwhrd.yml`].
|
||||
`odo` uses link:https://github.com/frapposelli/wwhrd[wwhrd] to check license compatibility of vendor packages. The configuration for `wwhrd` is stored in link:https://github.com/redhat-developer/odo/blob/main/.wwhrd.yml[`.wwhrd.yml`].
|
||||
|
||||
The `whitelist` section is for licenses that are always allowed. The `blacklist` section is for licenses that are never allowed and will always fail a build. Any licenses that are not explicitly mentioned come under the `exceptions` section and need to be explicitly allowed by adding the import path to the exceptions.
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
= test-architecture-ppc64le
|
||||
For all tests on ppc64le arch, the openshift cluster version is 4.3 or newer.
|
||||
The prerequisites, please refer to default https://github.com/openshift/odo/blob/main/docs/dev/test-architecture.adoc[test-architecture]!
|
||||
The prerequisites, please refer to default https://github.com/redhat-developer/odo/blob/main/docs/dev/test-architecture.adoc[test-architecture]!
|
||||
|
||||
== Running integration and e2e tests locally
|
||||
|
||||
Odo CI for ppc64le is running locally now.The scripts/configure-installer-tests-cluster-ppc64le.sh is available in the https://github.com/openshift/odo/tree/main/scripts[odo] repository to help configure the test environment and the scripts/openshiftci-presubmit-all-tests.sh is available in the https://github.com/openshift/odo/tree/main/scripts[odo] repository to run integration and e2e tests covered on ppc64le arch.
|
||||
Odo CI for ppc64le is running locally now.The scripts/configure-installer-tests-cluster-ppc64le.sh is available in the https://github.com/redhat-developer/odo/tree/main/scripts[odo] repository to help configure the test environment and the scripts/openshiftci-presubmit-all-tests.sh is available in the https://github.com/redhat-developer/odo/tree/main/scripts[odo] repository to run integration and e2e tests covered on ppc64le arch.
|
||||
For running all covered integration and e2e tests on 4.x cluster, you can run:
|
||||
----
|
||||
./scripts/openshiftci-presubmit-all-tests.sh
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
= test-architecture-s390x
|
||||
For all tests on s390x arch, the openshift cluster version is 4.3 or newer.
|
||||
The prerequisites, please refer to default https://github.com/openshift/odo/blob/main/docs/dev/test-architecture.adoc[test-architecture]!
|
||||
The prerequisites, please refer to default https://github.com/redhat-developer/odo/blob/main/docs/dev/test-architecture.adoc[test-architecture]!
|
||||
|
||||
== Running integration and e2e tests locally
|
||||
|
||||
Odo CI for s390x is running locally now.The scripts/configure-installer-tests-cluster-s390x.sh is available in the https://github.com/openshift/odo/tree/main/scripts[odo] repository to help configure the test environment and the scripts/openshiftci-presubmit-all-tests.sh is available in the https://github.com/openshift/odo/tree/main/scripts[odo] repository to run integration and e2e tests covered on s390x arch.
|
||||
Odo CI for s390x is running locally now.The scripts/configure-installer-tests-cluster-s390x.sh is available in the https://github.com/redhat-developer/odo/tree/main/scripts[odo] repository to help configure the test environment and the scripts/openshiftci-presubmit-all-tests.sh is available in the https://github.com/redhat-developer/odo/tree/main/scripts[odo] repository to run integration and e2e tests covered on s390x arch.
|
||||
For running all covered integration and e2e tests on 4.x cluster, you can run:
|
||||
----
|
||||
./scripts/openshiftci-presubmit-all-tests.sh
|
||||
|
||||
@@ -30,7 +30,7 @@ The tests are written in golang using the https://golang.org/pkg/testing/[pkg/te
|
||||
. Initialize the fake client along with the relevant client sets.
|
||||
The following example explains the initialization of fake clients and the creation of fake objects.
|
||||
+
|
||||
The function `GetImageStreams` in https://github.com/openshift/odo/blob/main/pkg/occlient/occlient.go[`pkg/occlient.go`] fetches imagestream objects through the API:
|
||||
The function `GetImageStreams` in https://github.com/redhat-developer/odo/blob/main/pkg/occlient/occlient.go[`pkg/occlient.go`] fetches imagestream objects through the API:
|
||||
+
|
||||
[source,go]
|
||||
----
|
||||
@@ -81,7 +81,7 @@ func (c *FakeImageStreams) List(opts v1.ListOptions) (result *image_v1.ImageStre
|
||||
The `List` function internally calls `NewListAction` defined in link:https://github.com/kubernetes/client-go/blob/master/testing/actions.go[`k8s.io/client-go/testing/actions.go`].
|
||||
From these functions, we see that the `resource` and `verb` to be passed into the `PrependReactor` interface are `imagestreams` and `list` respectively.
|
||||
+
|
||||
You can see the entire test function `TestGetImageStream` in link:https://github.com/openshift/odo/blob/main/pkg/occlient/occlient_test.go[`pkg/occlient/occlient_test.go`].
|
||||
You can see the entire test function `TestGetImageStream` in link:https://github.com/redhat-developer/odo/blob/main/pkg/occlient/occlient_test.go[`pkg/occlient/occlient_test.go`].
|
||||
+
|
||||
NOTE: You can use environment variable `CUSTOM_HOMEDIR` to specify a custom home directory. It can be used in environments where a user and home directory are not resolvable.
|
||||
|
||||
@@ -134,7 +134,7 @@ If you are running `operatorhub` tests then you need to install certain operator
|
||||
- Service Binding operator
|
||||
- Postgres operator
|
||||
|
||||
Etcd and Service Binding operator can be installed by running link:https://github.com/openshift/odo/blob/main/scripts/configure-cluster/common/setup-operators.sh[setup-operator.sh]. To install Postgres operator you can run the following commands
|
||||
Etcd and Service Binding operator can be installed by running link:https://github.com/redhat-developer/odo/blob/main/scripts/configure-cluster/common/setup-operators.sh[setup-operator.sh]. To install Postgres operator you can run the following commands
|
||||
|
||||
----
|
||||
oc new-project odo-operator-test
|
||||
@@ -176,11 +176,11 @@ E2e (End to end) uses the same library as integration test. E2e tests and test s
|
||||
|
||||
*How to write:*
|
||||
|
||||
Refer to the odo clean test link:https://github.com/openshift/odo/blob/main/tests/template/template_cleantest_test.go[`template`].
|
||||
Refer to the odo clean test link:https://github.com/redhat-developer/odo/blob/main/tests/template/template_cleantest_test.go[`template`].
|
||||
|
||||
*Test guidelines:*
|
||||
|
||||
Please follow certain protocol before contributing to odo tests. This helps in how to contribute in link:https://github.com/openshift/odo/tree/main/tests[`odo tests`]. For better understanding of writing test please refer Ginkgo link:https://onsi.github.io/ginkgo/#getting-ginkgo[documentation] and Ginkgo's preferred matcher library Gomega link:http://onsi.github.io/gomega/[documentation].
|
||||
Please follow certain protocol before contributing to odo tests. This helps in how to contribute in link:https://github.com/redhat-developer/odo/tree/main/tests[`odo tests`]. For better understanding of writing test please refer Ginkgo link:https://onsi.github.io/ginkgo/#getting-ginkgo[documentation] and Ginkgo's preferred matcher library Gomega link:http://onsi.github.io/gomega/[documentation].
|
||||
|
||||
* Before writing tests (Integration/e2e) scenario make sure that the test scenario (Integration or e2e) is identified properly.
|
||||
+
|
||||
@@ -289,7 +289,7 @@ Expect(output).To(ContainSubstring("No file changes detected, skipping build"))
|
||||
* If oc, odo or generic library you are looking for is not present in helper package then create a new library function as per the scenario requirement. Avoid unnecessary function implementation within test files. Check to see if there is a helper function already implemented.
|
||||
+
|
||||
|
||||
* If you are looking for delay with a specific feature test, don't use hard time.Sleep() function. Yes, you can use but as a polling interval of maximum duration. Check the link:https://github.com/openshift/odo/tree/main/tests/helper[`helper package`] for more such reference.
|
||||
* If you are looking for delay with a specific feature test, don't use hard time.Sleep() function. Yes, you can use but as a polling interval of maximum duration. Check the link:https://github.com/redhat-developer/odo/tree/main/tests/helper[`helper package`] for more such reference.
|
||||
+
|
||||
|
||||
----
|
||||
@@ -355,7 +355,7 @@ NOTE: To see the number of available integration test file for validation, press
|
||||
|
||||
*Running integration tests on Kubernetes:*
|
||||
|
||||
By default, the link:https://github.com/openshift/odo/tree/main/tests/integration/devfile[`integration tests`] for the devfile feature run against a `kubernetes` cluster.
|
||||
By default, the link:https://github.com/redhat-developer/odo/tree/main/tests/integration/devfile[`integration tests`] for the devfile feature run against a `kubernetes` cluster.
|
||||
|
||||
The tests are run against the `odo` binary placed in the PATH which is created by the command `make`. Integration tests can be run in two ways (parallel and sequential). To control the parallel run use environment variable `TEST_EXEC_NODES`. For example, the devfile tests can be run
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
== Usage Data Collection
|
||||
With user approval, we collect pseudonymized user data that will help us improve odo.
|
||||
|
||||
To learn more about what data is being collected and how to configure this collection, see link:{https://github.com/openshift/odo/blob/main/USAGE_DATA.adoc}[USAGE_DATA.adoc].
|
||||
To learn more about what data is being collected and how to configure this collection, see link:{https://github.com/redhat-developer/odo/blob/main/USAGE_DATA.adoc}[USAGE_DATA.adoc].
|
||||
|
||||
|
||||
== Data Collection Process
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
## Summary
|
||||
|
||||
With this proposal and [it's related issue](https://github.com/openshift/odo/issues/2550) we examine how to consume build/run event output from odo in order to allow external tools (such as IDEs) to determine the application/build status of an odo-managed application.
|
||||
With this proposal and [it's related issue](https://github.com/redhat-developer/odo/issues/2550) we examine how to consume build/run event output from odo in order to allow external tools (such as IDEs) to determine the application/build status of an odo-managed application.
|
||||
|
||||
In short, the proposal is:
|
||||
- New flag for push command, `odo push -o json`: Outputs JSON events that correspond to what devfile actions/commands are being executed by push.
|
||||
|
||||
@@ -11,10 +11,10 @@ Devfiles support commands that can be triggered based on development lifecycle e
|
||||
## User Stories
|
||||
Each lifecycle event would be suited to individual user stories. We propose that at least one issue is made for each of them for tracking and implementation purposes.
|
||||
|
||||
- Add support for `preStart` commands: [preStart lifecycle event support](https://github.com/openshift/odo/issues/3565)
|
||||
- Add support for `postStart` commands: [container initialization support](https://github.com/openshift/odo/issues/2936)
|
||||
- Add support for `preStop` commands: [preStop lifecycle event support](https://github.com/openshift/odo/issues/3566)
|
||||
- Add support for `postStop` commands: [postStop lifecycle event support](https://github.com/openshift/odo/issues/3577)
|
||||
- Add support for `preStart` commands: [preStart lifecycle event support](https://github.com/redhat-developer/odo/issues/3565)
|
||||
- Add support for `postStart` commands: [container initialization support](https://github.com/redhat-developer/odo/issues/2936)
|
||||
- Add support for `preStop` commands: [preStop lifecycle event support](https://github.com/redhat-developer/odo/issues/3566)
|
||||
- Add support for `postStop` commands: [postStop lifecycle event support](https://github.com/redhat-developer/odo/issues/3577)
|
||||
|
||||
## Design overview
|
||||
Some of the events might not be useful for `odo` to adopt. We should only support the ones that have a clear use-case, and then add more as other use-cases emerge.
|
||||
|
||||
@@ -36,7 +36,7 @@ User flow:
|
||||
|
||||
## User stories
|
||||
|
||||
### Initial build and deploy support to odo - https://github.com/openshift/odo/issues/3300
|
||||
### Initial build and deploy support to odo - https://github.com/redhat-developer/odo/issues/3300
|
||||
|
||||
## Design overview
|
||||
`odo deploy` could provide developers with a way to build a container image for their application and deploy it on a target Kubernetes deployment using the build/deploy guidance provided by the devfile.
|
||||
|
||||
@@ -63,7 +63,7 @@ of linking services to components without using the Operator.
|
||||
|
||||
## List the services/operators
|
||||
Taking this from [Tomas’s
|
||||
comment](https://github.com/openshift/odo/issues/2461#issuecomment-566577064)
|
||||
comment](https://github.com/redhat-developer/odo/issues/2461#issuecomment-566577064)
|
||||
on the issue. Added column for available plans. But do Operators have “PLANS”?
|
||||
We should prune the PLANS column and let that piece be handled by `odo catalog
|
||||
describe service <service-name>`.
|
||||
@@ -118,7 +118,7 @@ $ odo service create <operator-name> <service-name> --crd <crd-name> -p paramete
|
||||
```
|
||||
|
||||
## Link components with operands
|
||||
[GitHub issue](https://github.com/openshift/odo/issues/2463)
|
||||
[GitHub issue](https://github.com/redhat-developer/odo/issues/2463)
|
||||
|
||||
In its current form, linking a component with another component/service
|
||||
involves making the Secrets (environment variables) of the component/service
|
||||
@@ -132,7 +132,7 @@ the two without adding the dependency on this operator. This should help us be
|
||||
agnostic of backend cluster being OpenShift or Kubernetes.
|
||||
|
||||
## Listing the services
|
||||
[GitHub issue](https://github.com/openshift/odo/issues/2479)
|
||||
[GitHub issue](https://github.com/redhat-developer/odo/issues/2479)
|
||||
|
||||
At the moment, we use `odo service list --app <app-name> --project
|
||||
<project-name>` to list the services in a given application and project. We
|
||||
@@ -152,7 +152,7 @@ For Operator Hub instances, `TYPE` column could indicate the CRD used to spin
|
||||
up the CR/service.
|
||||
|
||||
## Describe deployed services
|
||||
[GitHub issue](https://github.com/openshift/odo/issues/2480)
|
||||
[GitHub issue](https://github.com/redhat-developer/odo/issues/2480)
|
||||
|
||||
At the moment there’s no command in odo that describes a deployed service. We
|
||||
have a command to describe a service in the Service Catalog: `odo catalog
|
||||
@@ -167,7 +167,7 @@ something that would help them.
|
||||
4. Implement the command for both ServiceCatalog and OperatorHub
|
||||
|
||||
## Delete the service
|
||||
[GitHub issue](https://github.com/openshift/odo/issues/2481)
|
||||
[GitHub issue](https://github.com/redhat-developer/odo/issues/2481)
|
||||
|
||||
At the moment, we use `odo service delete <service-name>` to delete the service
|
||||
deployed in OpenShift cluster. We should be able to delete the service
|
||||
@@ -195,15 +195,15 @@ our existing CI?
|
||||
## GitHub issues related to this task
|
||||
|
||||
1. [Validating the cluster for operator and service catalog capability and odo
|
||||
service list](https://github.com/openshift/odo/issues/2461)
|
||||
service list](https://github.com/redhat-developer/odo/issues/2461)
|
||||
2. [odo service describe for operators +
|
||||
services](https://github.com/openshift/odo/issues/2480)
|
||||
services](https://github.com/redhat-developer/odo/issues/2480)
|
||||
3. [Instantiating operators using
|
||||
CRDs](https://github.com/openshift/odo/issues/2462)
|
||||
4. [Status command for operators](https://github.com/openshift/odo/issues/2479)
|
||||
CRDs](https://github.com/redhat-developer/odo/issues/2462)
|
||||
4. [Status command for operators](https://github.com/redhat-developer/odo/issues/2479)
|
||||
5. [Use the service binding operator to link operator and a
|
||||
component](https://github.com/openshift/odo/issues/2463)
|
||||
component](https://github.com/redhat-developer/odo/issues/2463)
|
||||
6. [Provide admin commands to install operators and one-off
|
||||
setup](https://github.com/openshift/odo/issues/2464)
|
||||
setup](https://github.com/redhat-developer/odo/issues/2464)
|
||||
7. [Enhance the odo service delete command to allow deletion of
|
||||
operators](https://github.com/openshift/odo/issues/2481)
|
||||
operators](https://github.com/redhat-developer/odo/issues/2481)
|
||||
|
||||
@@ -73,5 +73,5 @@ Create devfile component from secure registry:
|
||||
When downloading devfile from secure registry, we validate if the credential is valid by adding token to the request header and checking the response.
|
||||
|
||||
## Related issues
|
||||
- Dynamic registry support: https://github.com/openshift/odo/pull/2940
|
||||
- Performance improvement for `odo catalog list components`: https://github.com/openshift/odo/pull/3112
|
||||
- Dynamic registry support: https://github.com/redhat-developer/odo/pull/2940
|
||||
- Performance improvement for `odo catalog list components`: https://github.com/redhat-developer/odo/pull/3112
|
||||
@@ -43,14 +43,14 @@ Note - observe there wasn't any conversion step involved here.
|
||||
|
||||
* *`odo env set DebugPort` wont work with converted devfile components, instead you would need to use `odo config set --env DEBUG_PORT`.*
|
||||
|
||||
. Currently the `wildfly` and `dotnet` component types are not working when converted. We have an issue open for this - https://github.com/openshift/odo/issues/4623
|
||||
. Currently the `wildfly` and `dotnet` component types are not working when converted. We have an issue open for this - https://github.com/redhat-developer/odo/issues/4623
|
||||
|
||||
=== Known bugs and limitations
|
||||
|
||||
* https://github.com/openshift/odo/issues/4623
|
||||
* https://github.com/openshift/odo/issues/4615
|
||||
* https://github.com/openshift/odo/issues/4594
|
||||
* https://github.com/openshift/odo/issues/4593
|
||||
* https://github.com/redhat-developer/odo/issues/4623
|
||||
* https://github.com/redhat-developer/odo/issues/4615
|
||||
* https://github.com/redhat-developer/odo/issues/4594
|
||||
* https://github.com/redhat-developer/odo/issues/4593
|
||||
|
||||
|
||||
=== Frequently asked questions
|
||||
|
||||
@@ -26,9 +26,9 @@ group] - General help and inquiries
|
||||
== Issues
|
||||
|
||||
* If you have any issues with odo, please
|
||||
https://github.com/openshift/odo/issues[file a GitHub issue]
|
||||
https://github.com/redhat-developer/odo/issues[file a GitHub issue]
|
||||
* Documentation issues can be filed with the
|
||||
https://github.com/openshift/odo/issues/new?template=Documentation.md[documentation
|
||||
https://github.com/redhat-developer/odo/issues/new?template=Documentation.md[documentation
|
||||
template]
|
||||
|
||||
== Public meetings
|
||||
@@ -53,11 +53,11 @@ https://groups.google.com/forum/#!forum/odo-dev[odo-dev Google group].
|
||||
=== Where do I start?
|
||||
|
||||
odo is a complex project that touches both Kubernetes and OpenShift. We have a list of
|
||||
https://github.com/openshift/odo/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22[good
|
||||
https://github.com/redhat-developer/odo/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22[good
|
||||
first issues] to help start.
|
||||
|
||||
=== How do I contribute code?
|
||||
|
||||
Want to submit your code? Have a look at our
|
||||
https://github.com/openshift/odo/blob/master/docs/dev/development.adoc[development
|
||||
https://github.com/redhat-developer/odo/blob/master/docs/dev/development.adoc[development
|
||||
guide]. It goes over every aspect from submitting to writing tests.
|
||||
|
||||
@@ -84,106 +84,106 @@ The `odo debug` command is no longer in technical preview.
|
||||
|
||||
**New features:**
|
||||
|
||||
- implement odo describe for devfile [\#3644](https://github.com/openshift/odo/issues/3644)
|
||||
- Release 2.0.0 [\#4021](https://github.com/openshift/odo/pull/4021) ([cdrage](https://github.com/cdrage))
|
||||
- Move Operator Hub out of experimental mode [\#3938](https://github.com/openshift/odo/pull/3938) ([dharmit](https://github.com/dharmit))
|
||||
- Implement clonePath, update source code sync location [\#3907](https://github.com/openshift/odo/pull/3907) ([adisky](https://github.com/adisky))
|
||||
- implement odo describe for devfile [\#3644](https://github.com/redhat-developer/odo/issues/3644)
|
||||
- Release 2.0.0 [\#4021](https://github.com/redhat-developer/odo/pull/4021) ([cdrage](https://github.com/cdrage))
|
||||
- Move Operator Hub out of experimental mode [\#3938](https://github.com/redhat-developer/odo/pull/3938) ([dharmit](https://github.com/dharmit))
|
||||
- Implement clonePath, update source code sync location [\#3907](https://github.com/redhat-developer/odo/pull/3907) ([adisky](https://github.com/adisky))
|
||||
|
||||
**Code Refactoring:**
|
||||
|
||||
- "odo link" help message should not check for ClusterServiceVersion support [\#4008](https://github.com/openshift/odo/issues/4008)
|
||||
- API version and schema version tests should be migrated to devfileV2 [\#3794](https://github.com/openshift/odo/issues/3794)
|
||||
- Do not check for CSV when initializing odo link command [\#4010](https://github.com/openshift/odo/pull/4010) ([dharmit](https://github.com/dharmit))
|
||||
- Update odo debug --help screen [\#3963](https://github.com/openshift/odo/pull/3963) ([cdrage](https://github.com/cdrage))
|
||||
- Clarify description of the force-build flag in help text for odo push [\#3958](https://github.com/openshift/odo/pull/3958) ([johnmcollier](https://github.com/johnmcollier))
|
||||
- Switch to use project instead of namespace in env [\#3951](https://github.com/openshift/odo/pull/3951) ([GeekArthur](https://github.com/GeekArthur))
|
||||
- Remove the namespace flag from odo [\#3949](https://github.com/openshift/odo/pull/3949) ([johnmcollier](https://github.com/johnmcollier))
|
||||
- Migrate devfile cmd validation to validate pkg [\#3912](https://github.com/openshift/odo/pull/3912) ([maysunfaisal](https://github.com/maysunfaisal))
|
||||
- Remove command group type init [\#3898](https://github.com/openshift/odo/pull/3898) ([adisky](https://github.com/adisky))
|
||||
- "odo link" help message should not check for ClusterServiceVersion support [\#4008](https://github.com/redhat-developer/odo/issues/4008)
|
||||
- API version and schema version tests should be migrated to devfileV2 [\#3794](https://github.com/redhat-developer/odo/issues/3794)
|
||||
- Do not check for CSV when initializing odo link command [\#4010](https://github.com/redhat-developer/odo/pull/4010) ([dharmit](https://github.com/dharmit))
|
||||
- Update odo debug --help screen [\#3963](https://github.com/redhat-developer/odo/pull/3963) ([cdrage](https://github.com/cdrage))
|
||||
- Clarify description of the force-build flag in help text for odo push [\#3958](https://github.com/redhat-developer/odo/pull/3958) ([johnmcollier](https://github.com/johnmcollier))
|
||||
- Switch to use project instead of namespace in env [\#3951](https://github.com/redhat-developer/odo/pull/3951) ([GeekArthur](https://github.com/GeekArthur))
|
||||
- Remove the namespace flag from odo [\#3949](https://github.com/redhat-developer/odo/pull/3949) ([johnmcollier](https://github.com/johnmcollier))
|
||||
- Migrate devfile cmd validation to validate pkg [\#3912](https://github.com/redhat-developer/odo/pull/3912) ([maysunfaisal](https://github.com/maysunfaisal))
|
||||
- Remove command group type init [\#3898](https://github.com/redhat-developer/odo/pull/3898) ([adisky](https://github.com/adisky))
|
||||
|
||||
**Bugs:**
|
||||
|
||||
- "odo link -h" shows same message for 3.x & 4.x clusters [\#3992](https://github.com/openshift/odo/issues/3992)
|
||||
- make goget-tools fails due to go mod dependency [\#3983](https://github.com/openshift/odo/issues/3983)
|
||||
- Handle edge case when index file is commented in .gitignore [\#3961](https://github.com/openshift/odo/issues/3961)
|
||||
- Java component build execution requires pom.xml [\#3943](https://github.com/openshift/odo/issues/3943)
|
||||
- default registry not initialized when user already has a preference.yaml file [\#3940](https://github.com/openshift/odo/issues/3940)
|
||||
- `odo url create` shouldn't require a port if only one port exists in the devfile [\#3923](https://github.com/openshift/odo/issues/3923)
|
||||
- `odo push` with alternate --run-command should push complete file set upon new pod creation [\#3918](https://github.com/openshift/odo/issues/3918)
|
||||
- converting s2i items to devfile items does not set the Endpoint's name properly [\#3910](https://github.com/openshift/odo/issues/3910)
|
||||
- Unexpected EOF during watch stream event decoding, watch channel was closed. [\#3905](https://github.com/openshift/odo/issues/3905)
|
||||
- odo debug serial tests script panic out [\#3897](https://github.com/openshift/odo/issues/3897)
|
||||
- Default URL does not propagate to `.odo/env/env.yaml` and you cannot delete it. [\#3893](https://github.com/openshift/odo/issues/3893)
|
||||
- Breaking component create without exposing port [\#3882](https://github.com/openshift/odo/issues/3882)
|
||||
- odo registry list causes panic if preference has not been setup [\#3842](https://github.com/openshift/odo/issues/3842)
|
||||
- odo watch goes into infinite push loop if ignore flag is used [\#3819](https://github.com/openshift/odo/issues/3819)
|
||||
- 'odo create' should properly validate devfiles [\#3778](https://github.com/openshift/odo/issues/3778)
|
||||
- context flag does not work with devfile url create [\#3767](https://github.com/openshift/odo/issues/3767)
|
||||
- odo log is unusable for multi container components [\#3711](https://github.com/openshift/odo/issues/3711)
|
||||
- "odo registry add" adds registry for invalid url in devfileV2 [\#3451](https://github.com/openshift/odo/issues/3451)
|
||||
- Prints help message based on backend cluster [\#3993](https://github.com/openshift/odo/pull/3993) ([dharmit](https://github.com/dharmit))
|
||||
- s2i component fix: use Config instead of ContainerConfig for port detection [\#3957](https://github.com/openshift/odo/pull/3957) ([kadel](https://github.com/kadel))
|
||||
- 3923- url creation with optional port flag [\#3950](https://github.com/openshift/odo/pull/3950) ([yangcao77](https://github.com/yangcao77))
|
||||
- Add mandatory file ignores when using --ignore flag [\#3942](https://github.com/openshift/odo/pull/3942) ([maysunfaisal](https://github.com/maysunfaisal))
|
||||
- Fix default registry support [\#3941](https://github.com/openshift/odo/pull/3941) ([GeekArthur](https://github.com/GeekArthur))
|
||||
- Update s2i image from library for ppc64le [\#3939](https://github.com/openshift/odo/pull/3939) ([sarveshtamba](https://github.com/sarveshtamba))
|
||||
- update s2i to devfile conversion as per new url design [\#3930](https://github.com/openshift/odo/pull/3930) ([adisky](https://github.com/adisky))
|
||||
- Add test-case for validating devfiles on component create [\#3908](https://github.com/openshift/odo/pull/3908) ([johnmcollier](https://github.com/johnmcollier))
|
||||
- Improve URL format validation [\#3900](https://github.com/openshift/odo/pull/3900) ([GeekArthur](https://github.com/GeekArthur))
|
||||
- implement odo describe for devfile [\#3843](https://github.com/openshift/odo/pull/3843) ([metacosm](https://github.com/metacosm))
|
||||
- "odo link -h" shows same message for 3.x & 4.x clusters [\#3992](https://github.com/redhat-developer/odo/issues/3992)
|
||||
- make goget-tools fails due to go mod dependency [\#3983](https://github.com/redhat-developer/odo/issues/3983)
|
||||
- Handle edge case when index file is commented in .gitignore [\#3961](https://github.com/redhat-developer/odo/issues/3961)
|
||||
- Java component build execution requires pom.xml [\#3943](https://github.com/redhat-developer/odo/issues/3943)
|
||||
- default registry not initialized when user already has a preference.yaml file [\#3940](https://github.com/redhat-developer/odo/issues/3940)
|
||||
- `odo url create` shouldn't require a port if only one port exists in the devfile [\#3923](https://github.com/redhat-developer/odo/issues/3923)
|
||||
- `odo push` with alternate --run-command should push complete file set upon new pod creation [\#3918](https://github.com/redhat-developer/odo/issues/3918)
|
||||
- converting s2i items to devfile items does not set the Endpoint's name properly [\#3910](https://github.com/redhat-developer/odo/issues/3910)
|
||||
- Unexpected EOF during watch stream event decoding, watch channel was closed. [\#3905](https://github.com/redhat-developer/odo/issues/3905)
|
||||
- odo debug serial tests script panic out [\#3897](https://github.com/redhat-developer/odo/issues/3897)
|
||||
- Default URL does not propagate to `.odo/env/env.yaml` and you cannot delete it. [\#3893](https://github.com/redhat-developer/odo/issues/3893)
|
||||
- Breaking component create without exposing port [\#3882](https://github.com/redhat-developer/odo/issues/3882)
|
||||
- odo registry list causes panic if preference has not been setup [\#3842](https://github.com/redhat-developer/odo/issues/3842)
|
||||
- odo watch goes into infinite push loop if ignore flag is used [\#3819](https://github.com/redhat-developer/odo/issues/3819)
|
||||
- 'odo create' should properly validate devfiles [\#3778](https://github.com/redhat-developer/odo/issues/3778)
|
||||
- context flag does not work with devfile url create [\#3767](https://github.com/redhat-developer/odo/issues/3767)
|
||||
- odo log is unusable for multi container components [\#3711](https://github.com/redhat-developer/odo/issues/3711)
|
||||
- "odo registry add" adds registry for invalid url in devfileV2 [\#3451](https://github.com/redhat-developer/odo/issues/3451)
|
||||
- Prints help message based on backend cluster [\#3993](https://github.com/redhat-developer/odo/pull/3993) ([dharmit](https://github.com/dharmit))
|
||||
- s2i component fix: use Config instead of ContainerConfig for port detection [\#3957](https://github.com/redhat-developer/odo/pull/3957) ([kadel](https://github.com/kadel))
|
||||
- 3923- url creation with optional port flag [\#3950](https://github.com/redhat-developer/odo/pull/3950) ([yangcao77](https://github.com/yangcao77))
|
||||
- Add mandatory file ignores when using --ignore flag [\#3942](https://github.com/redhat-developer/odo/pull/3942) ([maysunfaisal](https://github.com/maysunfaisal))
|
||||
- Fix default registry support [\#3941](https://github.com/redhat-developer/odo/pull/3941) ([GeekArthur](https://github.com/GeekArthur))
|
||||
- Update s2i image from library for ppc64le [\#3939](https://github.com/redhat-developer/odo/pull/3939) ([sarveshtamba](https://github.com/sarveshtamba))
|
||||
- update s2i to devfile conversion as per new url design [\#3930](https://github.com/redhat-developer/odo/pull/3930) ([adisky](https://github.com/adisky))
|
||||
- Add test-case for validating devfiles on component create [\#3908](https://github.com/redhat-developer/odo/pull/3908) ([johnmcollier](https://github.com/johnmcollier))
|
||||
- Improve URL format validation [\#3900](https://github.com/redhat-developer/odo/pull/3900) ([GeekArthur](https://github.com/GeekArthur))
|
||||
- implement odo describe for devfile [\#3843](https://github.com/redhat-developer/odo/pull/3843) ([metacosm](https://github.com/metacosm))
|
||||
|
||||
**Tests:**
|
||||
|
||||
- Test failures while running `test-cmd-push` test suite on ppc64le [\#3539](https://github.com/openshift/odo/issues/3539)
|
||||
- Test failures while running `test-cmd-storage` test suite on ppc64le [\#3531](https://github.com/openshift/odo/issues/3531)
|
||||
- Test failures while running `test-cmd-push` test suite on ppc64le [\#3539](https://github.com/redhat-developer/odo/issues/3539)
|
||||
- Test failures while running `test-cmd-storage` test suite on ppc64le [\#3531](https://github.com/redhat-developer/odo/issues/3531)
|
||||
|
||||
**Documentation & Discussions:**
|
||||
|
||||
- Update installation page to include instructions for VSCode / IDE's [\#3970](https://github.com/openshift/odo/issues/3970)
|
||||
- Update docs according to schema changes in the command and component struct [\#3925](https://github.com/openshift/odo/issues/3925)
|
||||
- Help for `odo push -f` should explain that the full set of project source is pushed to the container [\#3919](https://github.com/openshift/odo/issues/3919)
|
||||
- Make the `odo.dev` front page documentation simpler [\#3887](https://github.com/openshift/odo/issues/3887)
|
||||
- Add debug examples for "odo debug -h" [\#3871](https://github.com/openshift/odo/issues/3871)
|
||||
- Remove technology preview feature for debug command [\#3869](https://github.com/openshift/odo/issues/3869)
|
||||
- Update devfile "odo.dev" doc [\#3868](https://github.com/openshift/odo/issues/3868)
|
||||
- Documentation for Operator Hub integration in v2 [\#3810](https://github.com/openshift/odo/issues/3810)
|
||||
- Document on converting s2i to devfile [\#3749](https://github.com/openshift/odo/issues/3749)
|
||||
- Adds a blog folder [\#4003](https://github.com/openshift/odo/pull/4003) ([cdrage](https://github.com/cdrage))
|
||||
- Document odo and Operator Hub integration [\#3982](https://github.com/openshift/odo/pull/3982) ([dharmit](https://github.com/dharmit))
|
||||
- Add instructions on how to install VSCode plugin [\#3977](https://github.com/openshift/odo/pull/3977) ([cdrage](https://github.com/cdrage))
|
||||
- Update installation page to indicate beta-1 [\#3960](https://github.com/openshift/odo/pull/3960) ([cdrage](https://github.com/cdrage))
|
||||
- Remove references to Docker support [\#3954](https://github.com/openshift/odo/pull/3954) ([cdrage](https://github.com/cdrage))
|
||||
- Updates docs to use the new schema changes for commands and components [\#3928](https://github.com/openshift/odo/pull/3928) ([mik-dass](https://github.com/mik-dass))
|
||||
- Update commands ouputs in docs. [\#3927](https://github.com/openshift/odo/pull/3927) ([boczkowska](https://github.com/boczkowska))
|
||||
- Update installation page to include instructions for VSCode / IDE's [\#3970](https://github.com/redhat-developer/odo/issues/3970)
|
||||
- Update docs according to schema changes in the command and component struct [\#3925](https://github.com/redhat-developer/odo/issues/3925)
|
||||
- Help for `odo push -f` should explain that the full set of project source is pushed to the container [\#3919](https://github.com/redhat-developer/odo/issues/3919)
|
||||
- Make the `odo.dev` front page documentation simpler [\#3887](https://github.com/redhat-developer/odo/issues/3887)
|
||||
- Add debug examples for "odo debug -h" [\#3871](https://github.com/redhat-developer/odo/issues/3871)
|
||||
- Remove technology preview feature for debug command [\#3869](https://github.com/redhat-developer/odo/issues/3869)
|
||||
- Update devfile "odo.dev" doc [\#3868](https://github.com/redhat-developer/odo/issues/3868)
|
||||
- Documentation for Operator Hub integration in v2 [\#3810](https://github.com/redhat-developer/odo/issues/3810)
|
||||
- Document on converting s2i to devfile [\#3749](https://github.com/redhat-developer/odo/issues/3749)
|
||||
- Adds a blog folder [\#4003](https://github.com/redhat-developer/odo/pull/4003) ([cdrage](https://github.com/cdrage))
|
||||
- Document odo and Operator Hub integration [\#3982](https://github.com/redhat-developer/odo/pull/3982) ([dharmit](https://github.com/dharmit))
|
||||
- Add instructions on how to install VSCode plugin [\#3977](https://github.com/redhat-developer/odo/pull/3977) ([cdrage](https://github.com/cdrage))
|
||||
- Update installation page to indicate beta-1 [\#3960](https://github.com/redhat-developer/odo/pull/3960) ([cdrage](https://github.com/cdrage))
|
||||
- Remove references to Docker support [\#3954](https://github.com/redhat-developer/odo/pull/3954) ([cdrage](https://github.com/cdrage))
|
||||
- Updates docs to use the new schema changes for commands and components [\#3928](https://github.com/redhat-developer/odo/pull/3928) ([mik-dass](https://github.com/mik-dass))
|
||||
- Update commands ouputs in docs. [\#3927](https://github.com/redhat-developer/odo/pull/3927) ([boczkowska](https://github.com/boczkowska))
|
||||
|
||||
**Closed issues:**
|
||||
|
||||
- Determine if we want to keep Docker support in experimental mode, or disable it [\#3955](https://github.com/openshift/odo/issues/3955)
|
||||
- rename --namespace flag in odo push to --project [\#3948](https://github.com/openshift/odo/issues/3948)
|
||||
- rename odo env variable namespace to project [\#3947](https://github.com/openshift/odo/issues/3947)
|
||||
- Test failures while running `test-integration` and `test-e2e-all` test suite on ppc64le [\#3945](https://github.com/openshift/odo/issues/3945)
|
||||
- "unknown flag: --s2i" while running odo test suite 'test-generic' on ppc64le [\#3934](https://github.com/openshift/odo/issues/3934)
|
||||
- odo `make` commands fail on ppc64le after latest changes. [\#3891](https://github.com/openshift/odo/issues/3891)
|
||||
- Downstream release of the odo cli [\#3852](https://github.com/openshift/odo/issues/3852)
|
||||
- clonePath should be supported in odo [\#3729](https://github.com/openshift/odo/issues/3729)
|
||||
- Move devfile command validation to validate pkg [\#3703](https://github.com/openshift/odo/issues/3703)
|
||||
- `make test` throws "Errorf format %w has unknown verb w" error on ppc64le with latest master [\#3607](https://github.com/openshift/odo/issues/3607)
|
||||
- Move Operator Hub integration out of Experimental mode [\#3595](https://github.com/openshift/odo/issues/3595)
|
||||
- Move container image used in springboot devfile to some odo owned image repository [\#3578](https://github.com/openshift/odo/issues/3578)
|
||||
- Move the devfile feature set out of the experimental mode [\#3550](https://github.com/openshift/odo/issues/3550)
|
||||
- JSON / machine output support for Devfile Components [\#3521](https://github.com/openshift/odo/issues/3521)
|
||||
- Component push throws error of "Waiting for component to start" on ppc64le [\#3497](https://github.com/openshift/odo/issues/3497)
|
||||
- odo project create throws error of connection refused on ppc64le [\#3491](https://github.com/openshift/odo/issues/3491)
|
||||
- Tests for devfiles in odo devfile registry [\#3378](https://github.com/openshift/odo/issues/3378)
|
||||
- Determine if we want to keep Docker support in experimental mode, or disable it [\#3955](https://github.com/redhat-developer/odo/issues/3955)
|
||||
- rename --namespace flag in odo push to --project [\#3948](https://github.com/redhat-developer/odo/issues/3948)
|
||||
- rename odo env variable namespace to project [\#3947](https://github.com/redhat-developer/odo/issues/3947)
|
||||
- Test failures while running `test-integration` and `test-e2e-all` test suite on ppc64le [\#3945](https://github.com/redhat-developer/odo/issues/3945)
|
||||
- "unknown flag: --s2i" while running odo test suite 'test-generic' on ppc64le [\#3934](https://github.com/redhat-developer/odo/issues/3934)
|
||||
- odo `make` commands fail on ppc64le after latest changes. [\#3891](https://github.com/redhat-developer/odo/issues/3891)
|
||||
- Downstream release of the odo cli [\#3852](https://github.com/redhat-developer/odo/issues/3852)
|
||||
- clonePath should be supported in odo [\#3729](https://github.com/redhat-developer/odo/issues/3729)
|
||||
- Move devfile command validation to validate pkg [\#3703](https://github.com/redhat-developer/odo/issues/3703)
|
||||
- `make test` throws "Errorf format %w has unknown verb w" error on ppc64le with latest master [\#3607](https://github.com/redhat-developer/odo/issues/3607)
|
||||
- Move Operator Hub integration out of Experimental mode [\#3595](https://github.com/redhat-developer/odo/issues/3595)
|
||||
- Move container image used in springboot devfile to some odo owned image repository [\#3578](https://github.com/redhat-developer/odo/issues/3578)
|
||||
- Move the devfile feature set out of the experimental mode [\#3550](https://github.com/redhat-developer/odo/issues/3550)
|
||||
- JSON / machine output support for Devfile Components [\#3521](https://github.com/redhat-developer/odo/issues/3521)
|
||||
- Component push throws error of "Waiting for component to start" on ppc64le [\#3497](https://github.com/redhat-developer/odo/issues/3497)
|
||||
- odo project create throws error of connection refused on ppc64le [\#3491](https://github.com/redhat-developer/odo/issues/3491)
|
||||
- Tests for devfiles in odo devfile registry [\#3378](https://github.com/redhat-developer/odo/issues/3378)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- vendor: switch location of goautoneg to github [\#3984](https://github.com/openshift/odo/pull/3984) ([kadel](https://github.com/kadel))
|
||||
- Remove url describe command [\#3981](https://github.com/openshift/odo/pull/3981) ([adisky](https://github.com/adisky))
|
||||
- odo list follow up implementation [\#3964](https://github.com/openshift/odo/pull/3964) ([girishramnani](https://github.com/girishramnani))
|
||||
- Fix test failure caused by updating springboot devfile [\#3946](https://github.com/openshift/odo/pull/3946) ([adisky](https://github.com/adisky))
|
||||
- apiVersion test migrated to devfileV2 [\#3920](https://github.com/openshift/odo/pull/3920) ([anandrkskd](https://github.com/anandrkskd))
|
||||
- add test for odo url create --context flag [\#3917](https://github.com/openshift/odo/pull/3917) ([girishramnani](https://github.com/girishramnani))
|
||||
- Update springboot devfile [\#3799](https://github.com/openshift/odo/pull/3799) ([adisky](https://github.com/adisky))
|
||||
- Fix odo log for multi containers devfile [\#3735](https://github.com/openshift/odo/pull/3735) ([adisky](https://github.com/adisky))
|
||||
- Make Devfile the default deployment mechanism [\#3705](https://github.com/openshift/odo/pull/3705) ([cdrage](https://github.com/cdrage))
|
||||
- vendor: switch location of goautoneg to github [\#3984](https://github.com/redhat-developer/odo/pull/3984) ([kadel](https://github.com/kadel))
|
||||
- Remove url describe command [\#3981](https://github.com/redhat-developer/odo/pull/3981) ([adisky](https://github.com/adisky))
|
||||
- odo list follow up implementation [\#3964](https://github.com/redhat-developer/odo/pull/3964) ([girishramnani](https://github.com/girishramnani))
|
||||
- Fix test failure caused by updating springboot devfile [\#3946](https://github.com/redhat-developer/odo/pull/3946) ([adisky](https://github.com/adisky))
|
||||
- apiVersion test migrated to devfileV2 [\#3920](https://github.com/redhat-developer/odo/pull/3920) ([anandrkskd](https://github.com/anandrkskd))
|
||||
- add test for odo url create --context flag [\#3917](https://github.com/redhat-developer/odo/pull/3917) ([girishramnani](https://github.com/girishramnani))
|
||||
- Update springboot devfile [\#3799](https://github.com/redhat-developer/odo/pull/3799) ([adisky](https://github.com/adisky))
|
||||
- Fix odo log for multi containers devfile [\#3735](https://github.com/redhat-developer/odo/pull/3735) ([adisky](https://github.com/adisky))
|
||||
- Make Devfile the default deployment mechanism [\#3705](https://github.com/redhat-developer/odo/pull/3705) ([cdrage](https://github.com/cdrage))
|
||||
|
||||
@@ -52,103 +52,103 @@ You can now `list`, `describe` and `delete` an app with the following commands:
|
||||
|
||||
**New features:**
|
||||
|
||||
- odo url delete should work without arguments [\#4106](https://github.com/openshift/odo/issues/4106)
|
||||
- When using a devfile with multiple starter projects, odo should ask the user which one to use [\#3812](https://github.com/openshift/odo/issues/3812)
|
||||
- Add support for overriding composite commands [\#3759](https://github.com/openshift/odo/issues/3759)
|
||||
- Release 2.0.1 of odo [\#4152](https://github.com/openshift/odo/pull/4152) ([cdrage](https://github.com/cdrage))
|
||||
- feat: Allow composite commands to be overridden [\#4043](https://github.com/openshift/odo/pull/4043) ([johnmcollier](https://github.com/johnmcollier))
|
||||
- Update build version to 2.0.0 [\#4022](https://github.com/openshift/odo/pull/4022) ([cdrage](https://github.com/cdrage))
|
||||
- Adds app commands for devfile components [\#4007](https://github.com/openshift/odo/pull/4007) ([mik-dass](https://github.com/mik-dass))
|
||||
- Update integration testcases and e2e testcases for ppc64le support [\#4000](https://github.com/openshift/odo/pull/4000) ([sarveshtamba](https://github.com/sarveshtamba))
|
||||
- Save PROJECT\_SOURCE for containers mounting source [\#3979](https://github.com/openshift/odo/pull/3979) ([maysunfaisal](https://github.com/maysunfaisal))
|
||||
- Secure starter project support [\#3743](https://github.com/openshift/odo/pull/3743) ([GeekArthur](https://github.com/GeekArthur))
|
||||
- odo url delete should work without arguments [\#4106](https://github.com/redhat-developer/odo/issues/4106)
|
||||
- When using a devfile with multiple starter projects, odo should ask the user which one to use [\#3812](https://github.com/redhat-developer/odo/issues/3812)
|
||||
- Add support for overriding composite commands [\#3759](https://github.com/redhat-developer/odo/issues/3759)
|
||||
- Release 2.0.1 of odo [\#4152](https://github.com/redhat-developer/odo/pull/4152) ([cdrage](https://github.com/cdrage))
|
||||
- feat: Allow composite commands to be overridden [\#4043](https://github.com/redhat-developer/odo/pull/4043) ([johnmcollier](https://github.com/johnmcollier))
|
||||
- Update build version to 2.0.0 [\#4022](https://github.com/redhat-developer/odo/pull/4022) ([cdrage](https://github.com/cdrage))
|
||||
- Adds app commands for devfile components [\#4007](https://github.com/redhat-developer/odo/pull/4007) ([mik-dass](https://github.com/mik-dass))
|
||||
- Update integration testcases and e2e testcases for ppc64le support [\#4000](https://github.com/redhat-developer/odo/pull/4000) ([sarveshtamba](https://github.com/sarveshtamba))
|
||||
- Save PROJECT\_SOURCE for containers mounting source [\#3979](https://github.com/redhat-developer/odo/pull/3979) ([maysunfaisal](https://github.com/maysunfaisal))
|
||||
- Secure starter project support [\#3743](https://github.com/redhat-developer/odo/pull/3743) ([GeekArthur](https://github.com/GeekArthur))
|
||||
|
||||
**Code Refactoring:**
|
||||
|
||||
- Refactor devfile parser code to produce a common devfile parser can work in all tools [\#4073](https://github.com/openshift/odo/issues/4073)
|
||||
- Removing mongo db operator [\#4127](https://github.com/openshift/odo/pull/4127) ([prietyc123](https://github.com/prietyc123))
|
||||
- Ignore lifecycle/rotten labels when generating changelog [\#4122](https://github.com/openshift/odo/pull/4122) ([cdrage](https://github.com/cdrage))
|
||||
- Refactor validate pkg for generic and odo validation [\#4085](https://github.com/openshift/odo/pull/4085) ([maysunfaisal](https://github.com/maysunfaisal))
|
||||
- Refactor: fix s2i flag for odo create [\#4075](https://github.com/openshift/odo/pull/4075) ([dev-gaur](https://github.com/dev-gaur))
|
||||
- Added odo watch test with debug flag [\#4067](https://github.com/openshift/odo/pull/4067) ([prietyc123](https://github.com/prietyc123))
|
||||
- Fixing typo and cleanup unused code [\#4064](https://github.com/openshift/odo/pull/4064) ([prietyc123](https://github.com/prietyc123))
|
||||
- Refractor before and after each also few clean up in test scripts [\#4047](https://github.com/openshift/odo/pull/4047) ([prietyc123](https://github.com/prietyc123))
|
||||
- removed some irrelevant steps from odo create and cleanup [\#3989](https://github.com/openshift/odo/pull/3989) ([girishramnani](https://github.com/girishramnani))
|
||||
- Refactor devfile parser code to produce a common devfile parser can work in all tools [\#4073](https://github.com/redhat-developer/odo/issues/4073)
|
||||
- Removing mongo db operator [\#4127](https://github.com/redhat-developer/odo/pull/4127) ([prietyc123](https://github.com/prietyc123))
|
||||
- Ignore lifecycle/rotten labels when generating changelog [\#4122](https://github.com/redhat-developer/odo/pull/4122) ([cdrage](https://github.com/cdrage))
|
||||
- Refactor validate pkg for generic and odo validation [\#4085](https://github.com/redhat-developer/odo/pull/4085) ([maysunfaisal](https://github.com/maysunfaisal))
|
||||
- Refactor: fix s2i flag for odo create [\#4075](https://github.com/redhat-developer/odo/pull/4075) ([dev-gaur](https://github.com/dev-gaur))
|
||||
- Added odo watch test with debug flag [\#4067](https://github.com/redhat-developer/odo/pull/4067) ([prietyc123](https://github.com/prietyc123))
|
||||
- Fixing typo and cleanup unused code [\#4064](https://github.com/redhat-developer/odo/pull/4064) ([prietyc123](https://github.com/prietyc123))
|
||||
- Refractor before and after each also few clean up in test scripts [\#4047](https://github.com/redhat-developer/odo/pull/4047) ([prietyc123](https://github.com/prietyc123))
|
||||
- removed some irrelevant steps from odo create and cleanup [\#3989](https://github.com/redhat-developer/odo/pull/3989) ([girishramnani](https://github.com/girishramnani))
|
||||
|
||||
**Bugs:**
|
||||
|
||||
- Nit: odo url list shows :// before it is pushed [\#4109](https://github.com/openshift/odo/issues/4109)
|
||||
- odo storage create should create without a path [\#4101](https://github.com/openshift/odo/issues/4101)
|
||||
- odo push fails for s2i components [\#4071](https://github.com/openshift/odo/issues/4071)
|
||||
- odo devfile push command tests failed with error "Failed to create the component: error while waiting for deployment rollout: watch channel was closed"" [\#4058](https://github.com/openshift/odo/issues/4058)
|
||||
- odo create: --s2i flag is broken [\#4048](https://github.com/openshift/odo/issues/4048)
|
||||
- Overriding parent devfile's commands no longer works [\#4038](https://github.com/openshift/odo/issues/4038)
|
||||
- Unable to mount bootstrap volume to deployment config sub path "ODO\_S2I\_DEPLOYMENT\_DIR" on 4.6 cluster [\#4015](https://github.com/openshift/odo/issues/4015)
|
||||
- component volumeMount path validation error [\#4005](https://github.com/openshift/odo/issues/4005)
|
||||
- devfile volume component size bug [\#4004](https://github.com/openshift/odo/issues/4004)
|
||||
- odo rewrite should preserve "unknown" properties of 'metadata' \(and other optional properties?\) per devfile schema [\#3968](https://github.com/openshift/odo/issues/3968)
|
||||
- Beta release: Operator Hub does NOT work & tests are disabled \(tracking issue\) [\#3932](https://github.com/openshift/odo/issues/3932)
|
||||
- Switching from run to debug mode shows no build but build occurs [\#3929](https://github.com/openshift/odo/issues/3929)
|
||||
- odo allows devfile commands with duplicate ids [\#3886](https://github.com/openshift/odo/issues/3886)
|
||||
- Odo fails when devfile component container name is really long [\#3698](https://github.com/openshift/odo/issues/3698)
|
||||
- nit: dont show url as :// in odo url list [\#4111](https://github.com/openshift/odo/pull/4111) ([girishramnani](https://github.com/girishramnani))
|
||||
- Update vendor-update makefile target [\#4086](https://github.com/openshift/odo/pull/4086) ([johnmcollier](https://github.com/johnmcollier))
|
||||
- read s2i paths from both Config and ContainerConfig [\#4068](https://github.com/openshift/odo/pull/4068) ([kadel](https://github.com/kadel))
|
||||
- Fixes message indicating no build when run mode is switched [\#4066](https://github.com/openshift/odo/pull/4066) ([mik-dass](https://github.com/mik-dass))
|
||||
- Update configure-installer-tests-cluster-ppc64le.sh script to import right imagestream for tests. [\#4065](https://github.com/openshift/odo/pull/4065) ([sarveshtamba](https://github.com/sarveshtamba))
|
||||
- Default vol mount path to vol name if absent [\#4045](https://github.com/openshift/odo/pull/4045) ([maysunfaisal](https://github.com/maysunfaisal))
|
||||
- make odo list's output for no components consistent [\#4029](https://github.com/openshift/odo/pull/4029) ([girishramnani](https://github.com/girishramnani))
|
||||
- Don't allow duplicate command IDs [\#4001](https://github.com/openshift/odo/pull/4001) ([johnmcollier](https://github.com/johnmcollier))
|
||||
- 3968-add more optional metadata [\#3987](https://github.com/openshift/odo/pull/3987) ([yangcao77](https://github.com/yangcao77))
|
||||
- Update s2i image for the library change on s390x plaftorm. [\#3974](https://github.com/openshift/odo/pull/3974) ([zhengxiaomei123](https://github.com/zhengxiaomei123))
|
||||
- add container name validation during creation and push [\#3959](https://github.com/openshift/odo/pull/3959) ([yangcao77](https://github.com/yangcao77))
|
||||
- Fix deletion of files and folders created during watch [\#3890](https://github.com/openshift/odo/pull/3890) ([mik-dass](https://github.com/mik-dass))
|
||||
- Nit: odo url list shows :// before it is pushed [\#4109](https://github.com/redhat-developer/odo/issues/4109)
|
||||
- odo storage create should create without a path [\#4101](https://github.com/redhat-developer/odo/issues/4101)
|
||||
- odo push fails for s2i components [\#4071](https://github.com/redhat-developer/odo/issues/4071)
|
||||
- odo devfile push command tests failed with error "Failed to create the component: error while waiting for deployment rollout: watch channel was closed"" [\#4058](https://github.com/redhat-developer/odo/issues/4058)
|
||||
- odo create: --s2i flag is broken [\#4048](https://github.com/redhat-developer/odo/issues/4048)
|
||||
- Overriding parent devfile's commands no longer works [\#4038](https://github.com/redhat-developer/odo/issues/4038)
|
||||
- Unable to mount bootstrap volume to deployment config sub path "ODO\_S2I\_DEPLOYMENT\_DIR" on 4.6 cluster [\#4015](https://github.com/redhat-developer/odo/issues/4015)
|
||||
- component volumeMount path validation error [\#4005](https://github.com/redhat-developer/odo/issues/4005)
|
||||
- devfile volume component size bug [\#4004](https://github.com/redhat-developer/odo/issues/4004)
|
||||
- odo rewrite should preserve "unknown" properties of 'metadata' \(and other optional properties?\) per devfile schema [\#3968](https://github.com/redhat-developer/odo/issues/3968)
|
||||
- Beta release: Operator Hub does NOT work & tests are disabled \(tracking issue\) [\#3932](https://github.com/redhat-developer/odo/issues/3932)
|
||||
- Switching from run to debug mode shows no build but build occurs [\#3929](https://github.com/redhat-developer/odo/issues/3929)
|
||||
- odo allows devfile commands with duplicate ids [\#3886](https://github.com/redhat-developer/odo/issues/3886)
|
||||
- Odo fails when devfile component container name is really long [\#3698](https://github.com/redhat-developer/odo/issues/3698)
|
||||
- nit: dont show url as :// in odo url list [\#4111](https://github.com/redhat-developer/odo/pull/4111) ([girishramnani](https://github.com/girishramnani))
|
||||
- Update vendor-update makefile target [\#4086](https://github.com/redhat-developer/odo/pull/4086) ([johnmcollier](https://github.com/johnmcollier))
|
||||
- read s2i paths from both Config and ContainerConfig [\#4068](https://github.com/redhat-developer/odo/pull/4068) ([kadel](https://github.com/kadel))
|
||||
- Fixes message indicating no build when run mode is switched [\#4066](https://github.com/redhat-developer/odo/pull/4066) ([mik-dass](https://github.com/mik-dass))
|
||||
- Update configure-installer-tests-cluster-ppc64le.sh script to import right imagestream for tests. [\#4065](https://github.com/redhat-developer/odo/pull/4065) ([sarveshtamba](https://github.com/sarveshtamba))
|
||||
- Default vol mount path to vol name if absent [\#4045](https://github.com/redhat-developer/odo/pull/4045) ([maysunfaisal](https://github.com/maysunfaisal))
|
||||
- make odo list's output for no components consistent [\#4029](https://github.com/redhat-developer/odo/pull/4029) ([girishramnani](https://github.com/girishramnani))
|
||||
- Don't allow duplicate command IDs [\#4001](https://github.com/redhat-developer/odo/pull/4001) ([johnmcollier](https://github.com/johnmcollier))
|
||||
- 3968-add more optional metadata [\#3987](https://github.com/redhat-developer/odo/pull/3987) ([yangcao77](https://github.com/yangcao77))
|
||||
- Update s2i image for the library change on s390x plaftorm. [\#3974](https://github.com/redhat-developer/odo/pull/3974) ([zhengxiaomei123](https://github.com/zhengxiaomei123))
|
||||
- add container name validation during creation and push [\#3959](https://github.com/redhat-developer/odo/pull/3959) ([yangcao77](https://github.com/yangcao77))
|
||||
- Fix deletion of files and folders created during watch [\#3890](https://github.com/redhat-developer/odo/pull/3890) ([mik-dass](https://github.com/mik-dass))
|
||||
|
||||
**Tests:**
|
||||
|
||||
- Added missing s2i flag for e2e test [\#4019](https://github.com/openshift/odo/pull/4019) ([prietyc123](https://github.com/prietyc123))
|
||||
- replace unrecognised vendor dependency in go mod [\#4012](https://github.com/openshift/odo/pull/4012) ([prietyc123](https://github.com/prietyc123))
|
||||
- Added missing s2i flag for e2e test [\#4019](https://github.com/redhat-developer/odo/pull/4019) ([prietyc123](https://github.com/prietyc123))
|
||||
- replace unrecognised vendor dependency in go mod [\#4012](https://github.com/redhat-developer/odo/pull/4012) ([prietyc123](https://github.com/prietyc123))
|
||||
|
||||
**Documentation & Discussions:**
|
||||
|
||||
- Unexpected mention of 'crc' in 'kubernetes prerequisites' [\#4113](https://github.com/openshift/odo/issues/4113)
|
||||
- fix windows installation instructions [\#4077](https://github.com/openshift/odo/issues/4077)
|
||||
- Update debugging page on how to debug via application + IDEs [\#3971](https://github.com/openshift/odo/issues/3971)
|
||||
- installing odo documents changes for IBM Z platform [\#3913](https://github.com/openshift/odo/issues/3913)
|
||||
- Developer CLI odo doc needs update [\#3878](https://github.com/openshift/odo/issues/3878)
|
||||
- odo cli reference doc still pointing to old reference examples [\#3870](https://github.com/openshift/odo/issues/3870)
|
||||
- Add documentation of storage commands for devfile components [\#3761](https://github.com/openshift/odo/issues/3761)
|
||||
- Update deploying a devfile documentation [\#4133](https://github.com/openshift/odo/pull/4133) ([cdrage](https://github.com/cdrage))
|
||||
- Add links to new Kubernetes Slack [\#4128](https://github.com/openshift/odo/pull/4128) ([cdrage](https://github.com/cdrage))
|
||||
- Update secure registry documentation [\#4099](https://github.com/openshift/odo/pull/4099) ([cdrage](https://github.com/cdrage))
|
||||
- Update doc to support installation on IBM Power for the latest version.\[skip ci\] [\#4049](https://github.com/openshift/odo/pull/4049) ([sarveshtamba](https://github.com/sarveshtamba))
|
||||
- Fixes sections in Opreator Hub documentation [\#4041](https://github.com/openshift/odo/pull/4041) ([dharmit](https://github.com/dharmit))
|
||||
- Update doc to support installation on IBM Z for the latest version.\[skip ci\] [\#4040](https://github.com/openshift/odo/pull/4040) ([zhengxiaomei123](https://github.com/zhengxiaomei123))
|
||||
- Update the installation page and blog [\#4032](https://github.com/openshift/odo/pull/4032) ([cdrage](https://github.com/cdrage))
|
||||
- Add blog post regarding 2.0.0 GA release [\#4026](https://github.com/openshift/odo/pull/4026) ([cdrage](https://github.com/cdrage))
|
||||
- Update asciinema on the README [\#4020](https://github.com/openshift/odo/pull/4020) ([cdrage](https://github.com/cdrage))
|
||||
- Fix minor docs issue in community page [\#3999](https://github.com/openshift/odo/pull/3999) ([cdrage](https://github.com/cdrage))
|
||||
- Update the debugging documentation [\#3972](https://github.com/openshift/odo/pull/3972) ([cdrage](https://github.com/cdrage))
|
||||
- Adds a document regarding the usage of storage commands. [\#3936](https://github.com/openshift/odo/pull/3936) ([mik-dass](https://github.com/mik-dass))
|
||||
- Unexpected mention of 'crc' in 'kubernetes prerequisites' [\#4113](https://github.com/redhat-developer/odo/issues/4113)
|
||||
- fix windows installation instructions [\#4077](https://github.com/redhat-developer/odo/issues/4077)
|
||||
- Update debugging page on how to debug via application + IDEs [\#3971](https://github.com/redhat-developer/odo/issues/3971)
|
||||
- installing odo documents changes for IBM Z platform [\#3913](https://github.com/redhat-developer/odo/issues/3913)
|
||||
- Developer CLI odo doc needs update [\#3878](https://github.com/redhat-developer/odo/issues/3878)
|
||||
- odo cli reference doc still pointing to old reference examples [\#3870](https://github.com/redhat-developer/odo/issues/3870)
|
||||
- Add documentation of storage commands for devfile components [\#3761](https://github.com/redhat-developer/odo/issues/3761)
|
||||
- Update deploying a devfile documentation [\#4133](https://github.com/redhat-developer/odo/pull/4133) ([cdrage](https://github.com/cdrage))
|
||||
- Add links to new Kubernetes Slack [\#4128](https://github.com/redhat-developer/odo/pull/4128) ([cdrage](https://github.com/cdrage))
|
||||
- Update secure registry documentation [\#4099](https://github.com/redhat-developer/odo/pull/4099) ([cdrage](https://github.com/cdrage))
|
||||
- Update doc to support installation on IBM Power for the latest version.\[skip ci\] [\#4049](https://github.com/redhat-developer/odo/pull/4049) ([sarveshtamba](https://github.com/sarveshtamba))
|
||||
- Fixes sections in Opreator Hub documentation [\#4041](https://github.com/redhat-developer/odo/pull/4041) ([dharmit](https://github.com/dharmit))
|
||||
- Update doc to support installation on IBM Z for the latest version.\[skip ci\] [\#4040](https://github.com/redhat-developer/odo/pull/4040) ([zhengxiaomei123](https://github.com/zhengxiaomei123))
|
||||
- Update the installation page and blog [\#4032](https://github.com/redhat-developer/odo/pull/4032) ([cdrage](https://github.com/cdrage))
|
||||
- Add blog post regarding 2.0.0 GA release [\#4026](https://github.com/redhat-developer/odo/pull/4026) ([cdrage](https://github.com/cdrage))
|
||||
- Update asciinema on the README [\#4020](https://github.com/redhat-developer/odo/pull/4020) ([cdrage](https://github.com/cdrage))
|
||||
- Fix minor docs issue in community page [\#3999](https://github.com/redhat-developer/odo/pull/3999) ([cdrage](https://github.com/cdrage))
|
||||
- Update the debugging documentation [\#3972](https://github.com/redhat-developer/odo/pull/3972) ([cdrage](https://github.com/cdrage))
|
||||
- Adds a document regarding the usage of storage commands. [\#3936](https://github.com/redhat-developer/odo/pull/3936) ([mik-dass](https://github.com/mik-dass))
|
||||
|
||||
**Closed issues:**
|
||||
|
||||
- Create Windows Chocolatey package [\#4078](https://github.com/openshift/odo/issues/4078)
|
||||
- Discussion about PVC usage for non root containers in OpenShift default namespace [\#4053](https://github.com/openshift/odo/issues/4053)
|
||||
- Openshift 4.6 code freeze interoperability testing [\#3994](https://github.com/openshift/odo/issues/3994)
|
||||
- Setup periodic testing on internal openstack [\#3953](https://github.com/openshift/odo/issues/3953)
|
||||
- Beta testing on windows and macOS [\#3952](https://github.com/openshift/odo/issues/3952)
|
||||
- $PROJECT\_SOURCE env variable [\#3781](https://github.com/openshift/odo/issues/3781)
|
||||
- Download of starter project stored in a secure repo [\#3574](https://github.com/openshift/odo/issues/3574)
|
||||
- Support downloading starter project from secure repository/host [\#3567](https://github.com/openshift/odo/issues/3567)
|
||||
- Create Windows Chocolatey package [\#4078](https://github.com/redhat-developer/odo/issues/4078)
|
||||
- Discussion about PVC usage for non root containers in OpenShift default namespace [\#4053](https://github.com/redhat-developer/odo/issues/4053)
|
||||
- Openshift 4.6 code freeze interoperability testing [\#3994](https://github.com/redhat-developer/odo/issues/3994)
|
||||
- Setup periodic testing on internal openstack [\#3953](https://github.com/redhat-developer/odo/issues/3953)
|
||||
- Beta testing on windows and macOS [\#3952](https://github.com/redhat-developer/odo/issues/3952)
|
||||
- $PROJECT\_SOURCE env variable [\#3781](https://github.com/redhat-developer/odo/issues/3781)
|
||||
- Download of starter project stored in a secure repo [\#3574](https://github.com/redhat-developer/odo/issues/3574)
|
||||
- Support downloading starter project from secure repository/host [\#3567](https://github.com/redhat-developer/odo/issues/3567)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Revert "Updating golang version to 1.15" [\#4132](https://github.com/openshift/odo/pull/4132) ([girishramnani](https://github.com/girishramnani))
|
||||
- Updating golang version to 1.15 [\#4121](https://github.com/openshift/odo/pull/4121) ([girishramnani](https://github.com/girishramnani))
|
||||
- Add warning for default namespace during odo create [\#4092](https://github.com/openshift/odo/pull/4092) ([adisky](https://github.com/adisky))
|
||||
- \[one-liner\] fix wrong format in debug message [\#4061](https://github.com/openshift/odo/pull/4061) ([kadel](https://github.com/kadel))
|
||||
- Update configure-installer-tests-cluster-s390x.sh script to import right imagestream for tests. [\#4054](https://github.com/openshift/odo/pull/4054) ([zhengxiaomei123](https://github.com/zhengxiaomei123))
|
||||
- Show debugger config matching default local port 5858 [\#4039](https://github.com/openshift/odo/pull/4039) ([scottkurz](https://github.com/scottkurz))
|
||||
- Fixing issues with RPMS [\#4025](https://github.com/openshift/odo/pull/4025) ([mohammedzee1000](https://github.com/mohammedzee1000))
|
||||
- Index Doc Update - Volume, Composite Cmd [\#4006](https://github.com/openshift/odo/pull/4006) ([maysunfaisal](https://github.com/maysunfaisal))
|
||||
- Revert "Updating golang version to 1.15" [\#4132](https://github.com/redhat-developer/odo/pull/4132) ([girishramnani](https://github.com/girishramnani))
|
||||
- Updating golang version to 1.15 [\#4121](https://github.com/redhat-developer/odo/pull/4121) ([girishramnani](https://github.com/girishramnani))
|
||||
- Add warning for default namespace during odo create [\#4092](https://github.com/redhat-developer/odo/pull/4092) ([adisky](https://github.com/adisky))
|
||||
- \[one-liner\] fix wrong format in debug message [\#4061](https://github.com/redhat-developer/odo/pull/4061) ([kadel](https://github.com/kadel))
|
||||
- Update configure-installer-tests-cluster-s390x.sh script to import right imagestream for tests. [\#4054](https://github.com/redhat-developer/odo/pull/4054) ([zhengxiaomei123](https://github.com/zhengxiaomei123))
|
||||
- Show debugger config matching default local port 5858 [\#4039](https://github.com/redhat-developer/odo/pull/4039) ([scottkurz](https://github.com/scottkurz))
|
||||
- Fixing issues with RPMS [\#4025](https://github.com/redhat-developer/odo/pull/4025) ([mohammedzee1000](https://github.com/mohammedzee1000))
|
||||
- Index Doc Update - Volume, Composite Cmd [\#4006](https://github.com/redhat-developer/odo/pull/4006) ([maysunfaisal](https://github.com/maysunfaisal))
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Documentation
|
||||
sidebar_position: 3
|
||||
---
|
||||
Below steps should help you get started with contributing to this website. Note that angular brackets (`<`, `>`) indicate placeholder data; you are not supposed to use them, but replace the brackets and text inside it with relevant information:
|
||||
* Fork the [odo repo](https://github.com/openshift/odo/) on GitHub under your namespace.
|
||||
* Fork the [odo repo](https://github.com/redhat-developer/odo/) on GitHub under your namespace.
|
||||
* Clone the forked repository on your system:
|
||||
```shell
|
||||
$ git clone https://github.com/<your-namespace>/odo/
|
||||
@@ -39,4 +39,4 @@ Below steps should help you get started with contributing to this website. Note
|
||||
$ git commit --message "<brief-explanation-of-changes>"
|
||||
$ git push origin <branch-name> # use the <branch-name> from earlier step
|
||||
```
|
||||
* Open a pull request by visiting the [odo repository on GitHub](https://github.com/openshift/odo/).
|
||||
* Open a pull request by visiting the [odo repository on GitHub](https://github.com/redhat-developer/odo/).
|
||||
@@ -36,4 +36,4 @@ We are working on some exciting features like:
|
||||
* Create `odo deploy` command to transition from inner loop to outer loop.
|
||||
* Support for Knative eventing.
|
||||
|
||||
For a quick high level summary of the features we are planning to add, take a look at odo's [milestones on GitHub](https://github.com/openshift/odo/milestones).
|
||||
For a quick high level summary of the features we are planning to add, take a look at odo's [milestones on GitHub](https://github.com/redhat-developer/odo/milestones).
|
||||
@@ -50,7 +50,7 @@ The [OpenShift VSCode extension](https://marketplace.visualstudio.com/items?item
|
||||
## Installing from source
|
||||
1. Clone the repository and cd into it.
|
||||
```shell
|
||||
git clone https://github.com/openshift/odo.git
|
||||
git clone https://github.com/redhat-developer/odo.git
|
||||
cd odo
|
||||
```
|
||||
2. Install tools used by the build and test system.
|
||||
|
||||
@@ -41,11 +41,11 @@ Note: Since operator [Dev4Devs PostgreSQL Operator](https://operatorhub.io/opera
|
||||
|
||||
1. Create custom CatalogSource
|
||||
```shell
|
||||
oc apply -f https://raw.githubusercontent.com/openshift/odo/main/website/manifests/catalog-source-$(uname -m).yaml
|
||||
oc apply -f https://raw.githubusercontent.com/redhat-developer/odo/main/website/manifests/catalog-source-$(uname -m).yaml
|
||||
```
|
||||
2. Install PostgreSQL Operator from custom CatalogSource
|
||||
```shell
|
||||
oc create -f https://raw.githubusercontent.com/openshift/odo/main/website/manifests/postgresql-operator-dev4devs-com-IBM-Z-P.yaml
|
||||
oc create -f https://raw.githubusercontent.com/redhat-developer/odo/main/website/manifests/postgresql-operator-dev4devs-com-IBM-Z-P.yaml
|
||||
```
|
||||
</details>
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ module.exports = {
|
||||
},
|
||||
{to: '/blog', label: 'Blog', position: 'left'},
|
||||
{
|
||||
href: 'https://github.com/openshift/odo',
|
||||
href: 'https://github.com/redhat-developer/odo',
|
||||
label: 'GitHub',
|
||||
position: 'right',
|
||||
},
|
||||
@@ -72,7 +72,7 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
label: 'GitHub',
|
||||
href: 'https://github.com/openshift/odo',
|
||||
href: 'https://github.com/redhat-developer/odo',
|
||||
},
|
||||
{
|
||||
label: 'Twitter',
|
||||
@@ -102,13 +102,13 @@ module.exports = {
|
||||
sidebarPath: require.resolve('./sidebars.js'),
|
||||
// Please change this to your repo.
|
||||
editUrl:
|
||||
'https://github.com/openshift/odo/edit/main/website/',
|
||||
'https://github.com/redhat-developer/odo/edit/main/website/',
|
||||
},
|
||||
blog: {
|
||||
showReadingTime: true,
|
||||
// Please change this to your repo.
|
||||
editUrl:
|
||||
'https://github.com/openshift/odo/edit/main/website/blog/',
|
||||
'https://github.com/redhat-developer/odo/edit/main/website/blog/',
|
||||
blogSidebarTitle: 'All posts',
|
||||
blogSidebarCount: 'ALL',
|
||||
postsPerPage: 5,
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
||||
module github.com/openshift/odo
|
||||
module github.com/redhat-developer/odo
|
||||
|
||||
go 1.16
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Base Image for running tests on OpenShift CI
|
||||
|
||||
This image is meant to be used as build root for tests on [OpenShift CI](https://github.com/openshift/release/blob/master/ci-operator/config/openshift/odo/redhat-developer-odo-master.yaml)
|
||||
This image is meant to be used as build root for tests on [OpenShift CI](https://github.com/openshift/release/blob/master/ci-operator/config/redhat-developer/odo/redhat-developer-odo-master.yaml)
|
||||
You can find out more in the [
|
||||
](https://github.com/openshift/ci-operator/blob/master/CONFIGURATION.md)
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
package application
|
||||
|
||||
import (
|
||||
"github.com/openshift/odo/pkg/kclient"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/redhat-developer/odo/pkg/kclient"
|
||||
"k8s.io/klog"
|
||||
|
||||
applabels "github.com/openshift/odo/pkg/application/labels"
|
||||
"github.com/openshift/odo/pkg/component"
|
||||
"github.com/openshift/odo/pkg/occlient"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
applabels "github.com/redhat-developer/odo/pkg/application/labels"
|
||||
"github.com/redhat-developer/odo/pkg/component"
|
||||
"github.com/redhat-developer/odo/pkg/occlient"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
@@ -4,11 +4,11 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
applabels "github.com/openshift/odo/pkg/application/labels"
|
||||
componentlabels "github.com/openshift/odo/pkg/component/labels"
|
||||
"github.com/openshift/odo/pkg/occlient"
|
||||
"github.com/openshift/odo/pkg/testingutil"
|
||||
"github.com/openshift/odo/pkg/version"
|
||||
applabels "github.com/redhat-developer/odo/pkg/application/labels"
|
||||
componentlabels "github.com/redhat-developer/odo/pkg/component/labels"
|
||||
"github.com/redhat-developer/odo/pkg/occlient"
|
||||
"github.com/redhat-developer/odo/pkg/testingutil"
|
||||
"github.com/redhat-developer/odo/pkg/version"
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package labels
|
||||
|
||||
import (
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/openshift/odo/pkg/version"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
"github.com/redhat-developer/odo/pkg/version"
|
||||
)
|
||||
|
||||
// ApplicationLabel is label key that is used to group all object that belong to one application
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/openshift/odo/pkg/version"
|
||||
"github.com/redhat-developer/odo/pkg/version"
|
||||
)
|
||||
|
||||
func TestGetLabels(t *testing.T) {
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"os"
|
||||
|
||||
"github.com/openshift/oc/pkg/cli/login"
|
||||
odolog "github.com/openshift/odo/pkg/log"
|
||||
odolog "github.com/redhat-developer/odo/pkg/log"
|
||||
kapierrors "k8s.io/apimachinery/pkg/api/errors"
|
||||
"k8s.io/cli-runtime/pkg/genericclioptions"
|
||||
"k8s.io/client-go/tools/clientcmd"
|
||||
|
||||
@@ -7,20 +7,20 @@ import (
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/openshift/odo/pkg/preference"
|
||||
"github.com/redhat-developer/odo/pkg/preference"
|
||||
"github.com/zalando/go-keyring"
|
||||
|
||||
"github.com/openshift/odo/pkg/kclient"
|
||||
"github.com/openshift/odo/pkg/log"
|
||||
"github.com/openshift/odo/pkg/occlient"
|
||||
"github.com/redhat-developer/odo/pkg/kclient"
|
||||
"github.com/redhat-developer/odo/pkg/log"
|
||||
"github.com/redhat-developer/odo/pkg/occlient"
|
||||
|
||||
indexSchema "github.com/devfile/registry-support/index/generator/schema"
|
||||
registryLibrary "github.com/devfile/registry-support/registry-library/library"
|
||||
registryConsts "github.com/openshift/odo/pkg/odo/cli/registry/consts"
|
||||
registryUtil "github.com/openshift/odo/pkg/odo/cli/registry/util"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
olm "github.com/operator-framework/api/pkg/operators/v1alpha1"
|
||||
"github.com/pkg/errors"
|
||||
registryConsts "github.com/redhat-developer/odo/pkg/odo/cli/registry/consts"
|
||||
registryUtil "github.com/redhat-developer/odo/pkg/odo/cli/registry/util"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
)
|
||||
|
||||
// GetDevfileRegistries gets devfile registries from preference file,
|
||||
|
||||
@@ -9,10 +9,10 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/golang/mock/gomock"
|
||||
"github.com/openshift/odo/pkg/kclient"
|
||||
"github.com/openshift/odo/pkg/preference"
|
||||
olm "github.com/operator-framework/api/pkg/operators/v1alpha1"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/redhat-developer/odo/pkg/kclient"
|
||||
"github.com/redhat-developer/odo/pkg/preference"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
|
||||
@@ -15,19 +15,19 @@ import (
|
||||
|
||||
"github.com/devfile/library/pkg/devfile/parser"
|
||||
parsercommon "github.com/devfile/library/pkg/devfile/parser/data/v2/common"
|
||||
"github.com/openshift/odo/pkg/devfile/location"
|
||||
"github.com/openshift/odo/pkg/envinfo"
|
||||
"github.com/openshift/odo/pkg/kclient"
|
||||
"github.com/openshift/odo/pkg/localConfigProvider"
|
||||
"github.com/openshift/odo/pkg/service"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/location"
|
||||
"github.com/redhat-developer/odo/pkg/envinfo"
|
||||
"github.com/redhat-developer/odo/pkg/kclient"
|
||||
"github.com/redhat-developer/odo/pkg/localConfigProvider"
|
||||
"github.com/redhat-developer/odo/pkg/service"
|
||||
|
||||
applabels "github.com/openshift/odo/pkg/application/labels"
|
||||
componentlabels "github.com/openshift/odo/pkg/component/labels"
|
||||
"github.com/openshift/odo/pkg/occlient"
|
||||
"github.com/openshift/odo/pkg/preference"
|
||||
urlpkg "github.com/openshift/odo/pkg/url"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/pkg/errors"
|
||||
applabels "github.com/redhat-developer/odo/pkg/application/labels"
|
||||
componentlabels "github.com/redhat-developer/odo/pkg/component/labels"
|
||||
"github.com/redhat-developer/odo/pkg/occlient"
|
||||
"github.com/redhat-developer/odo/pkg/preference"
|
||||
urlpkg "github.com/redhat-developer/odo/pkg/url"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
servicebinding "github.com/redhat-developer/service-binding-operator/apis/binding/v1alpha1"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
)
|
||||
|
||||
@@ -5,15 +5,15 @@ import (
|
||||
"fmt"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/openshift/odo/pkg/localConfigProvider"
|
||||
"github.com/openshift/odo/pkg/service"
|
||||
"github.com/redhat-developer/odo/pkg/localConfigProvider"
|
||||
"github.com/redhat-developer/odo/pkg/service"
|
||||
|
||||
devfileParser "github.com/devfile/library/pkg/devfile/parser"
|
||||
"github.com/openshift/odo/pkg/envinfo"
|
||||
"github.com/openshift/odo/pkg/log"
|
||||
"github.com/openshift/odo/pkg/occlient"
|
||||
"github.com/openshift/odo/pkg/storage"
|
||||
urlpkg "github.com/openshift/odo/pkg/url"
|
||||
"github.com/redhat-developer/odo/pkg/envinfo"
|
||||
"github.com/redhat-developer/odo/pkg/log"
|
||||
"github.com/redhat-developer/odo/pkg/occlient"
|
||||
"github.com/redhat-developer/odo/pkg/storage"
|
||||
urlpkg "github.com/redhat-developer/odo/pkg/url"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
@@ -13,11 +13,11 @@ import (
|
||||
|
||||
"github.com/devfile/library/pkg/util"
|
||||
"github.com/golang/mock/gomock"
|
||||
applabels "github.com/openshift/odo/pkg/application/labels"
|
||||
componentlabels "github.com/openshift/odo/pkg/component/labels"
|
||||
"github.com/openshift/odo/pkg/localConfigProvider"
|
||||
"github.com/openshift/odo/pkg/occlient"
|
||||
"github.com/openshift/odo/pkg/testingutil"
|
||||
applabels "github.com/redhat-developer/odo/pkg/application/labels"
|
||||
componentlabels "github.com/redhat-developer/odo/pkg/component/labels"
|
||||
"github.com/redhat-developer/odo/pkg/localConfigProvider"
|
||||
"github.com/redhat-developer/odo/pkg/occlient"
|
||||
"github.com/redhat-developer/odo/pkg/testingutil"
|
||||
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
|
||||
@@ -3,7 +3,7 @@ package component
|
||||
import (
|
||||
"github.com/devfile/library/pkg/devfile/parser"
|
||||
parsercommon "github.com/devfile/library/pkg/devfile/parser/data/v2/common"
|
||||
"github.com/openshift/odo/pkg/config"
|
||||
"github.com/redhat-developer/odo/pkg/config"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package labels
|
||||
|
||||
import (
|
||||
applabels "github.com/openshift/odo/pkg/application/labels"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
applabels "github.com/redhat-developer/odo/pkg/application/labels"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
)
|
||||
|
||||
// ComponentLabel is a label key used to identify the component name
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
applabels "github.com/openshift/odo/pkg/application/labels"
|
||||
"github.com/openshift/odo/pkg/version"
|
||||
applabels "github.com/redhat-developer/odo/pkg/application/labels"
|
||||
"github.com/redhat-developer/odo/pkg/version"
|
||||
)
|
||||
|
||||
func TestGetLabels(t *testing.T) {
|
||||
|
||||
@@ -3,13 +3,13 @@ package component
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
applabels "github.com/openshift/odo/pkg/application/labels"
|
||||
componentlabels "github.com/openshift/odo/pkg/component/labels"
|
||||
"github.com/openshift/odo/pkg/kclient"
|
||||
"github.com/openshift/odo/pkg/occlient"
|
||||
"github.com/openshift/odo/pkg/storage"
|
||||
"github.com/openshift/odo/pkg/url"
|
||||
"github.com/pkg/errors"
|
||||
applabels "github.com/redhat-developer/odo/pkg/application/labels"
|
||||
componentlabels "github.com/redhat-developer/odo/pkg/component/labels"
|
||||
"github.com/redhat-developer/odo/pkg/kclient"
|
||||
"github.com/redhat-developer/odo/pkg/occlient"
|
||||
"github.com/redhat-developer/odo/pkg/storage"
|
||||
"github.com/redhat-developer/odo/pkg/url"
|
||||
v1 "k8s.io/api/apps/v1"
|
||||
v12 "k8s.io/api/core/v1"
|
||||
kerrors "k8s.io/apimachinery/pkg/api/errors"
|
||||
|
||||
@@ -12,10 +12,10 @@ import (
|
||||
"github.com/go-git/go-git/v5"
|
||||
"github.com/go-git/go-git/v5/plumbing"
|
||||
"github.com/go-git/go-git/v5/plumbing/transport/http"
|
||||
"github.com/openshift/odo/pkg/devfile/location"
|
||||
"github.com/openshift/odo/pkg/log"
|
||||
registryUtil "github.com/openshift/odo/pkg/odo/cli/registry/util"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/location"
|
||||
"github.com/redhat-developer/odo/pkg/log"
|
||||
registryUtil "github.com/redhat-developer/odo/pkg/odo/cli/registry/util"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package component
|
||||
|
||||
import (
|
||||
"github.com/openshift/odo/pkg/machineoutput"
|
||||
"github.com/openshift/odo/pkg/storage"
|
||||
"github.com/openshift/odo/pkg/url"
|
||||
"github.com/redhat-developer/odo/pkg/machineoutput"
|
||||
"github.com/redhat-developer/odo/pkg/storage"
|
||||
"github.com/redhat-developer/odo/pkg/url"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
|
||||
"github.com/devfile/library/pkg/devfile/parser"
|
||||
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
devfileCtx "github.com/devfile/library/pkg/devfile/parser/context"
|
||||
devfilefs "github.com/devfile/library/pkg/testingutil/filesystem"
|
||||
"github.com/kylelemons/godebug/pretty"
|
||||
odoTestingUtil "github.com/openshift/odo/pkg/testingutil"
|
||||
odoTestingUtil "github.com/redhat-developer/odo/pkg/testingutil"
|
||||
)
|
||||
|
||||
func TestSetDevfileConfiguration(t *testing.T) {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"strings"
|
||||
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
)
|
||||
|
||||
// EnvVar represents an environment variable
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"strings"
|
||||
"syscall"
|
||||
|
||||
"github.com/openshift/odo/pkg/testingutil/filesystem"
|
||||
"github.com/redhat-developer/odo/pkg/testingutil/filesystem"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/klog"
|
||||
)
|
||||
|
||||
@@ -6,10 +6,10 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
|
||||
"github.com/openshift/odo/pkg/testingutil"
|
||||
"github.com/openshift/odo/pkg/testingutil/filesystem"
|
||||
"github.com/redhat-developer/odo/pkg/testingutil"
|
||||
"github.com/redhat-developer/odo/pkg/testingutil/filesystem"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
package debug
|
||||
|
||||
import (
|
||||
"github.com/openshift/odo/pkg/kclient"
|
||||
"github.com/openshift/odo/pkg/occlient"
|
||||
"github.com/redhat-developer/odo/pkg/kclient"
|
||||
"github.com/redhat-developer/odo/pkg/occlient"
|
||||
"k8s.io/client-go/rest"
|
||||
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/openshift/odo/pkg/log"
|
||||
"github.com/redhat-developer/odo/pkg/log"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
|
||||
k8sgenclioptions "k8s.io/cli-runtime/pkg/genericclioptions"
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
"github.com/devfile/library/pkg/devfile/parser/data"
|
||||
parsercommon "github.com/devfile/library/pkg/devfile/parser/data/v2/common"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
"k8s.io/klog"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
)
|
||||
|
||||
// newParallelCompositeCommand creates a new command implementation which will execute the provided commands in parallel
|
||||
|
||||
@@ -4,10 +4,10 @@ import (
|
||||
"fmt"
|
||||
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
"github.com/openshift/odo/pkg/log"
|
||||
"github.com/openshift/odo/pkg/machineoutput"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/redhat-developer/odo/pkg/log"
|
||||
"github.com/redhat-developer/odo/pkg/machineoutput"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
)
|
||||
|
||||
// execCommand is a command implementation for non-composite commands
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
"github.com/openshift/odo/pkg/machineoutput"
|
||||
"github.com/redhat-developer/odo/pkg/machineoutput"
|
||||
)
|
||||
|
||||
// supervisorCommand encapsulates a supervisor-specific command
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
devfileParser "github.com/devfile/library/pkg/devfile/parser"
|
||||
"github.com/devfile/library/pkg/testingutil"
|
||||
"github.com/kylelemons/godebug/pretty"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
)
|
||||
|
||||
var buildGroup = devfilev1.BuildCommandGroupKind
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
|
||||
"k8s.io/klog"
|
||||
|
||||
"github.com/openshift/odo/pkg/log"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/redhat-developer/odo/pkg/log"
|
||||
)
|
||||
|
||||
// ExecClient is a wrapper around ExecCMDInContainer which executes a command in a specific container of a pod.
|
||||
|
||||
@@ -2,7 +2,7 @@ package common
|
||||
|
||||
import (
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
"github.com/openshift/odo/pkg/machineoutput"
|
||||
"github.com/redhat-developer/odo/pkg/machineoutput"
|
||||
)
|
||||
|
||||
// commandExecutor defines the interface adapters must implement to be able to execute commands in a generic way
|
||||
|
||||
@@ -6,10 +6,10 @@ import (
|
||||
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
"github.com/devfile/library/pkg/devfile/parser/data/v2/common"
|
||||
"github.com/openshift/odo/pkg/log"
|
||||
"github.com/openshift/odo/pkg/machineoutput"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/redhat-developer/odo/pkg/log"
|
||||
"github.com/redhat-developer/odo/pkg/machineoutput"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
"k8s.io/klog"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/devfile/library/pkg/devfile/parser/data"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
devfileParser "github.com/devfile/library/pkg/devfile/parser"
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
devfileParser "github.com/devfile/library/pkg/devfile/parser"
|
||||
|
||||
"github.com/openshift/odo/pkg/envinfo"
|
||||
"github.com/redhat-developer/odo/pkg/envinfo"
|
||||
)
|
||||
|
||||
// AdapterContext is a construct that is common to all adapters
|
||||
|
||||
@@ -13,8 +13,8 @@ import (
|
||||
parsercommon "github.com/devfile/library/pkg/devfile/parser/data/v2/common"
|
||||
"github.com/devfile/library/pkg/testingutil"
|
||||
devfileFileSystem "github.com/devfile/library/pkg/testingutil/filesystem"
|
||||
odotestingutil "github.com/openshift/odo/pkg/testingutil"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
odotestingutil "github.com/redhat-developer/odo/pkg/testingutil"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
)
|
||||
|
||||
func TestIsEnvPresent(t *testing.T) {
|
||||
|
||||
@@ -4,10 +4,10 @@ import (
|
||||
"fmt"
|
||||
|
||||
devfileParser "github.com/devfile/library/pkg/devfile/parser"
|
||||
"github.com/openshift/odo/pkg/devfile/adapters/common"
|
||||
"github.com/openshift/odo/pkg/devfile/adapters/kubernetes"
|
||||
"github.com/openshift/odo/pkg/kclient"
|
||||
"github.com/openshift/odo/pkg/occlient"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/adapters/common"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/adapters/kubernetes"
|
||||
"github.com/redhat-developer/odo/pkg/kclient"
|
||||
"github.com/redhat-developer/odo/pkg/occlient"
|
||||
)
|
||||
|
||||
// NewComponentAdapter returns a Devfile adapter for the targeted platform
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
devfileParser "github.com/devfile/library/pkg/devfile/parser"
|
||||
adaptersCommon "github.com/openshift/odo/pkg/devfile/adapters/common"
|
||||
"github.com/openshift/odo/pkg/occlient"
|
||||
adaptersCommon "github.com/redhat-developer/odo/pkg/devfile/adapters/common"
|
||||
"github.com/redhat-developer/odo/pkg/occlient"
|
||||
)
|
||||
|
||||
func TestNewPlatformAdapter(t *testing.T) {
|
||||
|
||||
@@ -4,12 +4,12 @@ import (
|
||||
"io"
|
||||
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
"github.com/openshift/odo/pkg/machineoutput"
|
||||
"github.com/redhat-developer/odo/pkg/machineoutput"
|
||||
|
||||
"github.com/openshift/odo/pkg/devfile/adapters/common"
|
||||
"github.com/openshift/odo/pkg/devfile/adapters/kubernetes/component"
|
||||
"github.com/openshift/odo/pkg/occlient"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/adapters/common"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/adapters/kubernetes/component"
|
||||
"github.com/redhat-developer/odo/pkg/occlient"
|
||||
)
|
||||
|
||||
// Adapter maps Devfiles to Kubernetes resources and actions
|
||||
|
||||
@@ -9,11 +9,11 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/devfile/library/pkg/devfile/generator"
|
||||
componentlabels "github.com/openshift/odo/pkg/component/labels"
|
||||
"github.com/openshift/odo/pkg/devfile"
|
||||
"github.com/openshift/odo/pkg/envinfo"
|
||||
"github.com/openshift/odo/pkg/service"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
componentlabels "github.com/redhat-developer/odo/pkg/component/labels"
|
||||
"github.com/redhat-developer/odo/pkg/devfile"
|
||||
"github.com/redhat-developer/odo/pkg/envinfo"
|
||||
"github.com/redhat-developer/odo/pkg/service"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
@@ -24,16 +24,16 @@ import (
|
||||
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
parsercommon "github.com/devfile/library/pkg/devfile/parser/data/v2/common"
|
||||
"github.com/openshift/odo/pkg/component"
|
||||
"github.com/openshift/odo/pkg/devfile/adapters/common"
|
||||
"github.com/openshift/odo/pkg/devfile/adapters/kubernetes/storage"
|
||||
"github.com/openshift/odo/pkg/devfile/adapters/kubernetes/utils"
|
||||
"github.com/openshift/odo/pkg/kclient"
|
||||
"github.com/openshift/odo/pkg/log"
|
||||
"github.com/openshift/odo/pkg/occlient"
|
||||
storagepkg "github.com/openshift/odo/pkg/storage"
|
||||
storagelabels "github.com/openshift/odo/pkg/storage/labels"
|
||||
"github.com/openshift/odo/pkg/sync"
|
||||
"github.com/redhat-developer/odo/pkg/component"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/adapters/common"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/adapters/kubernetes/storage"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/adapters/kubernetes/utils"
|
||||
"github.com/redhat-developer/odo/pkg/kclient"
|
||||
"github.com/redhat-developer/odo/pkg/log"
|
||||
"github.com/redhat-developer/odo/pkg/occlient"
|
||||
storagepkg "github.com/redhat-developer/odo/pkg/storage"
|
||||
storagelabels "github.com/redhat-developer/odo/pkg/storage/labels"
|
||||
"github.com/redhat-developer/odo/pkg/sync"
|
||||
kerrors "k8s.io/apimachinery/pkg/api/errors"
|
||||
)
|
||||
|
||||
|
||||
@@ -8,19 +8,19 @@ import (
|
||||
"github.com/devfile/library/pkg/devfile/parser/data"
|
||||
|
||||
"github.com/devfile/library/pkg/devfile/generator"
|
||||
"github.com/openshift/odo/pkg/envinfo"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/redhat-developer/odo/pkg/envinfo"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
devfileParser "github.com/devfile/library/pkg/devfile/parser"
|
||||
"github.com/devfile/library/pkg/testingutil"
|
||||
applabels "github.com/openshift/odo/pkg/application/labels"
|
||||
componentLabels "github.com/openshift/odo/pkg/component/labels"
|
||||
adaptersCommon "github.com/openshift/odo/pkg/devfile/adapters/common"
|
||||
"github.com/openshift/odo/pkg/kclient"
|
||||
"github.com/openshift/odo/pkg/occlient"
|
||||
odoTestingUtil "github.com/openshift/odo/pkg/testingutil"
|
||||
applabels "github.com/redhat-developer/odo/pkg/application/labels"
|
||||
componentLabels "github.com/redhat-developer/odo/pkg/component/labels"
|
||||
adaptersCommon "github.com/redhat-developer/odo/pkg/devfile/adapters/common"
|
||||
"github.com/redhat-developer/odo/pkg/kclient"
|
||||
"github.com/redhat-developer/odo/pkg/occlient"
|
||||
odoTestingUtil "github.com/redhat-developer/odo/pkg/testingutil"
|
||||
|
||||
v1 "k8s.io/api/apps/v1"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
|
||||
@@ -3,7 +3,7 @@ package component
|
||||
import (
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
"github.com/devfile/library/pkg/devfile/parser"
|
||||
"github.com/openshift/odo/pkg/devfile/image"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/image"
|
||||
)
|
||||
|
||||
// componentImage represents a devfile component of type Image
|
||||
|
||||
@@ -6,11 +6,11 @@ import (
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
"github.com/devfile/library/pkg/devfile/parser"
|
||||
devfilefs "github.com/devfile/library/pkg/testingutil/filesystem"
|
||||
componentlabels "github.com/openshift/odo/pkg/component/labels"
|
||||
"github.com/openshift/odo/pkg/log"
|
||||
"github.com/openshift/odo/pkg/occlient"
|
||||
"github.com/openshift/odo/pkg/service"
|
||||
"github.com/pkg/errors"
|
||||
componentlabels "github.com/redhat-developer/odo/pkg/component/labels"
|
||||
"github.com/redhat-developer/odo/pkg/log"
|
||||
"github.com/redhat-developer/odo/pkg/occlient"
|
||||
"github.com/redhat-developer/odo/pkg/service"
|
||||
)
|
||||
|
||||
// componentKubernetes represents a devfile component of type Kubernetes
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"reflect"
|
||||
"time"
|
||||
|
||||
"github.com/openshift/odo/pkg/machineoutput"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/redhat-developer/odo/pkg/machineoutput"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
|
||||
@@ -9,9 +9,9 @@ import (
|
||||
"time"
|
||||
|
||||
devfileParser "github.com/devfile/library/pkg/devfile/parser"
|
||||
adaptersCommon "github.com/openshift/odo/pkg/devfile/adapters/common"
|
||||
"github.com/openshift/odo/pkg/machineoutput"
|
||||
"github.com/openshift/odo/pkg/occlient"
|
||||
adaptersCommon "github.com/redhat-developer/odo/pkg/devfile/adapters/common"
|
||||
"github.com/redhat-developer/odo/pkg/machineoutput"
|
||||
"github.com/redhat-developer/odo/pkg/occlient"
|
||||
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
|
||||
@@ -15,8 +15,8 @@ import (
|
||||
"github.com/pkg/errors"
|
||||
"k8s.io/klog"
|
||||
|
||||
"github.com/openshift/odo/pkg/devfile/adapters/common"
|
||||
"github.com/openshift/odo/pkg/machineoutput"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/adapters/common"
|
||||
"github.com/redhat-developer/odo/pkg/machineoutput"
|
||||
)
|
||||
|
||||
// KubernetesDeploymentStatus is a simplified representation of the component's cluster resources
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
package component
|
||||
|
||||
import (
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
"testing"
|
||||
|
||||
"github.com/devfile/library/pkg/devfile/parser/data"
|
||||
|
||||
"github.com/openshift/odo/pkg/envinfo"
|
||||
"github.com/redhat-developer/odo/pkg/envinfo"
|
||||
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
devfileParser "github.com/devfile/library/pkg/devfile/parser"
|
||||
"github.com/devfile/library/pkg/testingutil"
|
||||
applabels "github.com/openshift/odo/pkg/application/labels"
|
||||
componentlabels "github.com/openshift/odo/pkg/component/labels"
|
||||
adaptersCommon "github.com/openshift/odo/pkg/devfile/adapters/common"
|
||||
"github.com/openshift/odo/pkg/kclient"
|
||||
"github.com/openshift/odo/pkg/occlient"
|
||||
applabels "github.com/redhat-developer/odo/pkg/application/labels"
|
||||
componentlabels "github.com/redhat-developer/odo/pkg/component/labels"
|
||||
adaptersCommon "github.com/redhat-developer/odo/pkg/devfile/adapters/common"
|
||||
"github.com/redhat-developer/odo/pkg/kclient"
|
||||
"github.com/redhat-developer/odo/pkg/occlient"
|
||||
|
||||
v1 "k8s.io/api/apps/v1"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
|
||||
@@ -6,13 +6,13 @@ import (
|
||||
|
||||
devfileParser "github.com/devfile/library/pkg/devfile/parser"
|
||||
parsercommon "github.com/devfile/library/pkg/devfile/parser/data/v2/common"
|
||||
componentlabels "github.com/openshift/odo/pkg/component/labels"
|
||||
"github.com/openshift/odo/pkg/envinfo"
|
||||
"github.com/openshift/odo/pkg/kclient"
|
||||
"github.com/openshift/odo/pkg/preference"
|
||||
"github.com/openshift/odo/pkg/storage"
|
||||
storagelabels "github.com/openshift/odo/pkg/storage/labels"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
componentlabels "github.com/redhat-developer/odo/pkg/component/labels"
|
||||
"github.com/redhat-developer/odo/pkg/envinfo"
|
||||
"github.com/redhat-developer/odo/pkg/kclient"
|
||||
"github.com/redhat-developer/odo/pkg/preference"
|
||||
"github.com/redhat-developer/odo/pkg/storage"
|
||||
storagelabels "github.com/redhat-developer/odo/pkg/storage/labels"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
kerrors "k8s.io/apimachinery/pkg/api/errors"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
devfileParser "github.com/devfile/library/pkg/devfile/parser"
|
||||
"github.com/devfile/library/pkg/devfile/parser/data"
|
||||
parsercommon "github.com/devfile/library/pkg/devfile/parser/data/v2/common"
|
||||
"github.com/openshift/odo/pkg/testingutil"
|
||||
"github.com/redhat-developer/odo/pkg/testingutil"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
)
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ import (
|
||||
"strconv"
|
||||
|
||||
devfileParser "github.com/devfile/library/pkg/devfile/parser"
|
||||
adaptersCommon "github.com/openshift/odo/pkg/devfile/adapters/common"
|
||||
"github.com/openshift/odo/pkg/kclient"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
adaptersCommon "github.com/redhat-developer/odo/pkg/devfile/adapters/common"
|
||||
"github.com/redhat-developer/odo/pkg/kclient"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
|
||||
"github.com/openshift/odo/pkg/storage"
|
||||
"github.com/redhat-developer/odo/pkg/storage"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
"k8s.io/klog"
|
||||
)
|
||||
|
||||
@@ -6,15 +6,15 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/devfile/library/pkg/devfile/parser/data"
|
||||
"github.com/openshift/odo/pkg/storage"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/redhat-developer/odo/pkg/storage"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
devfileParser "github.com/devfile/library/pkg/devfile/parser"
|
||||
adaptersCommon "github.com/openshift/odo/pkg/devfile/adapters/common"
|
||||
"github.com/openshift/odo/pkg/kclient"
|
||||
odoTestingUtil "github.com/openshift/odo/pkg/testingutil"
|
||||
"github.com/pkg/errors"
|
||||
adaptersCommon "github.com/redhat-developer/odo/pkg/devfile/adapters/common"
|
||||
"github.com/redhat-developer/odo/pkg/kclient"
|
||||
odoTestingUtil "github.com/redhat-developer/odo/pkg/testingutil"
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/openshift/odo/pkg/devfile/consts"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/consts"
|
||||
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
"github.com/devfile/library/pkg/devfile/parser"
|
||||
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/openshift/odo/pkg/devfile/consts"
|
||||
devfiletesting "github.com/openshift/odo/pkg/devfile/testing"
|
||||
"github.com/openshift/odo/pkg/testingutil"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/consts"
|
||||
devfiletesting "github.com/redhat-developer/odo/pkg/devfile/testing"
|
||||
"github.com/redhat-developer/odo/pkg/testingutil"
|
||||
|
||||
"github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
|
||||
"github.com/devfile/library/pkg/devfile"
|
||||
"github.com/devfile/library/pkg/devfile/parser"
|
||||
"github.com/openshift/odo/pkg/devfile/validate"
|
||||
"github.com/openshift/odo/pkg/log"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/validate"
|
||||
"github.com/redhat-developer/odo/pkg/log"
|
||||
)
|
||||
|
||||
func parseDevfile(args parser.ParserArgs) (parser.DevfileObj, error) {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"strings"
|
||||
|
||||
devfile "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
"github.com/openshift/odo/pkg/log"
|
||||
"github.com/redhat-developer/odo/pkg/log"
|
||||
"k8s.io/klog"
|
||||
)
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
devfile "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
"github.com/devfile/library/pkg/devfile/parser"
|
||||
"github.com/devfile/library/pkg/devfile/parser/data/v2/common"
|
||||
"github.com/openshift/odo/pkg/odo/genericclioptions"
|
||||
"github.com/redhat-developer/odo/pkg/odo/genericclioptions"
|
||||
)
|
||||
|
||||
// Backend is in interface that must be implemented by container runtimes
|
||||
|
||||
@@ -3,7 +3,7 @@ package location
|
||||
import (
|
||||
"path/filepath"
|
||||
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
)
|
||||
|
||||
// possibleDevfileNames contains possivle devfile name that should be checked in the context dir.
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
"github.com/devfile/library/pkg/devfile/parser/data"
|
||||
devfileFileSystem "github.com/devfile/library/pkg/testingutil/filesystem"
|
||||
"github.com/openshift/odo/pkg/devfile/consts"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/consts"
|
||||
)
|
||||
|
||||
type InlinedComponent struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"testing"
|
||||
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
)
|
||||
|
||||
var buildGroup = devfilev1.BuildCommandGroupKind
|
||||
|
||||
@@ -3,7 +3,7 @@ package validate
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/openshift/odo/pkg/devfile/adapters/common"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/adapters/common"
|
||||
|
||||
v2 "github.com/devfile/library/pkg/devfile/parser/data/v2"
|
||||
parsercommon "github.com/devfile/library/pkg/devfile/parser/data/v2/common"
|
||||
|
||||
@@ -9,14 +9,14 @@ import (
|
||||
|
||||
"github.com/devfile/library/pkg/devfile/parser"
|
||||
"github.com/devfile/library/pkg/devfile/parser/data/v2/common"
|
||||
"github.com/openshift/odo/pkg/devfile/location"
|
||||
"github.com/openshift/odo/pkg/localConfigProvider"
|
||||
"github.com/openshift/odo/pkg/testingutil/filesystem"
|
||||
"github.com/redhat-developer/odo/pkg/devfile/location"
|
||||
"github.com/redhat-developer/odo/pkg/localConfigProvider"
|
||||
"github.com/redhat-developer/odo/pkg/testingutil/filesystem"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
"k8s.io/klog"
|
||||
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
)
|
||||
|
||||
type RUNMode string
|
||||
|
||||
@@ -14,11 +14,11 @@ import (
|
||||
"github.com/devfile/library/pkg/devfile/parser"
|
||||
devfileCtx "github.com/devfile/library/pkg/devfile/parser/context"
|
||||
"github.com/devfile/library/pkg/devfile/parser/data/v2/common"
|
||||
"github.com/openshift/odo/pkg/localConfigProvider"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/redhat-developer/odo/pkg/localConfigProvider"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
|
||||
devfileFileSystem "github.com/devfile/library/pkg/testingutil/filesystem"
|
||||
"github.com/openshift/odo/pkg/testingutil/filesystem"
|
||||
"github.com/redhat-developer/odo/pkg/testingutil/filesystem"
|
||||
)
|
||||
|
||||
func TestSetEnvInfo(t *testing.T) {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"k8s.io/klog/v2"
|
||||
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
"github.com/openshift/odo/pkg/localConfigProvider"
|
||||
"github.com/redhat-developer/odo/pkg/localConfigProvider"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"github.com/devfile/library/pkg/devfile/parser"
|
||||
"github.com/devfile/library/pkg/testingutil"
|
||||
"github.com/kylelemons/godebug/pretty"
|
||||
"github.com/openshift/odo/pkg/localConfigProvider"
|
||||
"github.com/redhat-developer/odo/pkg/localConfigProvider"
|
||||
)
|
||||
|
||||
func TestGetVolumeMountPath(t *testing.T) {
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"reflect"
|
||||
"text/tabwriter"
|
||||
|
||||
"github.com/openshift/odo/pkg/localConfigProvider"
|
||||
"github.com/openshift/odo/pkg/machineoutput"
|
||||
"github.com/redhat-developer/odo/pkg/localConfigProvider"
|
||||
"github.com/redhat-developer/odo/pkg/machineoutput"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
|
||||
@@ -9,10 +9,10 @@ import (
|
||||
devfilev1 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2"
|
||||
"github.com/devfile/library/pkg/devfile/parser"
|
||||
"github.com/devfile/library/pkg/devfile/parser/data/v2/common"
|
||||
"github.com/openshift/odo/pkg/localConfigProvider"
|
||||
"github.com/openshift/odo/pkg/odo/util/validation"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/redhat-developer/odo/pkg/localConfigProvider"
|
||||
"github.com/redhat-developer/odo/pkg/odo/util/validation"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
)
|
||||
|
||||
//getPorts gets the ports from devfile
|
||||
|
||||
@@ -12,9 +12,9 @@ import (
|
||||
parsercommon "github.com/devfile/library/pkg/devfile/parser/data/v2/common"
|
||||
"github.com/devfile/library/pkg/testingutil/filesystem"
|
||||
"github.com/kylelemons/godebug/pretty"
|
||||
"github.com/openshift/odo/pkg/localConfigProvider"
|
||||
odoTestingUtil "github.com/openshift/odo/pkg/testingutil"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/redhat-developer/odo/pkg/localConfigProvider"
|
||||
odoTestingUtil "github.com/redhat-developer/odo/pkg/testingutil"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
)
|
||||
|
||||
func TestEnvInfo_CompleteURL(t *testing.T) {
|
||||
|
||||
@@ -9,9 +9,9 @@ import (
|
||||
|
||||
"k8s.io/apimachinery/pkg/api/meta"
|
||||
|
||||
"github.com/openshift/odo/pkg/log"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/redhat-developer/odo/pkg/log"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
kerrors "k8s.io/apimachinery/pkg/api/errors"
|
||||
@@ -22,7 +22,7 @@ import (
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
"k8s.io/klog"
|
||||
|
||||
componentlabels "github.com/openshift/odo/pkg/component/labels"
|
||||
componentlabels "github.com/redhat-developer/odo/pkg/component/labels"
|
||||
apiMachineryWatch "k8s.io/apimachinery/pkg/watch"
|
||||
)
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ import (
|
||||
devfileParser "github.com/devfile/library/pkg/devfile/parser"
|
||||
parsercommon "github.com/devfile/library/pkg/devfile/parser/data/v2/common"
|
||||
"github.com/devfile/library/pkg/testingutil"
|
||||
odoTestingUtil "github.com/openshift/odo/pkg/testingutil"
|
||||
"github.com/openshift/odo/pkg/util"
|
||||
odoTestingUtil "github.com/redhat-developer/odo/pkg/testingutil"
|
||||
"github.com/redhat-developer/odo/pkg/util"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"sync"
|
||||
|
||||
"github.com/openshift/odo/pkg/log"
|
||||
"github.com/redhat-developer/odo/pkg/log"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/klog"
|
||||
|
||||
@@ -2,7 +2,7 @@ package kclient
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/openshift/odo/pkg/log"
|
||||
"github.com/redhat-developer/odo/pkg/log"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/watch"
|
||||
|
||||
@@ -2,13 +2,13 @@ package fake
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/openshift/odo/pkg/unions"
|
||||
"github.com/redhat-developer/odo/pkg/unions"
|
||||
|
||||
"github.com/devfile/library/pkg/devfile/generator"
|
||||
applabels "github.com/openshift/odo/pkg/application/labels"
|
||||
componentlabels "github.com/openshift/odo/pkg/component/labels"
|
||||
"github.com/openshift/odo/pkg/url/labels"
|
||||
"github.com/openshift/odo/pkg/version"
|
||||
applabels "github.com/redhat-developer/odo/pkg/application/labels"
|
||||
componentlabels "github.com/redhat-developer/odo/pkg/component/labels"
|
||||
"github.com/redhat-developer/odo/pkg/url/labels"
|
||||
"github.com/redhat-developer/odo/pkg/version"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/util/intstr"
|
||||
)
|
||||
|
||||
@@ -2,7 +2,7 @@ package kclient
|
||||
|
||||
import (
|
||||
fakeServiceCatalogClientSet "github.com/kubernetes-sigs/service-catalog/pkg/client/clientset_generated/clientset/fake"
|
||||
odoFake "github.com/openshift/odo/pkg/kclient/fake"
|
||||
odoFake "github.com/redhat-developer/odo/pkg/kclient/fake"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
fakeKubeClientset "k8s.io/client-go/kubernetes/fake"
|
||||
|
||||
@@ -3,7 +3,7 @@ package kclient
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/openshift/odo/pkg/unions"
|
||||
"github.com/redhat-developer/odo/pkg/unions"
|
||||
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user