Skip to content

feat: notify mobility-feeds-api when the web validator is updated#1760

Merged
cka-y merged 1 commit intomasterfrom
feat/1746
May 16, 2024
Merged

feat: notify mobility-feeds-api when the web validator is updated#1760
cka-y merged 1 commit intomasterfrom
feat/1746

Conversation

@cka-y
Copy link
Copy Markdown
Contributor

@cka-y cka-y commented May 14, 2024

Summary:

This PR addresses part of issue #1746. It sends a repository dispatch notification to the mobility-feed-api with a type of either gtfs-validator-update-stg or gtfs-validator-release whenever the GTFS Web Validator services are updated.

Expected Behavior:

  • On merging to the master branch, the staging web services are updated, triggering a gtfs-validator-update-stg notification.
  • On release, the production services are updated, triggering a gtfs-validator-release notification.

Please make sure these boxes are checked before submitting your pull request - thanks!

Copy link
Copy Markdown
Contributor

@qcdyx qcdyx left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Member

@davidgamez davidgamez left a comment

Choose a reason for hiding this comment

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

LGTM!

@cka-y cka-y added do not merge This PR needs more work/discussion or is not meant to be merged and removed do not merge This PR needs more work/discussion or is not meant to be merged labels May 15, 2024
@cka-y cka-y merged commit dda1918 into master May 16, 2024
@cka-y cka-y deleted the feat/1746 branch May 16, 2024 13:28
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
CREDENTIALS: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/ifkeehu5gzi7wy5ub5qvwkaire/credential"

- name: Send a notification to mobility-feed-api
Copy link
Copy Markdown
Contributor

@jcpitre jcpitre May 16, 2024

Choose a reason for hiding this comment

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

It would be useful to explain why we do this in web_release.yml and not, say, in publish_assets.yml. Something like:
# mobility_feed_api will use the deployed web service to update the validation reports
** This PR is already merged, so maybe we can slip this in a future PR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

cc: @emmambd

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.

4 participants