Skip to content

Comments

build(ci): Trigger getsentry backend tests on deps change#23642

Merged
billyvg merged 23 commits intomasterfrom
build/ci/test-backend-getsentry-test
Feb 9, 2021
Merged

build(ci): Trigger getsentry backend tests on deps change#23642
billyvg merged 23 commits intomasterfrom
build/ci/test-backend-getsentry-test

Conversation

@billyvg
Copy link
Member

@billyvg billyvg commented Feb 5, 2021

This will trigger getsentry backend test when requirements*.txt
changes. This functions similarly to the getsentry javascript test.

The failed check will show you a message w/ instructions on how to proceed:
image

Comment on lines +32 to +33
backend_dependencies: &backend_dependencies
- 'requirements-*.txt'
Copy link
Member Author

Choose a reason for hiding this comment

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

This is what we'll use to determine if a dispatch to getsentry is required.

Copy link
Member

Choose a reason for hiding this comment

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

You should probably add that as a comment.

#
# See https://github.com/getsentry/sentry/pull/21600 for more details
# TODO: this needs to be pull_request_target
pull_request:
Copy link
Member Author

Choose a reason for hiding this comment

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

this is pull_request for testing

owner: 'getsentry',
repo: 'getsentry',
workflow_id: workflow,
ref: 'build/ci/add-backend-dependencies-test', // TODO: this needs to be 'master'
Copy link
Member Author

Choose a reason for hiding this comment

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

This is for testing only.

@billyvg
Copy link
Member Author

billyvg commented Feb 9, 2021

You can view it working here: https://github.com/getsentry/getsentry/runs/1859931351?check_suite_focus=true

(And javascript still works as expected as well https://github.com/getsentry/getsentry/actions/runs/549994891)

@billyvg billyvg changed the title build(ci): Trigger getsentry backend tests on deps change [WIP] build(ci): Trigger getsentry backend tests on deps change Feb 9, 2021
@billyvg billyvg marked this pull request as ready for review February 9, 2021 02:41
@billyvg billyvg requested a review from a team as a code owner February 9, 2021 02:41
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2021

size-limit report

Path Base Size (9dec6f2) Current Size Change
public/app.js 314.47 KB 314.5 KB +0.01% 🔺
public/vendor.js 612 KB 612 KB -0.01% 🔽
public/sentry.css 25.85 KB 25.85 KB 0%

@billyvg billyvg merged commit 1f0daad into master Feb 9, 2021
@billyvg billyvg deleted the build/ci/test-backend-getsentry-test branch February 9, 2021 17:33
@github-actions github-actions bot locked and limited conversation to collaborators Feb 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants