Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Release PR for v3.10.0 #6787

Merged
merged 4 commits into from
May 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.9.0
v3.10.0
136 changes: 136 additions & 0 deletions docs/website/blog/2023-05-04-odo-v3.10.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
---
title: odo v3.10.0 Released
author: valaparthvi
author_url: https://github.com/valaparthvi
author_image_url: https://github.com/valaparthvi.png
tags: ["release"]
slug: odo-v3.10.0
---

odo `v3.10.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: https://www.youtube.com/playlist?list=PLGMB2PY4SNOqUm7C5VLarQq6jd8Ie0iHu

### Features

#### `--address` to define a custom address for port forwarding during `odo dev`
To enhance the port forwarding feature provided by `odo dev`, you can now use a custom address for ports to listen by passing `--address` flag.
More details are available in [`odo dev` command reference doc](https://odo.dev/docs/command-reference/dev#using-custom-address-for-port-forwarding).

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

#### `odo dev` handles failing build commands in a better way.
Build command is ideally the first command that is run after the necessary resources are created in the `odo dev` workflow. Read [How odo works](https://odo.dev/docs/development/architecture/how-odo-works#how-odo-dev-works) for a better understanding of this.

In the previous versions, `odo dev` would run the build command in an infinite loop until it succeeded, which was unnecessary. In v3.10.0 however, `odo dev` stops after 1 unsuccessful attempt, and waits for the user to make changes to the project, providing with a slightly better user experience.

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

#### Support variable substitution for `odo build-images`
`odo build-images` now supports the Devfile variable substitution in a similar way as `odo dev` and `odo deploy`.

Read more about it in the [`odo build-images` command reference doc](https://odo.dev/docs/command-reference/build-images#substituting-variables).

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

### Documentation
* [Blog: Helm integration with odo](https://odo.dev/blog/using-helm-with-odo)
* [`odo dev` behavior with .gitignore and .odoignore](https://odo.dev/docs/user-guides/advanced/pushing-specific-files)



## 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.10.0).

# Release of v3.10.0

## [v3.10.0](https://github.com/redhat-developer/odo/tree/v3.10.0) (2023-05-04)

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

**Documentation:**

- dev states proposal [\#6782](https://github.com/redhat-developer/odo/pull/6782) ([feloy](https://github.com/feloy))

## [v3.10.0](https://github.com/redhat-developer/odo/tree/v3.10.0) (2023-05-02)

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

**Features/Enhancements:**

- Support variable substitution with `--var` and `--var-file` in `odo build-images` [\#6776](https://github.com/redhat-developer/odo/pull/6776) ([rm3l](https://github.com/rm3l))
- Use custom address for port forwarding [\#6766](https://github.com/redhat-developer/odo/pull/6766) ([valaparthvi](https://github.com/valaparthvi))
- Add annotation for setting access mode on automounted configmap/secret files [\#6750](https://github.com/redhat-developer/odo/pull/6750) ([feloy](https://github.com/feloy))
- Use devstats.PID.json as devstate [\#6713](https://github.com/redhat-developer/odo/pull/6713) ([feloy](https://github.com/feloy))
- Allow users to define custom port-mappings for port forwarding \[Kubernetes\] [\#6704](https://github.com/redhat-developer/odo/pull/6704) ([valaparthvi](https://github.com/valaparthvi))
- Wait until expected ports are opened in the container before starting port-forwarding [\#6701](https://github.com/redhat-developer/odo/pull/6701) ([rm3l](https://github.com/rm3l))
- Automount volumes [\#6698](https://github.com/redhat-developer/odo/pull/6698) ([feloy](https://github.com/feloy))

**Bugs:**

- Test flaky devfile modification test [\#6769](https://github.com/redhat-developer/odo/pull/6769) ([valaparthvi](https://github.com/valaparthvi))
- Fix flaky tests using custom port mapping when running specs in parallel [\#6763](https://github.com/redhat-developer/odo/pull/6763) ([rm3l](https://github.com/rm3l))
- Simplify devfile Kubernetes adapter [\#6762](https://github.com/redhat-developer/odo/pull/6762) ([feloy](https://github.com/feloy))
- Set 'mountSources' to 'true' in some example SpringBoot multi-container Devfiles [\#6761](https://github.com/redhat-developer/odo/pull/6761) ([rm3l](https://github.com/rm3l))
- Check files to sync with gitignore library [\#6760](https://github.com/redhat-developer/odo/pull/6760) ([feloy](https://github.com/feloy))
- Allow to cancel execution of `odo dev` at any phase \(e.g. if build command is taking long\) [\#6736](https://github.com/redhat-developer/odo/pull/6736) ([rm3l](https://github.com/rm3l))
- Fix e2e test failures and doc test failures due to updated devfile registry [\#6735](https://github.com/redhat-developer/odo/pull/6735) ([valaparthvi](https://github.com/valaparthvi))
- Fix: PodSecurity Admission: Display duplicate warnings only once [\#6733](https://github.com/redhat-developer/odo/pull/6733) ([valaparthvi](https://github.com/valaparthvi))
- For custom port mapping, handle case where ranged random port matches a custom local port [\#6727](https://github.com/redhat-developer/odo/pull/6727) ([valaparthvi](https://github.com/valaparthvi))

**Documentation:**

- Doc automation:Command reference: odo delete,list and set namespace [\#6756](https://github.com/redhat-developer/odo/pull/6756) ([ritudes](https://github.com/ritudes))
- Release PR for v3.9.0 [\#6718](https://github.com/redhat-developer/odo/pull/6718) ([github-actions[bot]](https://github.com/apps/github-actions))

**Cleanup/Refactor:**

- Wait when Build command fails [\#6771](https://github.com/redhat-developer/odo/pull/6771) ([feloy](https://github.com/feloy))
- Follow-up to comments on \#6654 \(support for `autoBuild` and `deployByDefault`\) [\#6720](https://github.com/redhat-developer/odo/pull/6720) ([rm3l](https://github.com/rm3l))

**Merged pull requests:**

- Bump version to 3.10.0 [\#6783](https://github.com/redhat-developer/odo/pull/6783) ([valaparthvi](https://github.com/valaparthvi))
- Website: Bump webpack from 5.80.0 to 5.81.0 in /docs/website [\#6781](https://github.com/redhat-developer/odo/pull/6781) ([dependabot[bot]](https://github.com/apps/dependabot))
- PODMAN\_USE\_NAMESPACES to disable using namespaces on podman integration tests for podman v4.5 [\#6774](https://github.com/redhat-developer/odo/pull/6774) ([feloy](https://github.com/feloy))
- Website: Bump webpack from 5.79.0 to 5.80.0 in /docs/website [\#6765](https://github.com/redhat-developer/odo/pull/6765) ([dependabot[bot]](https://github.com/apps/dependabot))
- Update image for springboot devfiles [\#6753](https://github.com/redhat-developer/odo/pull/6753) ([feloy](https://github.com/feloy))
- Set vcs-uri annotation on podman [\#6746](https://github.com/redhat-developer/odo/pull/6746) ([feloy](https://github.com/feloy))
- Document .gitignore and .odoignore usage [\#6745](https://github.com/redhat-developer/odo/pull/6745) ([feloy](https://github.com/feloy))
- Website: Bump webpack from 5.76.1 to 5.79.0 in /docs/website [\#6740](https://github.com/redhat-developer/odo/pull/6740) ([dependabot[bot]](https://github.com/apps/dependabot))
- Cleanup e2e tests [\#6738](https://github.com/redhat-developer/odo/pull/6738) ([valaparthvi](https://github.com/valaparthvi))
- Fix flaky unit Test\_getCompleteCustomPortPairs [\#6737](https://github.com/redhat-developer/odo/pull/6737) ([valaparthvi](https://github.com/valaparthvi))
- Podman custom port mapping [\#6729](https://github.com/redhat-developer/odo/pull/6729) ([valaparthvi](https://github.com/valaparthvi))
- Website: Bump @algolia/client-search from 4.15.0 to 4.17.0 in /docs/website [\#6726](https://github.com/redhat-developer/odo/pull/6726) ([dependabot[bot]](https://github.com/apps/dependabot))
- Revert "Add DEVFILE\_REGISTRY env var for periodic tests \(\#6709\)" [\#6725](https://github.com/redhat-developer/odo/pull/6725) ([valaparthvi](https://github.com/valaparthvi))
- Doc automation:Command Reference: odo create namespace [\#6703](https://github.com/redhat-developer/odo/pull/6703) ([ritudes](https://github.com/ritudes))



\* *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.9.0/odo-linux-amd64 -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.10.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.9.0/odo-linux-amd64.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.10.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.9.0/odo-linux-arm64 -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.10.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.9.0/odo-linux-arm64.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.10.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.9.0/odo-linux-ppc64le -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.10.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.9.0/odo-linux-ppc64le.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.10.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.9.0/odo-linux-s390x -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.10.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.9.0/odo-linux-s390x.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.10.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.9.0/odo-darwin-amd64 -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.10.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.9.0/odo-darwin-amd64.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.10.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.9.0/odo-darwin-arm64 -o odo
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.10.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.9.0/odo-darwin-arm64.sha256 -o odo.sha256
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.10.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.9.0/odo-windows-amd64.exe -o odo.exe
curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.10.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.9.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.10.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.9.0
-Dodo.version=v3.10.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.9.0
asdf global odo 3.9.0
asdf install odo 3.10.0
asdf global odo 3.10.0
```