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

Add version to /status endpoint #2295

Merged
merged 3 commits into from
Jun 6, 2022
Merged

Conversation

nitrocode
Copy link
Member

@nitrocode nitrocode commented Jun 5, 2022

what

  • Add version to /status endpoint

why

  • Much easier to identify what version is actively running

references

commands

CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -v -o atlantis .
./atlantis server --gh-user=nitrocode --repo-allowlist=atlantis
✗ curl localhost:4141/status
{
  "shutting_down": false,
  "in_progress_operations": 0,
  "version": "0.19.3"
}

@nitrocode nitrocode requested a review from a team as a code owner June 5, 2022 14:15
@jamengual jamengual merged commit 2b77254 into runatlantis:master Jun 6, 2022
krrrr38 pushed a commit to krrrr38/atlantis that referenced this pull request Dec 16, 2022
* Add version to /status endpoint

* Add version to test

* Fix linting errors
@nitrocode nitrocode deleted the version branch January 26, 2023 00:41
@nitrocode nitrocode added this to the v0.19.5 milestone Mar 23, 2023
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.

Return atlantis version when hitting /status
2 participants