From 54e63ea395f49a29d8f5c50a0e8fc5c08194e996 Mon Sep 17 00:00:00 2001 From: Shobhit Singh Date: Mon, 24 Mar 2025 12:23:22 -0700 Subject: [PATCH 1/7] chore: configure CI for 1.x branch (#1528) --- .github/workflows/docs.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/mypy.yml | 2 +- .github/workflows/unittest.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2833fe98ff..8d3c3e10e2 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,7 +1,7 @@ on: pull_request: branches: - - main + - v1 name: docs jobs: docs: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1051da0bdd..54a39a225a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,7 +1,7 @@ on: pull_request: branches: - - main + - v1 name: lint jobs: lint: diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index e6a79291d0..4a88a14efa 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -1,7 +1,7 @@ on: pull_request: branches: - - main + - v1 name: mypy jobs: mypy: diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index a7805de447..cfd40c733d 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -1,7 +1,7 @@ on: pull_request: branches: - - main + - v1 name: unittest jobs: unit: From 4cce9df4f769ab73045a628efe555744d57fa91f Mon Sep 17 00:00:00 2001 From: Shobhit Singh Date: Tue, 25 Mar 2025 00:08:46 +0000 Subject: [PATCH 2/7] chore: set up release-please for previous major version (1.x) --- .github/release-please.yml | 5 +++++ owlbot.py | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/release-please.yml b/.github/release-please.yml index 8c34d1b49f..7c2b8d9e8a 100644 --- a/.github/release-please.yml +++ b/.github/release-please.yml @@ -3,3 +3,8 @@ handleGHRelease: true extraFiles: - bigframes/version.py - third_party/bigframes_vendored/version.py + +branches: + - branch: v1 + handleGHRelease: true + releaseType: python diff --git a/owlbot.py b/owlbot.py index 159df04abd..b54163aadd 100644 --- a/owlbot.py +++ b/owlbot.py @@ -118,6 +118,11 @@ python.py_samples(skip_readmes=True) +# ---------------------------------------------------------------------------- +# Configure previous major version for release after all templates are added +# ---------------------------------------------------------------------------- +python.configure_previous_major_version_branches() + # ---------------------------------------------------------------------------- # Final cleanup # ---------------------------------------------------------------------------- From 8b85ee26b97025579dda876ed58d074cf7a87004 Mon Sep 17 00:00:00 2001 From: Shobhit Singh Date: Tue, 25 Mar 2025 00:44:51 +0000 Subject: [PATCH 3/7] revert owlbot.py change as it already excludes release-please.yml --- owlbot.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/owlbot.py b/owlbot.py index b54163aadd..159df04abd 100644 --- a/owlbot.py +++ b/owlbot.py @@ -118,11 +118,6 @@ python.py_samples(skip_readmes=True) -# ---------------------------------------------------------------------------- -# Configure previous major version for release after all templates are added -# ---------------------------------------------------------------------------- -python.configure_previous_major_version_branches() - # ---------------------------------------------------------------------------- # Final cleanup # ---------------------------------------------------------------------------- From aeca33b6258ef3b26a43b0c5b1011fd27fd19128 Mon Sep 17 00:00:00 2001 From: Shobhit Singh Date: Tue, 25 Mar 2025 00:08:46 +0000 Subject: [PATCH 4/7] chore: set up release-please for previous major version (1.x) --- .github/release-please.yml | 5 +++++ owlbot.py | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/release-please.yml b/.github/release-please.yml index 8c34d1b49f..7c2b8d9e8a 100644 --- a/.github/release-please.yml +++ b/.github/release-please.yml @@ -3,3 +3,8 @@ handleGHRelease: true extraFiles: - bigframes/version.py - third_party/bigframes_vendored/version.py + +branches: + - branch: v1 + handleGHRelease: true + releaseType: python diff --git a/owlbot.py b/owlbot.py index 159df04abd..b54163aadd 100644 --- a/owlbot.py +++ b/owlbot.py @@ -118,6 +118,11 @@ python.py_samples(skip_readmes=True) +# ---------------------------------------------------------------------------- +# Configure previous major version for release after all templates are added +# ---------------------------------------------------------------------------- +python.configure_previous_major_version_branches() + # ---------------------------------------------------------------------------- # Final cleanup # ---------------------------------------------------------------------------- From 55f04d2ef22e1d33ce2a9d04fd0a9a4bc8fef5d4 Mon Sep 17 00:00:00 2001 From: Shobhit Singh Date: Tue, 25 Mar 2025 00:44:51 +0000 Subject: [PATCH 5/7] revert owlbot.py change as it already excludes release-please.yml --- owlbot.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/owlbot.py b/owlbot.py index b54163aadd..159df04abd 100644 --- a/owlbot.py +++ b/owlbot.py @@ -118,11 +118,6 @@ python.py_samples(skip_readmes=True) -# ---------------------------------------------------------------------------- -# Configure previous major version for release after all templates are added -# ---------------------------------------------------------------------------- -python.configure_previous_major_version_branches() - # ---------------------------------------------------------------------------- # Final cleanup # ---------------------------------------------------------------------------- From 823da57305e6632307ce462231975cc7d4bfa14b Mon Sep 17 00:00:00 2001 From: Shobhit Singh Date: Tue, 25 Mar 2025 16:45:17 +0000 Subject: [PATCH 6/7] Revert "chore: configure CI for 1.x branch (#1528)" This reverts commit 54e63ea395f49a29d8f5c50a0e8fc5c08194e996. --- .github/workflows/docs.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/mypy.yml | 2 +- .github/workflows/unittest.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8d3c3e10e2..2833fe98ff 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,7 +1,7 @@ on: pull_request: branches: - - v1 + - main name: docs jobs: docs: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 54a39a225a..1051da0bdd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,7 +1,7 @@ on: pull_request: branches: - - v1 + - main name: lint jobs: lint: diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index 4a88a14efa..e6a79291d0 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -1,7 +1,7 @@ on: pull_request: branches: - - v1 + - main name: mypy jobs: mypy: diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index cfd40c733d..a7805de447 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -1,7 +1,7 @@ on: pull_request: branches: - - v1 + - main name: unittest jobs: unit: From 338174a06d22f8eb1d0e8d149d1900f482620f02 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 25 Mar 2025 16:46:56 +0000 Subject: [PATCH 7/7] =?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 --- .github/workflows/lint.yml | 2 +- .github/workflows/unittest.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 54a39a225a..1051da0bdd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,7 +1,7 @@ on: pull_request: branches: - - v1 + - main name: lint jobs: lint: diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index cfd40c733d..a7805de447 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -1,7 +1,7 @@ on: pull_request: branches: - - v1 + - main name: unittest jobs: unit: