From 2ed6031a6acfc568f1e6e45e63a3f628f4d37424 Mon Sep 17 00:00:00 2001 From: Chris Laprun Date: Sat, 9 Sep 2023 11:10:26 +0200 Subject: [PATCH] chore(ci): change frequency of building with next F8 version to weekly (#706) --- .github/workflows/nightly-build-with-f8-snapshot.yml | 2 +- README.md | 2 +- .../samples/pingpong/AssertGeneratedResourcesIT.java | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly-build-with-f8-snapshot.yml b/.github/workflows/nightly-build-with-f8-snapshot.yml index ed9118e10..e03ec4507 100644 --- a/.github/workflows/nightly-build-with-f8-snapshot.yml +++ b/.github/workflows/nightly-build-with-f8-snapshot.yml @@ -2,7 +2,7 @@ name: Release snapshot of next-fabric8-version branch each day at midnight on: schedule: - - cron: '0 0 * * *' # run each day at midnight + - cron: '0 0 * * SUN' # run each Sunday at midnight jobs: build-for-latest-quarkus-version: diff --git a/README.md b/README.md index a89f90111..fbc47eca1 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d - + diff --git a/samples/pingpong/src/test/java/io/quarkiverse/operatorsdk/samples/pingpong/AssertGeneratedResourcesIT.java b/samples/pingpong/src/test/java/io/quarkiverse/operatorsdk/samples/pingpong/AssertGeneratedResourcesIT.java index 6ff035781..3b69c3caa 100644 --- a/samples/pingpong/src/test/java/io/quarkiverse/operatorsdk/samples/pingpong/AssertGeneratedResourcesIT.java +++ b/samples/pingpong/src/test/java/io/quarkiverse/operatorsdk/samples/pingpong/AssertGeneratedResourcesIT.java @@ -32,9 +32,10 @@ void verifyPingPongClusterServiceVersion() throws FileNotFoundException { assertEquals(1, permissions.size()); } + @SuppressWarnings("unchecked") Optional findFirst(KubernetesList list, Class t) { return (Optional) list.getItems().stream() - .filter(i -> t.isInstance(i)) + .filter(t::isInstance) .findFirst(); }

Chris Laprun

💻 🚧

Chris Laprun

💻 🚧

Sébastien CROCQUESEL

💻

Jose Carvajal

💻 🤔