Skip to content

[do not merge] dry-run of cutover#31

Closed
matt-codecov wants to merge 10000 commits intomainfrom
matt/absorb-dry-run-clean
Closed

[do not merge] dry-run of cutover#31
matt-codecov wants to merge 10000 commits intomainfrom
matt/absorb-dry-run-clean

Conversation

@matt-codecov
Copy link
Copy Markdown
Contributor

depends on:

also hacks the absorb script to include these PRs for worker/api:

commands:

$ git checkout -b matt/absorb-dry-run-clean

$ ./tools/absorb-repo/absorb-repo.sh shared git@github.com:codecov/shared.git libs/shared

$ ./tools/absorb-repo/absorb-repo.sh worker git@github.com:codecov/worker.git apps/worker
$ cd apps/worker
$ sed -i '' 's/shared = { git.*/shared = { path = "..\/..\/libs\/shared" }/' pyproject.toml
$ uv sync
$ cd -
$ git add .
$ git commit -m 'use local shared for worker'

$ ./tools/absorb-repo/absorb-repo.sh codecov-api git@github.com:codecov/codecov-api.git apps/codecov-api
$ cd apps/codecov-api
$ sed -i '' 's/shared = { git.*/shared = { path = "..\/..\/libs\/shared" }/' pyproject.toml
$ uv sync
$ cd -
$ git add .
$ git commit -m 'use local shared for api'

local validation:

$ make devenv

$ make devenv.test.worker

$ make devenv.test.api

$ make devenv.test.shared

note that you need the umbrella conf file from our 1PW vault for all tests to pass locally.

Loading
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.