New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's german. It means "the dev, the" #3212
Conversation
@@ -22,17 +21,15 @@ jobs: | |||
contents: write | |||
id-token: write | |||
steps: | |||
- name: Use pudl-deployment-dev vm and dev branch if running on a schedule | |||
- name: Use pudl-deployment-dev vm if running on a schedule | |||
if: ${{ (github.event_name == 'schedule') }} | |||
run: | | |||
echo "This action was triggered by a schedule." | |||
echo "GCE_INSTANCE=pudl-deployment-dev" >> $GITHUB_ENV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully we'll be on Batch shortly and the archaic naming of this VM won't matter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also think, at some point, we just trigger the whole build-deploy
only on tag push and workflow dispatch, and just make the nightly tag on a schedule. Which will mean we don't have to do all these conditionals on the event name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been thinking it might be nice to completely separate the build and deploy processes.
Like the build runs the ETL and tests / validations and fills up a directory in gs://builds.catalyst.coop
as it does now, and then a totally separate script could be used to update the nightly
branch, and deploy the outputs from a selected BUILD_ID
to any combination of:
- Datasette on Fly.io
- AWS Open Data Registry S3 buckets
- Our GCS buckets that mirror AWS
- ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great!
A few loose ends here and there, which I guess are technically not blocking the deprecation of dev
. But, since we still also need to communicate to people about the new process, I think we're not in such a hurry. So maybe it's worth just fixing them.
In terms of communication, I think what we need to communicate is:
"New process, same as the old process, except now you branch off of and merge into main
. Which means you don't have to manually change the base branch each time you make a PR, yay! Also don't mess with nightly
/stable
and still don't push things willy-nilly to main."
If that sounds good to you, feel free to copy-paste that right into Slack, hah.
@@ -22,17 +21,15 @@ jobs: | |||
contents: write | |||
id-token: write | |||
steps: | |||
- name: Use pudl-deployment-dev vm and dev branch if running on a schedule | |||
- name: Use pudl-deployment-dev vm if running on a schedule | |||
if: ${{ (github.event_name == 'schedule') }} | |||
run: | | |||
echo "This action was triggered by a schedule." | |||
echo "GCE_INSTANCE=pudl-deployment-dev" >> $GITHUB_ENV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also think, at some point, we just trigger the whole build-deploy
only on tag push and workflow dispatch, and just make the nightly tag on a schedule. Which will mean we don't have to do all these conditionals on the event name.
Hmm @bendnorman @jdangerx it looks like Google was really hoping for that
Edit: ah nevermind we were specifying it in the deploy workflow. |
- Update docs and build scripts to reflect new branch structure. - Run builds every night, but only if there are changes. - Rename nightly-build-outputs.catalyst.coop bucket to builds.catalyst.coop. - Remove docker/.env file and define those envvars elsewhere. - Add some basic release notes about our new branches / workflow
ea3be0d
to
e9c205a
Compare
Overview
https://www.youtube.com/watch?v=gaXigSu72A4
Covers most of the tasks in #3179 which is the last bit of #3140
nightly
docs rather thandev
.gs://builds.catalyst.coop
for our build outputs.docker/.env
file and define those envvars either in the container / workflow / script.Testing
To-do list