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

[gitpod-cli] Add auto-updating capabilities #19056

Merged
merged 10 commits into from
Nov 13, 2023
Merged

[gitpod-cli] Add auto-updating capabilities #19056

merged 10 commits into from
Nov 13, 2023

Conversation

csweichel
Copy link
Contributor

@csweichel csweichel commented Nov 10, 2023

Description

This PR adds auto-updating capabilities to the local CLI. It does that by first introducing the notion of a version and then adding host-based auto-updating

Summary generated by Copilot

🤖 Generated by Copilot at 0866b9d

This pull request adds version information to the local-app CLI and documents the versioning and releasing process. It introduces a version command, a version package, a version.txt file, and build-time constants for the version, git commit, and build time.

Related Issue(s)

Fixes EXP-835

How to test

Documentation

Preview status

gitpod:summary

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • with-monitoring

/hold

@roboquat roboquat added size/XXL and removed size/L labels Nov 10, 2023
@csweichel csweichel marked this pull request as ready for review November 10, 2023 18:35
@csweichel csweichel requested a review from a team as a code owner November 10, 2023 18:35
Copy link
Member

@filiptronicek filiptronicek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to go. Just one outstanding comment.

components/local-app/cmd/login.go Show resolved Hide resolved
components/local-app/version.txt Outdated Show resolved Hide resolved
@roboquat roboquat merged commit e4bc514 into main Nov 13, 2023
15 checks passed
@roboquat roboquat deleted the cw/autoupdate-cli branch November 13, 2023 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants