-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable deploying chrome-tests-syncer independently (#4647)
### Motivation Decouple the chrome-tests-syncer code releases from the rest of clusterfuzz, in order to enable it to be deployed independently of the clusterfuzz instances by the chrome fuzzing team . ### Changes * Extended the butler deploy script to produce a dedicated deployment package for "--release=chrome-tests-syncer" and to produce both the prod and tests-syncer packages when releasing to prod. * Changed chrome-tests-syncer Dockerfile/start.sh to pull from this dedicated deployment package. * Moved and edited the tests-syncer code to be executed as a k8s cronjob. * (side effect) Updated unit test to account for deploying the chrome-tests-syncer manifest. ### Tests * Deployed a chrome-tests-syncer release using this PR and produced the dedicated artifact (https://screenshot.googleplex.com/8W88DmYwFKPkSfZ.png). * Built an updated chrome-tests-syncer image that pulls from this artifact (https://screenshot.googleplex.com/8HqEvV7bnBggBPj.png). * Created the chrome-tests-syncer cronjob (along with PR in clusterfuzz-config: 2428107) pulling from this updated image, applied it to the GKE and it ran successfully: ![image](https://github.com/user-attachments/assets/b32441f1-daae-4c12-9476-97583fad3982) * Mocked a deployment with --release=prod (by printing the command instead of actually uploading to gcs): <img width="960" alt="Screenshot 2025-02-05 at 11 48 31" src="https://github.com/user-attachments/assets/bd035374-07d1-453a-9db4-2ed0cd39d92f" /> Bug: b/389048599
- Loading branch information
1 parent
4288eef
commit 7e3b1d3
Showing
9 changed files
with
60 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters