Skip to content

Commit

Permalink
Release PR for v3.7.0 (#6598)
Browse files Browse the repository at this point in the history
* Set version in build/VERSION file

* Bump version in installation docs

* Add release blog post

* Update blog post for v3.7.0

---------

Co-authored-by: rm3l <[email protected]>
Co-authored-by: Armel Soro <[email protected]>
  • Loading branch information
3 people authored Feb 21, 2023
1 parent e32024f commit 9537591
Show file tree
Hide file tree
Showing 3 changed files with 240 additions and 18 deletions.
2 changes: 1 addition & 1 deletion build/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.6.0
v3.7.0
222 changes: 222 additions & 0 deletions docs/website/blog/2023-02-15-odo-v3.7.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
---
title: odo v3.7.0 Released
author: Armel Soro
author_url: https://github.com/rm3l
author_image_url: https://github.com/rm3l.png
tags: ["release"]
slug: odo-v3.7.0
---

odo `v3.7.0` is now out!

<!--truncate-->

To install `odo`, follow [the installation guide](../docs/overview/installation).

## Notable Changes
Check this Playlist for an overview of the most notable changes in this release: [odo v3.7.0 (Sprint 231)](https://www.youtube.com/playlist?list=PLGMB2PY4SNOotRYGDzmijWs2QFU2dJ4e8)

### Features

#### `odo logs` on Podman

To continue improving the feature parity between Kubernetes and Podman, [`odo logs`](../docs/command-reference/logs) is now supported on the latter.

Similarly to how `odo dev` requires specifying the target platform (using the `--platform` flag), `odo logs` also requires specifying the platform to display the logs of a component running on Podman, like so:

```
ODO_EXPERIMENTAL_MODE=t odo logs --platform podman
```

As a reminder, Podman support in `odo` is still [experimental](../docs/user-guides/advanced/experimental-mode) and requires you to [opt in](../docs/user-guides/advanced/experimental-mode#enabling-the-experimental-mode) if you want to try it out.

<iframe width="560" height="315" src="https://www.youtube.com/embed/K5GsDFEgCW0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

#### More details on forwarded ports in the output of `odo describe component`

[`odo describe component`](../docs/command-reference/describe-component) now additionally includes the following helpful information about forwarded ports:
- the endpoint name, as defined in the Devfile
- the endpoint exposure, as defined in the Devfile
- whether the port is a debug endpoint or not. Note that this is based upon a naming convention: the endpoint name in the Devfile should be `debug` or be prefixed with `debug-` to be considered as a debug endpoint.

<details>
<summary>Example output:</summary>

<table>
<thead>
<tr>
<td>Normal output</td>
<td>JSON output</td>
</tr>
</thead>
<tbody>
<tr>
<td>


```shell
$ odo describe component

[...]

Forwarded ports:
• 127.0.0.1:20001 -> cont:3000
# highlight-start
Name: http-node
# highlight-end
• 127.0.0.1:20002 -> cont:5858
# highlight-start
Name: debug
Exposure: none
Debug: true
# highlight-end
• 127.0.0.1:20003 -> cont2:5005
# highlight-start
Name: debug-2
Exposure: internal
Debug: true
# highlight-end

[...]
```

</td>
<td>

```json
$ odo describe component -o json
{
[...]
"devForwardedPorts": [
{
"containerName": "cont",
# highlight-start
"portName": "http-node",
"isDebug": false,
# highlight-end
"localAddress": "127.0.0.1",
"localPort": 20001,
"containerPort": 3000
},
{
"containerName": "cont",
# highlight-start
"portName": "debug",
"isDebug": true,
"exposure": "none"
# highlight-end
"localAddress": "127.0.0.1",
"localPort": 20002,
"containerPort": 5858
},
{
"containerName": "cont2",
# highlight-start
"portName": "debug-2",
"isDebug": true,
"exposure": "internal"
# highlight-end
"localAddress": "127.0.0.1",
"localPort": 20003,
"containerPort": 5005
}
],
[...]
}
```

</td>
</tr>
</tbody>
</table>

</details>

<iframe width="560" height="315" src="https://www.youtube.com/embed/LXOejxjAprA" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

#### Support for OpenShift Devfile components

`odo` now supports [OpenShift components](https://devfile.io/docs/2.2.0/adding-a-kubernetes-or-openshift-component) that are defined in a [Devfile](https://devfile.io/).

<iframe width="560" height="315" src="https://www.youtube.com/embed/Fo2BSsrRDEU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

## Detailed Changelog

As with every release, you can find the full list of changes and bug fixes on the [GitHub release page](https://github.com/redhat-developer/odo/releases/tag/v3.7.0).

[Full Changelog](https://github.com/redhat-developer/odo/compare/v3.6.0...v3.7.0)

**Features/Enhancements:**

- Support for image component on podman [\#6577](https://github.com/redhat-developer/odo/pull/6577) ([valaparthvi](https://github.com/valaparthvi))
- Support `dev.odo.push.path:*` attributes on Podman [\#6576](https://github.com/redhat-developer/odo/pull/6576) ([rm3l](https://github.com/rm3l))
- Implement odo logs on podman [\#6550](https://github.com/redhat-developer/odo/pull/6550) ([feloy](https://github.com/feloy))
- Add support for OpenShift Devfile components [\#6548](https://github.com/redhat-developer/odo/pull/6548) ([rm3l](https://github.com/rm3l))
- Set platform and platformVersion in telemetry [\#6540](https://github.com/redhat-developer/odo/pull/6540) ([feloy](https://github.com/feloy))
- Show information about forwarded debug ports in `odo describe component` [\#6537](https://github.com/redhat-developer/odo/pull/6537) ([rm3l](https://github.com/rm3l))

**Bugs:**

- Fix UX inconsistency when handling commands bound to events [\#6574](https://github.com/redhat-developer/odo/pull/6574) ([rm3l](https://github.com/rm3l))
- odo logs: Do not panic when no access to cluster/podman [\#6561](https://github.com/redhat-developer/odo/pull/6561) ([feloy](https://github.com/feloy))
- Correct container-attributes data in release blog [\#6560](https://github.com/redhat-developer/odo/pull/6560) ([valaparthvi](https://github.com/valaparthvi))
- Log error when podman client cannot be initialized [\#6538](https://github.com/redhat-developer/odo/pull/6538) ([valaparthvi](https://github.com/valaparthvi))
- Display error message when odo dev fails on podman and clean resources [\#6522](https://github.com/redhat-developer/odo/pull/6522) ([valaparthvi](https://github.com/valaparthvi))

**Documentation:**

- Fix the port value \(20001\) in the quickstart guides [\#6570](https://github.com/redhat-developer/odo/pull/6570) ([rm3l](https://github.com/rm3l))
- Verification file for Google Search console \[feloy\] [\#6566](https://github.com/redhat-developer/odo/pull/6566) ([feloy](https://github.com/feloy))
- Dogfood odo for working on the website [\#6564](https://github.com/redhat-developer/odo/pull/6564) ([rm3l](https://github.com/rm3l))
- Set the date for the v3 GA blog post [\#6563](https://github.com/redhat-developer/odo/pull/6563) ([rm3l](https://github.com/rm3l))
- Add blog post demonstrating how odo can be used with Podman [\#6562](https://github.com/redhat-developer/odo/pull/6562) ([rm3l](https://github.com/rm3l))
- docs: --HEAD flag for homebrew no longer needed [\#6554](https://github.com/redhat-developer/odo/pull/6554) ([kadel](https://github.com/kadel))
- Release PR for v3.6.0 [\#6529](https://github.com/redhat-developer/odo/pull/6529) ([github-actions[bot]](https://github.com/apps/github-actions))

**Cleanup/Refactor:**

- test: use `t.TempDir` to create temporary test directory [\#6533](https://github.com/redhat-developer/odo/pull/6533) ([Juneezee](https://github.com/Juneezee))

**Merged pull requests:**

- Bump version to v3.7.0 [\#6596](https://github.com/redhat-developer/odo/pull/6596) ([rm3l](https://github.com/rm3l))
- Website: Bump typescript from 4.9.4 to 4.9.5 in /docs/website [\#6591](https://github.com/redhat-developer/odo/pull/6591) ([dependabot[bot]](https://github.com/apps/dependabot))
- Go: Bump github.com/go-openapi/jsonreference from 0.20.1 to 0.20.2 [\#6590](https://github.com/redhat-developer/odo/pull/6590) ([dependabot[bot]](https://github.com/apps/dependabot))
- Trigger the IBM Cloud Image Workflow on PRs as well [\#6587](https://github.com/redhat-developer/odo/pull/6587) ([rm3l](https://github.com/rm3l))
- Website: Bump @docusaurus/core from 2.3.0 to 2.3.1 in /docs/website [\#6572](https://github.com/redhat-developer/odo/pull/6572) ([dependabot[bot]](https://github.com/apps/dependabot))
- Go: Bump github.com/fatih/color from 1.13.0 to 1.14.1 [\#6571](https://github.com/redhat-developer/odo/pull/6571) ([dependabot[bot]](https://github.com/apps/dependabot))
- Use oc v4.11 instead v4.7 to fix version comparison [\#6559](https://github.com/redhat-developer/odo/pull/6559) ([feloy](https://github.com/feloy))
- Run podman tests on 10 nodes [\#6553](https://github.com/redhat-developer/odo/pull/6553) ([feloy](https://github.com/feloy))
- Test version upon oc/kubectl version [\#6551](https://github.com/redhat-developer/odo/pull/6551) ([feloy](https://github.com/feloy))
- Website: Bump @docusaurus/theme-search-algolia from 2.2.0 to 2.3.0 in /docs/website [\#6547](https://github.com/redhat-developer/odo/pull/6547) ([dependabot[bot]](https://github.com/apps/dependabot))
- Go: Bump github.com/go-openapi/spec from 0.19.5 to 0.20.8 [\#6546](https://github.com/redhat-developer/odo/pull/6546) ([dependabot[bot]](https://github.com/apps/dependabot))
- Fix identification of message on github PR [\#6544](https://github.com/redhat-developer/odo/pull/6544) ([feloy](https://github.com/feloy))
- Fix potential issues with E2E tests [\#6543](https://github.com/redhat-developer/odo/pull/6543) ([rm3l](https://github.com/rm3l))
- Make sure to delete the component resources after each "delete component" test spec [\#6541](https://github.com/redhat-developer/odo/pull/6541) ([rm3l](https://github.com/rm3l))
- Stop containers after Podman tests [\#6535](https://github.com/redhat-developer/odo/pull/6535) ([feloy](https://github.com/feloy))
- Go: Bump golang.org/x/text from 0.3.8 to 0.6.0 [\#6523](https://github.com/redhat-developer/odo/pull/6523) ([dependabot[bot]](https://github.com/apps/dependabot))
- Run Docs tests on CI/CD [\#6521](https://github.com/redhat-developer/odo/pull/6521) ([feloy](https://github.com/feloy))



\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

## Contributing to odo

If `odo` interests you, and you would like to contribute to it, we welcome you!

You can contribute to `odo` in a lot of different ways!

Take it for a spin 🚘 and report back bugs🐞 that you encountered, or features🌟 that you would like to see.

Help us with the documentation📜, or tell us how you used `odo` 🖍.

Review the PRs👀, or help us fix a failing test 🚩.

Work on the TODOs📝, or help us cleanup the code🚮.

Or, simply tune in📻 to our [contributor calls](https://github.com/redhat-developer/odo#meetings) and learn more about `odo`.

`odo` is your playground!

Read the developer reference guide on [contributing to odo](/docs/development/contribution) to know more.
34 changes: 17 additions & 17 deletions docs/website/docs/overview/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ Installing `odo` on `amd64` architecture:

1. Download the latest release from the mirror:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.6.0/odo-linux-amd64 -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.7.0/odo-linux-amd64 -o odo
```

2. (Optional) Verify the downloaded binary with the SHA-256 sum:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.6.0/odo-linux-amd64.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.7.0/odo-linux-amd64.sha256 -o odo.sha256
echo "$(<odo.sha256) odo" | shasum -a 256 --check
```

Expand All @@ -64,12 +64,12 @@ Installing `odo` on `arm64` architecture:

1. Download the latest release from the mirror:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.6.0/odo-linux-arm64 -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.7.0/odo-linux-arm64 -o odo
```

2. (Optional) Verify the downloaded binary with the SHA-256 sum:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.6.0/odo-linux-arm64.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.7.0/odo-linux-arm64.sha256 -o odo.sha256
echo "$(<odo.sha256) odo" | shasum -a 256 --check
```

Expand All @@ -95,12 +95,12 @@ Installing `odo` on `ppc64le` architecture:

1. Download the latest release from the mirror:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.6.0/odo-linux-ppc64le -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.7.0/odo-linux-ppc64le -o odo
```

2. (Optional) Verify the downloaded binary with the SHA-256 sum:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.6.0/odo-linux-ppc64le.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.7.0/odo-linux-ppc64le.sha256 -o odo.sha256
echo "$(<odo.sha256) odo" | shasum -a 256 --check
```

Expand All @@ -126,12 +126,12 @@ Installing `odo` on `s390x` architecture:

1. Download the latest release from the mirror:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.6.0/odo-linux-s390x -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.7.0/odo-linux-s390x -o odo
```

2. (Optional) Verify the downloaded binary with the SHA-256 sum:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.6.0/odo-linux-s390x.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.7.0/odo-linux-s390x.sha256 -o odo.sha256
echo "$(<odo.sha256) odo" | shasum -a 256 --check
```

Expand Down Expand Up @@ -190,12 +190,12 @@ Installing `odo` on `amd64` architecture:

1. Download the latest release from the mirror:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.6.0/odo-darwin-amd64 -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.7.0/odo-darwin-amd64 -o odo
```

2. (Optional) Verify the downloaded binary with the SHA-256 sum:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.6.0/odo-darwin-amd64.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.7.0/odo-darwin-amd64.sha256 -o odo.sha256
echo "$(<odo.sha256) odo" | shasum -a 256 --check
```

Expand All @@ -222,12 +222,12 @@ Installing `odo` on `arm64` architecture:

1. Download the latest release from the mirror:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.6.0/odo-darwin-arm64 -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.7.0/odo-darwin-arm64 -o odo
```

2. (Optional) Verify the downloaded binary with the SHA-256 sum:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.6.0/odo-darwin-arm64.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.7.0/odo-darwin-arm64.sha256 -o odo.sha256
echo "$(<odo.sha256) odo" | shasum -a 256 --check
```

Expand Down Expand Up @@ -258,12 +258,12 @@ echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc

2. Download the latest release from the mirror:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.6.0/odo-windows-amd64.exe -o odo.exe
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.7.0/odo-windows-amd64.exe -o odo.exe
```

2. (Optional) Verify the downloaded binary with the SHA-256 sum:
```shell
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.6.0/odo-windows-amd64.exe.sha256 -o odo.exe.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.7.0/odo-windows-amd64.exe.sha256 -o odo.exe.sha256
# Visually compare the output of both files
Get-FileHash odo.exe
type odo.exe.sha256
Expand Down Expand Up @@ -333,14 +333,14 @@ The download can be executed using the `download` goal which automatically retri
```shell
mvn software.tnb:odo-downloader-maven-plugin:0.1.3:download \
-Dodo.target.file=$HOME/bin/odo \
-Dodo.version=v3.6.0
-Dodo.version=v3.7.0
```

### asdf
The [asdf version manager](https://asdf-vm.com/) is a tool for managing multiple runtime versions using a common CLI.
With `asdf` installed, the [asdf plugin for odo](https://github.com/rm3l/asdf-odo) can be used to install any released version of `odo`:
```
asdf plugin add odo
asdf install odo 3.6.0
asdf global odo 3.6.0
asdf install odo 3.7.0
asdf global odo 3.7.0
```

0 comments on commit 9537591

Please sign in to comment.