Commit Graph

3700 Commits

Author SHA1 Message Date
Armel Soro
b0ab925db0 Show last update date on documentation pages (#7165)
This can be useful to quickly determine if some page is still up-to-date or not.
2023-12-12 13:18:55 +00:00
dependabot[bot]
9348956ccf GitHub Actions: Bump actions/stale from 8 to 9 (#7163)
Bumps [actions/stale](https://github.com/actions/stale) from 8 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v8...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 17:26:03 +00:00
dependabot[bot]
1a9536eb29 Go: Bump sigs.k8s.io/yaml from 1.3.0 to 1.4.0 (#7164)
Bumps [sigs.k8s.io/yaml](https://github.com/kubernetes-sigs/yaml) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/kubernetes-sigs/yaml/releases)
- [Changelog](https://github.com/kubernetes-sigs/yaml/blob/master/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/yaml/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/yaml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 11:19:45 +00:00
Armel Soro
b5ea6f144b Revisit CI to spin up clusters on-demand (#7159)
* Label ServiceBinding tests, so we can run them separately

They require installing additional components in the cluster (OLM, SBO, ...).

* Add GH Workflow for most of our tests (including cluster-related tests)

This allows to easily test even multiple versions of Kubernetes if needed.

For easier reporting and visualisation (and also avoid rebuilding odo many times),
Podman tests have also been relocated in this same Workflow.

Notes:
I tried to spin up lightweight OpenShift clusters but gave up because of several issues:
- MicroShift: I tried to use the aio container image, but this one is no longer maintained and is pretty old version of OCP.
Trying to follow the official guidelines did not work either because a base RHEL OS is mandatory
- CRC/OpenShiftLocal with Microshift preset: didnt pass the pre-checks because it detected an issue with nested virtualization on the GH Runner.

* Drop unused code in helper_oc and use namespace instead of project

When testing on Microshift, it seems that the Project API is purposely not implemented on MicroShift
2023-12-08 23:28:10 +00:00
Armel Soro
86a9a2ff20 Add GH Workflow that spins up/tears down OCP clusters on IBM Cloud
This is work-in-progress and committed to test the pull-request_target
workflow on approved (manually or automatically) PRs.
2023-12-06 12:17:42 +01:00
Armel Soro
13f1517ba8 Add GH Workflow that spins up/tears down OCP clusters on IBM Cloud
This is work-in-progress and committed to test the pull-request_target
workflow on approved (manually or automatically) PRs.
2023-12-06 12:15:01 +01:00
Armel Soro
2ce739de21 Add GH Workflow that spins up/tears down OCP clusters on IBM Cloud
This is work-in-progress and committed to test the pull-request_target
workflow on approved (manually or automatically) PRs.
2023-12-06 10:05:51 +01:00
dependabot[bot]
62bdf59f5a Go: Bump github.com/gorilla/handlers from 1.5.1 to 1.5.2 (#7157)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 09:23:44 +01:00
Armel Soro
244e5ccca0 Make Interop tests rely on mock Devfile Registry Server started in the tests
The goal is to decommission the long-running IBM Clusters,
for cost purposes.
2023-12-01 15:44:47 +01:00
dependabot[bot]
fca08d4cee Go: Bump google.golang.org/grpc from 1.54.0 to 1.56.3 (#7136)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-01 13:44:21 +01:00
dependabot[bot]
1cdaffd568 Go: Bump github.com/go-git/go-git/v5 from 5.7.0 to 5.10.1 (#7155)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-01 12:27:59 +01:00
Armel Soro
0f2103e7d7 Recognize devfile.yml and .devfile.yml as Devfiles (#7130) 2023-12-01 12:10:19 +01:00
Armel Soro
15f663f12a Start HTTP server to replace Devfile Registry server in the tests (#7154) 2023-12-01 10:35:15 +01:00
Armel Soro
172c57d0eb Fix unexpected input when using thollander/actions-comment-pull-request
See [1] for an example.

`comment_includes` has been replaced by `comment_tag` [2].

[1] https://github.com/redhat-developer/odo/actions/runs/6927256942/job/18840839862?pr=7149#step:15:1
[2] https://github.com/thollander/actions-comment-pull-request?tab=readme-ov-file#update-a-comment
2023-11-20 09:42:29 +01:00
Armel Soro
ba0c9575f7 Generate checksums for nightly binaries (#7149) 2023-11-20 09:23:57 +01:00
dependabot[bot]
6234a1722a GitHub Actions: Bump tj-actions/verify-changed-files from 16.0.0 to 16.1.1 (#7151)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 09:23:18 +01:00
dependabot[bot]
6e7bc8a795 GitHub Actions: Bump actions/checkout from 3 to 4 (#7146)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 11:50:05 +01:00
Armel Soro
20b5f49e55 Add Milestone Release Issue template
Now that releases will be done upon request, it makes sense to be able to easily create corresponding release issues on demand.
2023-11-07 13:55:07 +01:00
dependabot[bot]
59f98778b9 GitHub Actions: Bump cypress-io/github-action from 5 to 6 (#7143)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 12:06:54 +01:00
dependabot[bot]
9a68df070e Bump google.golang.org/grpc from 1.55.0 to 1.56.3 in /.ibm/tools/tests-results (#7135)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-02 18:55:13 +01:00
Armel Soro
04f0709218 Increase number of operations for the GitHub Stale Action 2023-10-30 10:39:58 +01:00
dependabot[bot]
869982dc99 GitHub Actions: Bump actions/stale from 4 to 8 and allow to trigger it manually (#7133)
* GitHub Actions: Bump actions/stale from 4 to 8

Bumps [actions/stale](https://github.com/actions/stale) from 4 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v4...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Allow to trigger the stale workflow manually

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Armel Soro <asoro@redhat.com>
2023-10-30 09:04:12 +00:00
dependabot[bot]
025e3ca68f Website: Bump webpack from 5.88.2 to 5.89.0 in /docs/website (#7134)
Bumps [webpack](https://github.com/webpack/webpack) from 5.88.2 to 5.89.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.88.2...v5.89.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 08:38:56 +00:00
Armel Soro
5d4a6ef325 Use staging Devfile registry for PR tests (#7129)
* Revert using a DEVFILE_PROXY env var

There is no proxy deployed in the internal test cluster.
As such, this env var no longer makes sense.

* To help troubleshoot, display the resolved Devfile registry URL

* Make interactive tests more resilient with stack versions

They are now able to determine if the "Select version" prompt
should be asked by "odo init" or not:

* Make sure doc automation tests do not rely on hard-coded namespaces

* Allow to run doc automation tests with more parallel Ginkgo nodes

This is possible now that those tests no longer
depend on a single hard-coded namespace.

* Remove occurrences of the DEVFILE_REGISTRY env var in IBM Pipelines scripts

* Reuse logic for determining the Devfile Registry URL in "odo registry" tests

* Clarify what openshiftci-config.sh is used for
2023-10-27 07:54:14 +00:00
dependabot[bot]
d77ca3e95a Go: Bump github.com/devfile/alizer from 1.0.1 to 1.2.1 (#7126)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Armel Soro <asoro@redhat.com>
2023-10-23 18:09:52 +02:00
Armel Soro
4d6a785cff Review and update OWNERS files 2023-10-23 14:29:20 +02:00
dependabot[bot]
7cd2633efe GitHub Actions: Bump thollander/actions-comment-pull-request from 1 to 2 (#7127)
* GitHub Actions: Bump thollander/actions-comment-pull-request from 1 to 2

Bumps [thollander/actions-comment-pull-request](https://github.com/thollander/actions-comment-pull-request) from 1 to 2.
- [Release notes](https://github.com/thollander/actions-comment-pull-request/releases)
- [Commits](https://github.com/thollander/actions-comment-pull-request/compare/v1...v2)

---
updated-dependencies:
- dependency-name: thollander/actions-comment-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Use commit hash instead of tag, for security reasons

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Armel Soro <asoro@redhat.com>
2023-10-23 11:29:34 +00:00
dependabot[bot]
6b88b86fb0 Website: Bump @tsconfig/docusaurus from 2.0.0 to 2.0.2 in /docs/website (#7128)
Bumps [@tsconfig/docusaurus](https://github.com/tsconfig/bases/tree/HEAD/bases) from 2.0.0 to 2.0.2.
- [Commits](https://github.com/tsconfig/bases/commits/HEAD/bases)

---
updated-dependencies:
- dependency-name: "@tsconfig/docusaurus"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 10:17:17 +00:00
dependabot[bot]
2ef124ece6 Website: Bump prism-react-renderer from 2.0.6 to 2.1.0 in /docs/website (#7125)
Bumps [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) from 2.0.6 to 2.1.0.
- [Release notes](https://github.com/FormidableLabs/prism-react-renderer/releases)
- [Commits](https://github.com/FormidableLabs/prism-react-renderer/compare/prism-react-renderer@2.0.6...prism-react-renderer@2.1.0)

---
updated-dependencies:
- dependency-name: prism-react-renderer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 15:07:51 +00:00
dependabot[bot]
180da5b4fb GitHub Actions: Bump actions/setup-go from 3 to 4 (#7124)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 14:37:02 +00:00
Armel Soro
109ba78433 Instruct Dependabot to maintain dependencies for GitHub Actions (#7123) 2023-10-19 12:05:05 +00:00
dependabot[bot]
ea0484afe8 Go: Bump github.com/fatih/color from 1.14.1 to 1.15.0 (#7122)
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.14.1 to 1.15.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.14.1...v1.15.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 18:46:29 +00:00
dependabot[bot]
e5abe253a9 Website: Bump the docusaurus group in /docs/website with 1 update (#7121)
Bumps the docusaurus group in /docs/website with 1 update: [@docusaurus/module-type-aliases](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-module-type-aliases).

- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.4.3/packages/docusaurus-module-type-aliases)

---
updated-dependencies:
- dependency-name: "@docusaurus/module-type-aliases"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: docusaurus
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 10:03:27 +00:00
Armel Soro
b87e4abb18 Group Dependabot updates to @docusaurus/* together (#7119)
This prevents warning messages displayed by Docusaurus
when all the `@docusaurus/*` versions are not the same.
2023-10-17 08:09:37 +00:00
dependabot[bot]
290e5d850f Go: Bump golang.org/x/sys from 0.12.0 to 0.13.0 (#7113)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/sys/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 16:11:10 +00:00
dependabot[bot]
ea55bd2eb1 Website: Bump browserslist from 4.21.10 to 4.22.1 in /docs/website (#7109)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.21.10 to 4.22.1.
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.21.10...4.22.1)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 08:20:07 +00:00
dependabot[bot]
765c1e12e9 Go: Bump github.com/operator-framework/api from 0.17.6 to 0.17.7 (#7108)
Bumps [github.com/operator-framework/api](https://github.com/operator-framework/api) from 0.17.6 to 0.17.7.
- [Release notes](https://github.com/operator-framework/api/releases)
- [Changelog](https://github.com/operator-framework/api/blob/master/RELEASE.md)
- [Commits](https://github.com/operator-framework/api/compare/v0.17.6...v0.17.7)

---
updated-dependencies:
- dependency-name: github.com/operator-framework/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 07:11:27 +00:00
Tomas Kral
868501c3d2 blogpost: writing devfile from scratch (#6866)
* blogpost: writing devfile from scratch

* Apply suggestions from code review

Co-authored-by: Parthvi Vala <pvala@redhat.com>

* Apply suggestions from code review

Co-authored-by: Philippe Martin <feloy1@gmail.com>

* remove non-breaking space from title and change date

---------

Co-authored-by: Parthvi Vala <pvala@redhat.com>
Co-authored-by: Philippe Martin <feloy1@gmail.com>
2023-10-03 15:16:08 +00:00
Philippe Martin
1f2214c08c [ui] Fix Default command checkbox (#7104)
* [ui] Fix Default command checkbox

* Regenerate static ui files
2023-10-02 10:22:38 -04:00
dependabot[bot]
85a65b2672 Website: Bump @docusaurus/preset-classic in /docs/website (#7102)
Bumps [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic) from 2.4.1 to 2.4.3.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.4.3/packages/docusaurus-preset-classic)

---
updated-dependencies:
- dependency-name: "@docusaurus/preset-classic"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 04:32:32 -04:00
dependabot[bot]
ac38e08257 Go: Bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.12.1 (#7101)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.11.0 to 2.12.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.11.0...v2.12.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 04:16:53 -04:00
github-actions[bot]
d48a481bd5 Release PR for v3.15.0 (#7098)
* Set version in build/VERSION file

* Bump version in installation docs

* Add release blog post

* Update blog post

---------

Co-authored-by: feloy <feloy@users.noreply.github.com>
Co-authored-by: Philippe Martin <phmartin@redhat.com>
2023-09-28 05:23:12 -04:00
Philippe Martin
10b5e8a8f5 Bump to v3.15.0 (#7096) v3.15.0 2023-09-26 03:39:55 -04:00
Armel Soro
d34fbaed1a Make warning messages more visible (#7097)
* Wrap warning messages to make them more visible

For example, instead of displaying:
```
⚠  You are using "default" project, odo may not work as expected in the default project.
```

We are now displaying:
```
========================================================================================
⚠  You are using "default" project, odo may not work as expected in the default project.
========================================================================================
```

* Display warning message about default project/namespace in a single block

* Add unit test

* Fix sample outputs for doc automation tests

* Revert "Fix sample outputs for doc automation tests"

This reverts commit 98a6554c34.

* Ignore '===' warning header and footer for doc automation tests
2023-09-26 02:53:45 -04:00
dependabot[bot]
134a0867b2 Go: Bump github.com/tidwall/gjson from 1.16.0 to 1.17.0 (#7095)
Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson) from 1.16.0 to 1.17.0.
- [Commits](https://github.com/tidwall/gjson/compare/v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/tidwall/gjson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 07:45:13 -04:00
dependabot[bot]
8d30d7835f Website: Bump @algolia/client-search in /docs/website (#7094)
Bumps [@algolia/client-search](https://github.com/algolia/algoliasearch-client-javascript) from 4.19.1 to 4.20.0.
- [Release notes](https://github.com/algolia/algoliasearch-client-javascript/releases)
- [Changelog](https://github.com/algolia/algoliasearch-client-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/algolia/algoliasearch-client-javascript/compare/4.19.1...4.20.0)

---
updated-dependencies:
- dependency-name: "@algolia/client-search"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 02:41:33 -04:00
Eng Zer Jun
0959b56285 Replace github.com/ghodss/yaml with sigs.k8s.io/yaml (#7005)
At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.

`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-09-22 06:23:09 -04:00
Philippe Martin
0f828ec99f Ignore devstate when existing process name is not odo + delete devstate files with odo delete component (#7090)
* Ignore devstate when existing process name is not odo

* Delete orphan devstate files with odo delete component

* Update unit tests

* Create fake system

* Add unit tests for odo delete component

* Integration tests for odo dev

* Troubleshooting

* First process on Windows is 4

* Use go-ps lib for pidExists
2023-09-20 14:20:53 +02:00
Armel Soro
1ab0178cef Make sure a Deploy command is present in the Devfile before auto-applying components (#7093)
* Add integration test case highlighting the issue

* Make sure a Deploy command is present in the Devfile before auto-applying components

* Fix expected output in 'odo deploy' interactive tests
2023-09-20 14:06:56 +02:00
Armel Soro
9e1698bc99 Add troubleshooting explaining how to workaround port forwarding issues with the Podman remote client (#7092) 2023-09-20 11:22:15 +02:00