Skip to content
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

feat: Add version command #76

Merged
merged 1 commit into from
Sep 5, 2024
Merged

feat: Add version command #76

merged 1 commit into from
Sep 5, 2024

Conversation

jdkaplan
Copy link
Collaborator

@jdkaplan jdkaplan commented Sep 2, 2024

This reads the Google App Engine version from the environment and returns it in response to a new version command.

Ideally, we'd be able to get the current commit hash, but I haven't figured out a nice way to make that work through Cloud Build + App Engine. I suspect the answer is to start pushing our own Docker images, and that's something I don't want to do yet.

Since we don't currently name our GAE versions, we get timestamps (like 20240904t202224). That's still good enough to show the difference between two builds.

Test Plan

  • Works when pushed to dev!

@jdkaplan jdkaplan force-pushed the jdkaplan-version-cmd branch 2 times, most recently from d300ee4 to ccd2502 Compare September 4, 2024 16:41
@jdkaplan jdkaplan marked this pull request as draft September 4, 2024 17:05
This reads the Google App Engine version from the environment and
returns it in response to a new `version` command.

Since we don't currently name our GAE versions, we get timestamps (like
'20240904t202224'). That's still good enough to show the difference
between two builds.
@jdkaplan jdkaplan marked this pull request as ready for review September 5, 2024 00:35
@jdkaplan jdkaplan merged commit 7651271 into main Sep 5, 2024
3 checks passed
@jdkaplan jdkaplan deleted the jdkaplan-version-cmd branch September 5, 2024 00:37
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.

1 participant