From 487571f6c5c36efa26490e66d87cd75857615ea3 Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Tue, 9 Jul 2024 12:18:38 +0000 Subject: [PATCH 1/8] test: update the ci/cd pipeline --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 52590f36..053fb938 100644 --- a/noxfile.py +++ b/noxfile.py @@ -101,7 +101,7 @@ def wrapper(*args, **kwargs): # 'docfx' is excluded since it only needs to run in 'docs-presubmit' nox.options.sessions = [ - "unit", + #"unit", "system", "cover", "lint", From 0f052aea185de3fc5477fd7c1d794325db882b61 Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Tue, 9 Jul 2024 15:31:01 +0000 Subject: [PATCH 2/8] remove reference to cover and clean up linting error --- noxfile.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index 053fb938..377ea66f 100644 --- a/noxfile.py +++ b/noxfile.py @@ -101,9 +101,7 @@ def wrapper(*args, **kwargs): # 'docfx' is excluded since it only needs to run in 'docs-presubmit' nox.options.sessions = [ - #"unit", "system", - "cover", "lint", "lint_setup_py", "blacken", From a3c3d8013060ad27d6ba081d3fcea5851552c688 Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Wed, 17 Jul 2024 14:59:19 -0400 Subject: [PATCH 3/8] Update noxfile.py --- noxfile.py | 1 - 1 file changed, 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 1bd36f45..d316dac8 100644 --- a/noxfile.py +++ b/noxfile.py @@ -98,7 +98,6 @@ def wrapper(*args, **kwargs): # 'docfx' is excluded since it only needs to run in 'docs-presubmit' nox.options.sessions = [ - "system", "lint", "lint_setup_py", "blacken", From ac8c2bee1ac2587c4b020552c97896faf510ecea Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Thu, 18 Jul 2024 11:34:19 +0000 Subject: [PATCH 4/8] define sessions that run during presubmit --- .kokoro/presubmit/presubmit.cfg | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.kokoro/presubmit/presubmit.cfg b/.kokoro/presubmit/presubmit.cfg index 8f43917d..a38ae826 100644 --- a/.kokoro/presubmit/presubmit.cfg +++ b/.kokoro/presubmit/presubmit.cfg @@ -1 +1,7 @@ -# Format: //devtools/kokoro/config/proto/build.proto \ No newline at end of file +# Format: //devtools/kokoro/config/proto/build.proto + +# Only run the following session(s) +env_vars: { + key: "NOX_SESSION" + value: "blacken lint lint_setup.py docs" +} From 26d309f035336d47ba66968e440bfb473b015161 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 18 Jul 2024 11:36:36 +0000 Subject: [PATCH 5/8] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .kokoro/presubmit/presubmit.cfg | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.kokoro/presubmit/presubmit.cfg b/.kokoro/presubmit/presubmit.cfg index a38ae826..8f43917d 100644 --- a/.kokoro/presubmit/presubmit.cfg +++ b/.kokoro/presubmit/presubmit.cfg @@ -1,7 +1 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Only run the following session(s) -env_vars: { - key: "NOX_SESSION" - value: "blacken lint lint_setup.py docs" -} +# Format: //devtools/kokoro/config/proto/build.proto \ No newline at end of file From 951e865a689b2cbcad3d9174dfd435a867414ebf Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Mon, 22 Jul 2024 18:18:40 +0000 Subject: [PATCH 6/8] updates owlbot to avoid overwriting presubmit.cfg --- owlbot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/owlbot.py b/owlbot.py index aeda7356..916a7074 100644 --- a/owlbot.py +++ b/owlbot.py @@ -58,6 +58,7 @@ "README.rst", # exclude this file as we have an alternate prerelease.cfg ".kokoro/presubmit/prerelease-deps.cfg", + ".kokoro/presubmit/presubmit.cfg", ], ) From 6c0ee4aa5ba9643c824a5e7c944024d029620c38 Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Mon, 22 Jul 2024 18:33:24 +0000 Subject: [PATCH 7/8] restores file changes that owlbot took out --- .kokoro/presubmit/presubmit.cfg | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.kokoro/presubmit/presubmit.cfg b/.kokoro/presubmit/presubmit.cfg index 8f43917d..f0d26b9c 100644 --- a/.kokoro/presubmit/presubmit.cfg +++ b/.kokoro/presubmit/presubmit.cfg @@ -1 +1,7 @@ -# Format: //devtools/kokoro/config/proto/build.proto \ No newline at end of file +# Format: //devtools/kokoro/config/proto/build.proto + +# Only run the following session(s) +env_vars: { + key: "NOX_SESSION" + value: "blacken lint lint_setup.py docs" +} \ No newline at end of file From bf114001cc545912d1b2796678eeae112e7533da Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Mon, 22 Jul 2024 18:37:33 +0000 Subject: [PATCH 8/8] updates session name --- .kokoro/presubmit/presubmit.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.kokoro/presubmit/presubmit.cfg b/.kokoro/presubmit/presubmit.cfg index f0d26b9c..f4651182 100644 --- a/.kokoro/presubmit/presubmit.cfg +++ b/.kokoro/presubmit/presubmit.cfg @@ -3,5 +3,5 @@ # Only run the following session(s) env_vars: { key: "NOX_SESSION" - value: "blacken lint lint_setup.py docs" + value: "blacken lint lint_setup_py docs" } \ No newline at end of file