Skip to content

Features and improvements for polaris-cli #78

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

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

pecirep
Copy link

@pecirep pecirep commented Nov 8, 2023

Changelog:

  • Local npm registry using Verdaccio
  • Run e2e tests in GithubActions
  • Docker-build command using an Nx executor
  • Generate a Visual Studio Code .devcontainer configuration when creating a new Polaris workspace
  • Add apply-slo-mapping command to polaris-cli
  • Add polaris-cli migrate command that migrates all polaris packages to the specified version and all Nx packages to the appropriate version.
  • Use an executor for the polaris-cli deploy command and check if unmodifiable Kubernets objects already exist
  • Extract Group, Version & Kind from Polaris Types during Controller Generation

Pull Request Checklist

Please ensure that you have completed the following tasks:

  • Updated the changelog.
  • Updated all relevant *.md files in docs.

After merging to the master branch, ensure that you update the gh-pages branch.

pecirep and others added 12 commits November 8, 2023 22:45
* implement docker-build executor

* add changelog entry
* Generate a VS Code .devcontainer
Fixes #2

* update changelog

---------

Signed-off-by: Tin Pecirep <[email protected]>
* Implement Apply SLO Mapping Command

* Update changelog

* log kube-client response and catch errors

---------

Signed-off-by: Tin Pecirep <[email protected]>
* implement migrate command

* migrate docker-build command in project.json files of existing projects

* update <polaris-version> option and function name

* update cli.md and add changelog entry

* use nx migrate feature for executor migration

* reuse existing constants for POLARIS_PKGS constant

* add axios as dependency to polaris-cli package

* run migrations using nx and remove migrations.json afterwards

---------

Signed-off-by: Tin Pecirep <[email protected]>
Co-authored-by: Tin Pecirep <[email protected]>
* add deploy executor

* migrate using nx migration

* update changelog

Signed-off-by: Tin Pecirep <[email protected]>

---------

Signed-off-by: Tin Pecirep <[email protected]>
Co-authored-by: Tin Pecirep <[email protected]>
…r generation (#19)

* extract group, version and kind from polarisType during slo controller generation

* extract group,version and kind for elasticity strategy controller

* extract group, version and kind for metric controllers

* flush changes after generating scripts

* only apply changes made in tempFolder

* fix objectKind generation for composed metric controller

* fix objectKind generation for predicted metric controller

* use generated comMetricApiGroup in rbac.yaml

* update changelog

Signed-off-by: Tin Pecirep <[email protected]>

---------

Signed-off-by: Tin Pecirep <[email protected]>
Co-authored-by: Dominik Rieser <[email protected]>
…igrations:packageGroup to migrate all polaris packages

Signed-off-by: Tin Pecirep <[email protected]>
@tommazzo89 tommazzo89 self-assigned this Nov 22, 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.

4 participants