[SERVER-78687] Set up copybara syncing between 10gen/mongo and 10gen/mongo-copybara Created: 05/Jul/23  Updated: 27/Nov/23  Resolved: 22/Sep/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0, 5.0.22, 7.0.3, 4.4.26, 6.0.12, 7.1.2

Type: Improvement Priority: Major - P3
Reporter: Alex Neben Assignee: Juan Gu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Duplicate
is duplicated by SERVER-78688 Add functionality to sync branches ot... Closed
Assigned Teams:
Server Development Platform
Backwards Compatibility: Fully Compatible
Participants:

 Description   

This should only sync master and should be a non patchable evergreen task. We should see after commits land copybara jobs are scheduled and the commit is copied to 10gen/mongo-copybara. This should be in a new copybara variant. We should also make sure that logs are uploaded so debugging failures are easy.

 

This should involve using copybera to replace the currently checked out code with the to-be-commited code. This way we will be able to run tests on this code before publishing.

 

The configuration of copybara should be checked into the 10gen/mongo repo and copybara should run in a container



 Comments   
Comment by Githook User [ 27/Nov/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: SERVER-78687 Set up copybara syncing between 10gen/mongo and 10gen/mongo-copybara

(cherry picked from commit 750406e4afef5723c9b750c037e8d1746d13af34)

SERVER-81377 Adapt sync to allow copybara failure when there are no new commits to sync

(cherry picked from commit 032b931e4c05d9af21a21e3d27999c269bce9ef4)
Branch: v7.1
https://github.com/mongodb/mongo/commit/e88edf55422ab2d707280177a1c09c2d871bd179

Comment by Githook User [ 05/Oct/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: SERVER-78687 Set up copybara syncing between 10gen/mongo and 10gen/mongo-copybara

(cherry picked from commit 750406e4afef5723c9b750c037e8d1746d13af34)

SERVER-81377 Adapt sync to allow copybara failure when there are no new commits to sync

(cherry picked from commit 032b931e4c05d9af21a21e3d27999c269bce9ef4)
Branch: v5.0
https://github.com/mongodb/mongo/commit/24840091ae2ba08c60e86f8fcb000ec92b82f188

Comment by Githook User [ 05/Oct/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: SERVER-78687 Set up copybara syncing between 10gen/mongo and 10gen/mongo-copybara

(cherry picked from commit 750406e4afef5723c9b750c037e8d1746d13af34)

SERVER-81377 Adapt sync to allow copybara failure when there are no new commits to sync

(cherry picked from commit 032b931e4c05d9af21a21e3d27999c269bce9ef4)
Branch: v4.4
https://github.com/mongodb/mongo/commit/c7f75d06169a43788351d52ed2e05eb316aef35c

Comment by Githook User [ 28/Sep/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: SERVER-78687 Set up copybara syncing between 10gen/mongo and 10gen/mongo-copybara

(cherry picked from commit 750406e4afef5723c9b750c037e8d1746d13af34)

SERVER-81377 Adapt sync to allow copybara failure when there are no new commits to sync

(cherry picked from commit 032b931e4c05d9af21a21e3d27999c269bce9ef4)
Branch: v7.0
https://github.com/mongodb/mongo/commit/d571353b36ea2757d0dc0ae32cf51034fa8d6a06

Comment by Githook User [ 28/Sep/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: SERVER-78687 Set up copybara syncing between 10gen/mongo and 10gen/mongo-copybara

(cherry picked from commit 750406e4afef5723c9b750c037e8d1746d13af34)

SERVER-81377 Adapt sync to allow copybara failure when there are no new commits to sync

(cherry picked from commit 032b931e4c05d9af21a21e3d27999c269bce9ef4)
Branch: v6.0
https://github.com/mongodb/mongo/commit/a9b2fc0953a9228d23337590b1df7d1797c63073

Comment by Githook User [ 20/Sep/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: SERVER-78687 Set up copybara syncing between 10gen/mongo and 10gen/mongo-copybara
Branch: master
https://github.com/mongodb/mongo/commit/750406e4afef5723c9b750c037e8d1746d13af34

Generated at Thu Feb 08 06:39:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.