Skip to content

Commit eb5134e

Browse files
mohitsumandgolovin
authored andcommitted
update openshift toolkit nomenclature
Signed-off-by: Mohit Suman <mohit.skn@gmail.com>
1 parent 443c36b commit eb5134e

File tree

24 files changed

+919
-458
lines changed

24 files changed

+919
-458
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ There are only a few guidelines that we need contributors to follow.
2828
```bash
2929
$ vsce package
3030
```
31-
3. `openshift-connector-<version>.vsix` file is created. Install it by following the instructions [here](https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix).
31+
3. `openshift-toolkit-<version>.vsix` file is created. Install it by following the instructions [here](https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix).
3232

3333

3434
4. Once the extension is installed and reloaded, there will be an OpenShift Icon on the View Container, on the lines of snap mentioned below.

Jenkinsfile

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,37 +32,37 @@ node('rhel8'){
3232
packageJson.extensionDependencies << "ms-kubernetes-tools.vscode-kubernetes-tools"
3333
writeJSON file: 'package.json', json: packageJson, pretty: 4
3434
sh 'node ./out/build/update-readme.js'
35-
sh "vsce package -o openshift-connector-${packageJson.version}-${env.BUILD_NUMBER}-ovsx.vsix"
36-
sh "sha256sum *-ovsx.vsix > openshift-connector-${packageJson.version}-${env.BUILD_NUMBER}-ovsx.vsix.sha256"
37-
sh "npm pack && mv vscode-openshift-connector-${packageJson.version}.tgz openshift-connector-${packageJson.version}-${env.BUILD_NUMBER}.tgz"
38-
sh "sha256sum *.tgz > openshift-connector-${packageJson.version}-${env.BUILD_NUMBER}.tgz.sha256"
35+
sh "vsce package -o openshift-toolkit-${packageJson.version}-${env.BUILD_NUMBER}-ovsx.vsix"
36+
sh "sha256sum *-ovsx.vsix > openshift-toolkit-${packageJson.version}-${env.BUILD_NUMBER}-ovsx.vsix.sha256"
37+
sh "npm pack && mv vscode-openshift-toolkit-${packageJson.version}.tgz openshift-toolkit-${packageJson.version}-${env.BUILD_NUMBER}.tgz"
38+
sh "sha256sum *.tgz > openshift-toolkit-${packageJson.version}-${env.BUILD_NUMBER}.tgz.sha256"
3939
}
4040
}
41-
41+
4242
withEnv(['TARGET=win32']) {
4343
stage('Package win32-x64') {
44-
sh "vsce package --target win32-x64 -o openshift-connector-${packageJson.version}-${env.BUILD_NUMBER}-win32-x64.vsix"
45-
sh "sha256sum *-win32-x64.vsix > openshift-connector-${packageJson.version}-${env.BUILD_NUMBER}-win32-x64.vsix.sha256"
44+
sh "vsce package --target win32-x64 -o openshift-toolkit-${packageJson.version}-${env.BUILD_NUMBER}-win32-x64.vsix"
45+
sh "sha256sum *-win32-x64.vsix > openshift-toolkit-${packageJson.version}-${env.BUILD_NUMBER}-win32-x64.vsix.sha256"
4646
}
4747
}
4848

4949
withEnv(['TARGET=linux']) {
5050
stage('Package linux-x64') {
51-
sh "vsce package --target linux-x64 -o openshift-connector-${packageJson.version}-${env.BUILD_NUMBER}-linux-x64.vsix"
52-
sh "sha256sum *-linux-x64.vsix > openshift-connector-${packageJson.version}-${env.BUILD_NUMBER}-linux-x64.vsix.sha256"
51+
sh "vsce package --target linux-x64 -o openshift-toolkit-${packageJson.version}-${env.BUILD_NUMBER}-linux-x64.vsix"
52+
sh "sha256sum *-linux-x64.vsix > openshift-toolkit-${packageJson.version}-${env.BUILD_NUMBER}-linux-x64.vsix.sha256"
5353
}
5454
}
5555

5656
withEnv(['TARGET=darwin']) {
5757
stage('Package darwin-x64') {
58-
sh "vsce package --target darwin-x64 -o openshift-connector-${packageJson.version}-${env.BUILD_NUMBER}-darwin-x64.vsix"
59-
sh "sha256sum *-darwin-x64.vsix > openshift-connector-${packageJson.version}-${env.BUILD_NUMBER}-darwin-x64.vsix.sha256"
58+
sh "vsce package --target darwin-x64 -o openshift-toolkit-${packageJson.version}-${env.BUILD_NUMBER}-darwin-x64.vsix"
59+
sh "sha256sum *-darwin-x64.vsix > openshift-toolkit-${packageJson.version}-${env.BUILD_NUMBER}-darwin-x64.vsix.sha256"
6060
}
6161
}
6262

6363
stage('vsix package smoke test') {
6464
wrap([$class: 'Xvnc']) {
65-
sh "node ./out/build/install-vscode.js openshift-connector-${packageJson.version}-${env.BUILD_NUMBER}-ovsx.vsix && node ./out/build/run-tests.js vsix-test test/fake-extension/"
65+
sh "node ./out/build/install-vscode.js openshift-toolkit-${packageJson.version}-${env.BUILD_NUMBER}-ovsx.vsix && node ./out/build/run-tests.js vsix-test test/fake-extension/"
6666
}
6767
}
6868

@@ -86,9 +86,9 @@ node('rhel8'){
8686
if(publishToMarketPlace.equals('true')) {
8787
stage("Publish to Marketplace") {
8888
withCredentials([[$class: 'StringBinding', credentialsId: 'vscode_java_marketplace', variable: 'TOKEN']]) {
89-
sh "vsce publish -p ${TOKEN} --packagePath openshift-connector-${packageJson.version}-${env.BUILD_NUMBER}-darwin-x64.vsix"
90-
sh "vsce publish -p ${TOKEN} --packagePath openshift-connector-${packageJson.version}-${env.BUILD_NUMBER}-linux-x64.vsix"
91-
sh "vsce publish -p ${TOKEN} --packagePath openshift-connector-${packageJson.version}-${env.BUILD_NUMBER}-win32-x64.vsix"
89+
sh "vsce publish -p ${TOKEN} --packagePath openshift-toolkit-${packageJson.version}-${env.BUILD_NUMBER}-darwin-x64.vsix"
90+
sh "vsce publish -p ${TOKEN} --packagePath openshift-toolkit-${packageJson.version}-${env.BUILD_NUMBER}-linux-x64.vsix"
91+
sh "vsce publish -p ${TOKEN} --packagePath openshift-toolkit-${packageJson.version}-${env.BUILD_NUMBER}-win32-x64.vsix"
9292
}
9393

9494
stage "Promote the build to stable"
@@ -108,7 +108,7 @@ node('rhel8'){
108108
stage("Publish to OVSX") {
109109
sh "npm install -g ovsx"
110110
withCredentials([[$class: 'StringBinding', credentialsId: 'open-vsx-access-token', variable: 'OVSX_TOKEN']]) {
111-
sh "ovsx publish -p ${OVSX_TOKEN} openshift-connector-${packageJson.version}-${env.BUILD_NUMBER}-ovsx.vsix"
111+
sh "ovsx publish -p ${OVSX_TOKEN} openshift-toolkit-${packageJson.version}-${env.BUILD_NUMBER}-ovsx.vsix"
112112
}
113113
}
114114
}

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# OpenShift Connector
1+
# OpenShift Toolkit
22

3-
[![Visual Studio Marketplace](https://img.shields.io/visual-studio-marketplace/v/redhat.vscode-openshift-connector?style=for-the-badge&label=VS%20Marketplace&logo=visual-studio-code&color=blue)](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-openshift-connector)
4-
[![Downloads](https://img.shields.io/visual-studio-marketplace/d/redhat.vscode-openshift-connector?style=for-the-badge&color=purple)](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-openshift-connector)
3+
[![Visual Studio Marketplace](https://img.shields.io/visual-studio-marketplace/v/redhat.vscode-openshift-toolkit?style=for-the-badge&label=VS%20Marketplace&logo=visual-studio-code&color=blue)](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-openshift-toolkit)
4+
[![Downloads](https://img.shields.io/visual-studio-marketplace/d/redhat.vscode-openshift-toolkit?style=for-the-badge&color=purple)](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-openshift-toolkit)
55
[![Gitter](https://img.shields.io/gitter/room/redhat-developer/vscode-openshift-tools?style=for-the-badge&logo=gitter)](https://gitter.im/redhat-developer/openshift-connector)
66
[![Build Status](https://img.shields.io/github/workflow/status/redhat-developer/vscode-openshift-tools/CI?style=for-the-badge&logo=github)](https://github.com/redhat-developer/vscode-openshift-tools/actions?query=workflow%3ACI)
77
[![Unit Tests Code Coverage](https://img.shields.io/codecov/c/github/redhat-developer/vscode-openshift-tools?logo=codecov&style=for-the-badge)](https://codecov.io/gh/redhat-developer/vscode-openshift-tools/branch/main/graph/badge.svg)
88
[![License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=for-the-badge)](https://github.com/redhat-developer/vscode-openshift-tools/blob/main/LICENSE)
99

1010
## Overview
1111

12-
OpenShift Connector extension provides an end-to-end developer experience for Red Hat® OpenShift®. Using this extension:
12+
OpenShift Toolkit extension provides an end-to-end developer experience for Red Hat® OpenShift®. Using this extension:
1313
- Developers can easily create, deploy and live debug container applications running on OpenShift.
1414
- Create [devfile](https://devfile.io/docs/2.1.0/what-is-a-devfile) based components directly from Devfile Registries View
1515
- Follow logs for the deployed applications on OpenShift
@@ -181,7 +181,7 @@ Default Visual Studio Code installation includes JavaScript/TypeScript Language
181181

182182
### Debug Java Component
183183

184-
To debug a Java Component, [Java Language Support](https://marketplace.visualstudio.com/items?itemName=redhat.java) and [Java Debugger](https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-debug) Extensions are required. OpenShift Connector extension will prompt the user to install missing extension(s) before it starts Debugger for a Java Component.
184+
To debug a Java Component, [Java Language Support](https://marketplace.visualstudio.com/items?itemName=redhat.java) and [Java Debugger](https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-debug) Extensions are required. OpenShift Toolkit extension will prompt the user to install missing extension(s) before it starts Debugger for a Java Component.
185185

186186
![ screencast ](https://raw.githubusercontent.com/redhat-developer/vscode-openshift-tools/main/images/gif/debug-java.gif)
187187

@@ -202,20 +202,20 @@ To debug a Java Component, [Java Language Support](https://marketplace.visualstu
202202
<div><img src="https://raw.githubusercontent.com/redhat-developer/vscode-openshift-tools/main/images/context/url-node-open.png" width="15" height="15" /><span style="margin: 20px">Open URL</span></div>
203203

204204
## Extension Configuration Settings
205-
* `OpenShift Connector: Show Channel On Output` - Show OpenShift Connector output channel when new text added to output stream
206-
* `OpenShift Connector: Output verbosity level` - Output verbosity level (value between 0 and 9) for OpenShift Create, Push and Watch commands in output channel and terminal view
207-
* `OpenShift Connector: Search CLI tools in PATH locations before using included binaries` - Force extension to search for `oc` and `odo` CLI tools in PATH locations before using bundled binaries
208-
* `OpenShift Connector: Use Webview based editors to show 'Show Log', 'Follow Log' and 'Describe' commands output` - Use Webview based editors instead of Terminal view to show or follow logs
209-
* `OpenShift Connector: CRC Executable Location` - Provide the path where OpenShift Local is installed.
210-
* `OpenShift Connector: CRC Pull Secret Path` - Provide the path where the pull secret file is present.
211-
* `OpenShift Connector: CRC Cpu Cores` - Number of CPU cores to allocate to the OpenShift cluster as selected during the first run.
212-
* `OpenShift Connector: CRC Memory Allocation` - MiB of memory to allocate to the OpenShift cluster as selected during the first run.
205+
* `OpenShift Toolkit: Show Channel On Output` - Show OpenShift Toolkit output channel when new text added to output stream
206+
* `OpenShift Toolkit: Output verbosity level` - Output verbosity level (value between 0 and 9) for OpenShift Create, Push and Watch commands in output channel and terminal view
207+
* `OpenShift Toolkit: Search CLI tools in PATH locations before using included binaries` - Force extension to search for `oc` and `odo` CLI tools in PATH locations before using bundled binaries
208+
* `OpenShift Toolkit: Use Webview based editors to show 'Show Log', 'Follow Log' and 'Describe' commands output` - Use Webview based editors instead of Terminal view to show or follow logs
209+
* `OpenShift Toolkit: CRC Executable Location` - Provide the path where OpenShift Local is installed.
210+
* `OpenShift Toolkit: CRC Pull Secret Path` - Provide the path where the pull secret file is present.
211+
* `OpenShift Toolkit: CRC Cpu Cores` - Number of CPU cores to allocate to the OpenShift cluster as selected during the first run.
212+
* `OpenShift Toolkit: CRC Memory Allocation` - MiB of memory to allocate to the OpenShift cluster as selected during the first run.
213213

214214
## OpenShift Resources
215215

216216
This Extension uses Kubernetes Extension API to show OpenShift specific resources like Projects, Routes, Deployment Configs, Image Streams, Templates and others in Kubernetes Clusters View.
217217

218-
OpenShift Connector extension provides ```Use Project``` command to switch between OpenShift Projects. It is available for Project items in Kubernetes Clusters View.
218+
OpenShift Toolkit extension provides ```Use Project``` command to switch between OpenShift Projects. It is available for Project items in Kubernetes Clusters View.
219219

220220
![ useproject ](https://raw.githubusercontent.com/redhat-developer/vscode-openshift-tools/main/images/use-project.png)
221221

@@ -267,7 +267,7 @@ This is an open source project open to anyone. This project welcomes contributio
267267

268268
For information on getting started, refer to the [CONTRIBUTING instructions](CONTRIBUTING.md).
269269

270-
Download the most recent `openshift-connector-<version>.vsix` file from the [release](https://github.com/redhat-developer/vscode-openshift-tools/releases) and install it by following the instructions [here](https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix). Stable releases are archived [here](https://download.jboss.org/jbosstools/adapters/stable/vscode-openshift-tools/).
270+
Download the most recent `openshift-toolkit-<version>.vsix` file from the [release](https://github.com/redhat-developer/vscode-openshift-tools/releases) and install it by following the instructions [here](https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix). Stable releases are archived [here](https://download.jboss.org/jbosstools/adapters/stable/vscode-openshift-tools/).
271271

272272
## Feedback & Questions
273273

@@ -281,4 +281,4 @@ MIT, See [LICENSE](LICENSE) for more information.
281281

282282
## Data and telemetry
283283

284-
The Red Hat OpenShift Connector for Visual Studio Code collects anonymous [usage data](USAGE_DATA.md) and sends it to Red Hat servers to help improve our products and services. Read our [privacy statement](https://developers.redhat.com/article/tool-data-collection) to learn more. This extension respects the `redhat.telemetry.enabled` setting which you can learn more about at https://github.com/redhat-developer/vscode-commons#how-to-disable-telemetry-reporting
284+
The Red Hat OpenShift Toolkit for Visual Studio Code collects anonymous [usage data](USAGE_DATA.md) and sends it to Red Hat servers to help improve our products and services. Read our [privacy statement](https://developers.redhat.com/article/tool-data-collection) to learn more. This extension respects the `redhat.telemetry.enabled` setting which you can learn more about at https://github.com/redhat-developer/vscode-commons#how-to-disable-telemetry-reporting

USAGE_DATA.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## [OpenShift Connector](https://github.com/redhat-developer/vscode-openshift-tools)
1+
## [OpenShift Toolkit](https://github.com/redhat-developer/vscode-openshift-tools)
22

33
### Usage Data Reported
44

0 commit comments

Comments
 (0)