Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker: project layout updates (bug 1940614) #23

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

shtrom
Copy link
Member

@shtrom shtrom commented Feb 4, 2025

Setup and document the project so a standalone syncer can be stood up and manually tested in isolation.

This also adds support for overriding the parameters of the Pulse queue via environment variables, as needed by mozilla-conduit/suite#66.


Looking forwards: more generally, we'll have to override repository and branch configuration per deployment environment. Doing so via env variables will quickly explode. Another option would be to bake (all) per-env configuration files within the source here and into the container image, and select which configuration to use via a single env variable when deploying the container.

This is left for future work for now.

@shtrom shtrom force-pushed the 1940611/pulse-message-update branch 2 times, most recently from 8ec0efd to 779e040 Compare February 4, 2025 05:52
Comment on lines +17 to +31
[[tracked_repositories]]
name = "firefox-releases"
url = "/home/fbessou/dev/MOZI/fake-forge/git/firefox-releases"

[[branch_mappings]]
source_url = "/home/fbessou/dev/MOZI/fake-forge/git/firefox-releases"
branch_pattern = "^(esr\\d+)$"
destination_url = "/home/fbessou/dev/MOZI/fake-forge/hg/mozilla-\\1"
destination_branch = "default"

[[tag_mappings]]
source_url = "/home/fbessou/dev/MOZI/fake-forge/git/firefox-releases"
tag_pattern = "^FIREFOX_BETA_(\\d+)_(BASE|END)$"
destination_url = "/home/fbessou/dev/MOZI/fake-forge/hg/mozilla-beta"
tags_destination_branch = "tags"
Copy link
Member Author

@shtrom shtrom Feb 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to populate something more local at some point.

@shtrom shtrom requested review from cgsheeh, zzzeid and globau February 4, 2025 05:56
Copy link
Member

@cgsheeh cgsheeh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@shtrom shtrom force-pushed the 1940611/pulse-message-update branch from 65755dc to 8c91e1c Compare February 5, 2025 00:21
@shtrom shtrom force-pushed the 1940611/pulse-message-update branch 2 times, most recently from 5c01ac2 to 3babf19 Compare February 5, 2025 05:26
@shtrom shtrom force-pushed the 1940611/pulse-message-update branch from 3babf19 to 1d72c6e Compare February 5, 2025 05:35
@shtrom shtrom changed the title docker: project layout updates (bug 1940611) docker: project layout updates (bug 1940614) Feb 5, 2025
@shtrom shtrom requested a review from cgsheeh February 7, 2025 00:34
@shtrom
Copy link
Member Author

shtrom commented Feb 7, 2025

@cgsheeh git-hg-sync PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants