mitodl / ocw-studio

Open Source Courseware authoring tool
BSD 3-Clause "New" or "Revised" License
9 stars 3 forks source link

End to end test pipeline should always publish to test buckets #2112

Closed gumaerc closed 7 months ago

gumaerc commented 7 months ago

Description/Context

Currently, if the sites for the end to end tests (defined by OCW_WWW_TEST_SLUG and OCW_COURSE_TEST_SLUG) have pipelines pushed up via backpopulate_pipelines, they will be published to the public facing draft and live sites when the site is published. Instead, the test sites should only publish to the buckets defined by AWS_TEST_BUCKET_NAME and AWS_OFFLINE_TEST_BUCKET_NAME. This will mean that sites can be edited from the UI safely by any user without fear that the site will be pushed to the live site.

Plan/Design