zooniverse / lita

Chat bot active in Zooniverse's Slack channels
4 stars 2 forks source link

Update PFE and FEM's commit check URLs #181

Closed zwolf closed 1 month ago

zwolf commented 1 month ago

Post-switcheroo, www.zooniverse.org/commit_id.txt is served from the fe-root app, not PFE. This confuses lita, who uses that URL for PFE checks. This updates that check to use the static.zooniverse.org/www.zooniverse.org path which still gets updated on PFE deploys but isn't served by www.

Also updated FEM's check to check the fe-root app instead of projects. Using the app directly instead of www to avoid the CDN, just in case.

goplayoutside3 commented 1 month ago

Also updated FEM's check to check the fe-root app instead of projects. Using the app directly instead of www to avoid the CDN, just in case.

Is there any code I need to add to fe-root to make this work, or is there automatically a commit_id.txt file on deploy? For instance the code added in https://github.com/zooniverse/front-end-monorepo/pull/2217 for fe-project.

zwolf commented 1 month ago

That file already exists (https://fe-root.zooniverse.org/commit_id.txt), it was added by the app-root dockerization PR.