Skip to content

Add nightly deployment config#530

Merged
laymonage merged 2 commits intowagtail:mainfrom
laymonage:nightly-config
Feb 26, 2025
Merged

Add nightly deployment config#530
laymonage merged 2 commits intowagtail:mainfrom
laymonage:nightly-config

Conversation

@laymonage
Copy link
Member

@laymonage laymonage commented Feb 26, 2025

  • Add a NIGHTLY build arg to the Dockerfile that would replace the wagtail dependency in requirements/base.txt with a link to the nightly wheel.
  • Add a GitHub Actions workflow configuration that:
    • checks out the main branch,
    • sets the NIGHTLY build arg in heroku.yml to 1
    • commits and pushes to the nightly branch (with --force to ensure it's up to date with latest main)

Heroku will pick up the push to the nightly branch and deploy it to our nightly demo app. We don't set NIGHTLY: 1 directly in heroku.yml in main because we also deploy the demo with the latest stable version of Wagtail as defined in requirements/base.txt.

@laymonage
Copy link
Member Author

laymonage commented Feb 26, 2025

I've already tried the Dockerfile in a manually created nightly branch and confirmed that it works: 6096ae0

I'm going to merge this and hope the CI works 🙏

@laymonage laymonage merged commit 83593b1 into wagtail:main Feb 26, 2025
3 checks passed
@laymonage
Copy link
Member Author

laymonage commented Feb 26, 2025

Aand it works! 🥳 🎉

https://github.com/wagtail/bakerydemo/commits/nightly/

image image

@laymonage laymonage self-assigned this Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants