Skip to content

Commit

Permalink
update to 0.0.22 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitsuman committed Jun 18, 2019
1 parent de457dd commit d88c1a6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log

## 0.0.22 (May 27, 2019)
## 0.0.22 (June 18, 2019)
* [#888](https://github.com/redhat-developer/vscode-openshift-tools/pull/888) Prettify json in OpenShift Output Channel
* [#882](https://github.com/redhat-developer/vscode-openshift-tools/pull/882) Add BuildConfig and Builds to Clusters View
* [#835](https://github.com/redhat-developer/vscode-openshift-tools/pull/835) Provide keybinding for Login, push and refresh commands
* [#873](https://github.com/redhat-developer/vscode-openshift-tools/pull/873) Hide session token when used for log in to the cluster

## 0.0.21 (May 16, 2019)
* Add dependency to [Kubernetes extension from Microsoft](https://marketplace.visualstudio.com/items?itemName=ms-kubernetes-tools.vscode-kubernetes-tools)
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[![Build Status](https://travis-ci.org/redhat-developer/vscode-openshift-tools.svg?branch=master)](https://travis-ci.org/redhat-developer/vscode-openshift-tools)
[![Unit Tests Code Coverage](https://codecov.io/gh/redhat-developer/vscode-openshift-tools/branch/master/graph/badge.svg)](https://codecov.io/gh/redhat-developer/vscode-openshift-tools/branch/master/graph/badge.svg)
[![License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/redhat-developer/vscode-openshift-tools/blob/master/README.md)
[![Chat](https://img.shields.io/badge/chat-on%20mattermost-brightgreen.svg)](https://chat.openshift.io/developers/channels/adapters)
[![Visual Studio Marketplace](https://vsmarketplacebadge.apphb.com/version/redhat.vscode-openshift-connector.svg)](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-openshift-connector)


Expand Down Expand Up @@ -105,7 +104,7 @@ For detail analysis of how to setup and run local OpenShift Cluster using minish

This extension uses two CLI tools to interact with OpenShift cluster:
* OKD CLI client tool - [oc](https://github.com/openshift/origin/releases)
* OpenShift Do tool - [odo](https://github.com/openshift/odo/releases)
* OpenShift Do tool - [odo](https://github.com/openshift/odo/releases/tag/v0.0.20)

> If `oc` and `odo` tools are located in a directory from `PATH` environment variable they will be used automatically.
The extension will detect these dependencies and prompt the user to install if they are missing or have not supported version - choose `Download & Install` when you see an notification for the missing tool.
Expand Down Expand Up @@ -135,7 +134,7 @@ Download the most recent `openshift-connector-<version>.vsix` file and install i

Feedback & Questions
====================
File a bug in [GitHub Issues](https://github.com/redhat-developer/vscode-openshift-tools/issues) or chat with us on [Mattermost](https://chat.openshift.io/developers/channels/adapters).
If you discover an issue please file a bug and we will fix it as soon as possible. File a bug in [GitHub Issues](https://github.com/redhat-developer/vscode-openshift-tools/issues).

License
=======
Expand Down
Binary file modified images/vscode-openshift-tools.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/k8s/deployment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class DeploymentConfigNodeContributor implements ClusterExplorerV1.NodeCo

async getChildren(parent: ClusterExplorerV1.ClusterExplorerNode | undefined): Promise<ClusterExplorerV1.Node[]> {
const kubectl = await k8s.extension.kubectl.v1;
if(kubectl.available) {
if (kubectl.available) {
const result = await kubectl.api.invokeCommand(`get build -o jsonpath="{range .items[?(.metadata.labels.buildconfig=='${(parent as any).name}')]}{.metadata.namespace}{','}{.metadata.name}{','}{.metadata.annotations.openshift\\.io/build\\.number}{\\"\\n\\"}{end}"`);
const builds = result.stdout.split('\n')
.filter((value) => value !== '')
Expand Down

0 comments on commit d88c1a6

Please sign in to comment.