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

deployment version name now extendable #89

Conversation

Grashalmbeisser
Copy link
Collaborator

added extension for app deployment as --ext or -e command.

@Grashalmbeisser Grashalmbeisser merged commit 3e79f2a into viur-framework:main Dec 14, 2023
Grashalmbeisser added a commit that referenced this pull request Apr 12, 2024
* deployment version name now extendable (#89)

Co-authored-by: Christos <ca@mausbrand.com>

* Feature/develop y (#90)

* edded acceptall flag for deployment

* redid comment

* PEP8 fixes

* deleted debug output

---------

Co-authored-by: Christos <ca@mausbrand.com>

* Fix/project.json (#88)

* changed projectConfig globaly to project_config

* @wip write delete method

* @wip: delte process

* fixed format from default.format, to just format

* new reformatting in conf.py for project.json format 1.2.0

* using lstrip instead of rege

* @wip viur install

* Project Config is now a singleton

* pycharm is about to crash

* env now shows Versions depending on builds

* new config usage in install.py and build.py

* @wip new config usage throughout the project

* added profile usage in all project.conf related functions

* format changes from project.json v1.1.1 to 2.0.0

* touch ups on project.json functionality

* added project.json example in readme.md

* version and changelog

* fixed typo

* readme.md does is not ugly anymore

* resolved PR suggestions

* fixed typo

---------

Co-authored-by: Christos <ca@mausbrand.com>

* fixed  merge conflict related bugs (#91)

Co-authored-by: Christos <ca@mausbrand.com>

* Deployment/v2.0.0dev (#94)

* fixed  merge conflict related bugs

* added tag

---------

Co-authored-by: Christos <ca@mausbrand.com>

* Deployment/v2.0.0dev (#95)

* fixed  merge conflict related bugs

* added tag

* typo in version string

---------

Co-authored-by: Christos <ca@mausbrand.com>

* Deployment/v2.0.0dev (#96)

* fixed  merge conflict related bugs

* added tag

* typo in version string

* test

---------

Co-authored-by: Christos <ca@mausbrand.com>

* feat: Add newline in `project.json` (#102)

* fixed  merge conflict related bugs

* added/trailingline

* Update src/viur_cli/conf.py

Co-authored-by: Sven Eberth <mail@sveneberth.de>

* refactore

---------

Co-authored-by: Sven Eberth <mail@sveneberth.de>

* feat: `viur install update` command (#103)

* fixed  merge conflict related bugs

* feature/updateAllForBuilds

* PEP8 Fixes

* refactored old install.py into packtet.py as a pseudo packet manager for viur tools

* Ai generated Documentation

* refactoring and  documentation

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

---------

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Feature/gcloud functions (#98)

* fixed  merge conflict related bugs

* @wip shit

* @wip cloud function creation, deployment and disable backups

* implemented glcoud setup in viur cli

* fixed pep8 errors

* @wip: need to finalize SETUP and do PEP8 stuff

* refactored Role administration via viur cloud command

* added changelog and readme.md to the project

* bumped version to 2.0.0.dev3

* refinement of gcloud setup script

* Update src/viur_cli/cloud.py

Co-authored-by: Sven Eberth <mail@sveneberth.de>

* Update src/viur_cli/cloud.py

Co-authored-by: Sven Eberth <mail@sveneberth.de>

* Update src/viur_cli/cloud.py

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update src/viur_cli/cloud.py

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

---------

Co-authored-by: Sven Eberth <mail@sveneberth.de>
Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* changed github workflow

* new workflow file

* uodated vorkflows and version

* Renewed Docstrings and Helptexts (#110)

* documentation

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

---------

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Feature/indexfix (#111)

* clean indices

* clean indices and smaller bugfixes

* Update src/viur_cli/update.py

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

---------

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* One

* new rc

* updated setup.cfg

* Fixes for v2.0 (#112)

* Use correct argument name for profile

* Provide a "skip" option for vi/admin-decision

... and ask only once, when the project.json version is changed initially.

* Update src/viur_cli/conf.py

---------

Co-authored-by: Grashalmbeisser <57599830+Grashalmbeisser@users.noreply.github.com>

* added fixes

* typo fixes

* fixed broken deploy comand

* added default gcloud accounnt ptint for env

* fixed typo

* Update CHANGELOG.md

* added default gcloud accounnt print for env (#117)

* added default gcloud accounnt ptint for env

* fixed typo

* Update CHANGELOG.md

---------

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* release candidate

* fixed typo

* develop to default

* delete old format in default

* added format fixes in project.json

* bugfixes

* added cloud initiation deployment (#124)

* Feature/show changelog (#126)

* CLI shows changelog after update, on first run

* undid changes in cli.py

* renamed master to main

* added suggestions

* added chage suggestions

* redid changelog to show diff in main branches and tags

* fixed format

* added changelog and versioning

* feature/addedDeprecationWarnings (#132)

* added project json key rewriting and addition (#122)

* added project json key rewriting and addition

* deleted obsolete imports

* @wip generalize find key function

* fixed it

* bugfixed multiple core entries

* Apply suggestions from code review

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* added recommendations

* deleted comments

* deleted obsolete level in findkey

* resolved conflicts

---------

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* enforcing gcloud tool usage and LogIn (#135)

* enforcing gcloud tool usage and LogIn

* formatted file

* deploymen of v2.0.0

---------

Co-authored-by: Sven Eberth <mail@sveneberth.de>
Co-authored-by: Jan Max Meyer <jmm@phorward.de>
@Grashalmbeisser Grashalmbeisser deleted the feature/deploy_version_ext branch April 12, 2024 10:28
Grashalmbeisser added a commit that referenced this pull request May 6, 2024
* deployment version name now extendable (#89)

Co-authored-by: Christos <ca@mausbrand.com>

* Feature/develop y (#90)

* edded acceptall flag for deployment

* redid comment

* PEP8 fixes

* deleted debug output

---------

Co-authored-by: Christos <ca@mausbrand.com>

* Fix/project.json (#88)

* changed projectConfig globaly to project_config

* @wip write delete method

* @wip: delte process

* fixed format from default.format, to just format

* new reformatting in conf.py for project.json format 1.2.0

* using lstrip instead of rege

* @wip viur install

* Project Config is now a singleton

* pycharm is about to crash

* env now shows Versions depending on builds

* new config usage in install.py and build.py

* @wip new config usage throughout the project

* added profile usage in all project.conf related functions

* format changes from project.json v1.1.1 to 2.0.0

* touch ups on project.json functionality

* added project.json example in readme.md

* version and changelog

* fixed typo

* readme.md does is not ugly anymore

* resolved PR suggestions

* fixed typo

---------

Co-authored-by: Christos <ca@mausbrand.com>

* fixed  merge conflict related bugs (#91)

Co-authored-by: Christos <ca@mausbrand.com>

* Deployment/v2.0.0dev (#94)

* fixed  merge conflict related bugs

* added tag

---------

Co-authored-by: Christos <ca@mausbrand.com>

* Deployment/v2.0.0dev (#95)

* fixed  merge conflict related bugs

* added tag

* typo in version string

---------

Co-authored-by: Christos <ca@mausbrand.com>

* Deployment/v2.0.0dev (#96)

* fixed  merge conflict related bugs

* added tag

* typo in version string

* test

---------

Co-authored-by: Christos <ca@mausbrand.com>

* feat: Add newline in `project.json` (#102)

* fixed  merge conflict related bugs

* added/trailingline

* Update src/viur_cli/conf.py

Co-authored-by: Sven Eberth <mail@sveneberth.de>

* refactore

---------

Co-authored-by: Sven Eberth <mail@sveneberth.de>

* feat: `viur install update` command (#103)

* fixed  merge conflict related bugs

* feature/updateAllForBuilds

* PEP8 Fixes

* refactored old install.py into packtet.py as a pseudo packet manager for viur tools

* Ai generated Documentation

* refactoring and  documentation

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

---------

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Feature/gcloud functions (#98)

* fixed  merge conflict related bugs

* @wip shit

* @wip cloud function creation, deployment and disable backups

* implemented glcoud setup in viur cli

* fixed pep8 errors

* @wip: need to finalize SETUP and do PEP8 stuff

* refactored Role administration via viur cloud command

* added changelog and readme.md to the project

* bumped version to 2.0.0.dev3

* refinement of gcloud setup script

* Update src/viur_cli/cloud.py

Co-authored-by: Sven Eberth <mail@sveneberth.de>

* Update src/viur_cli/cloud.py

Co-authored-by: Sven Eberth <mail@sveneberth.de>

* Update src/viur_cli/cloud.py

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update src/viur_cli/cloud.py

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

---------

Co-authored-by: Sven Eberth <mail@sveneberth.de>
Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* changed github workflow

* new workflow file

* uodated vorkflows and version

* Renewed Docstrings and Helptexts (#110)

* documentation

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

---------

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Feature/indexfix (#111)

* clean indices

* clean indices and smaller bugfixes

* Update src/viur_cli/update.py

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

---------

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* One

* new rc

* updated setup.cfg

* Fixes for v2.0 (#112)

* Use correct argument name for profile

* Provide a "skip" option for vi/admin-decision

... and ask only once, when the project.json version is changed initially.

* Update src/viur_cli/conf.py

---------

Co-authored-by: Grashalmbeisser <57599830+Grashalmbeisser@users.noreply.github.com>

* added fixes

* typo fixes

* fixed broken deploy comand

* added default gcloud accounnt ptint for env

* fixed typo

* Update CHANGELOG.md

* added default gcloud accounnt print for env (#117)

* added default gcloud accounnt ptint for env

* fixed typo

* Update CHANGELOG.md

---------

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* release candidate

* fixed typo

* develop to default

* delete old format in default

* added format fixes in project.json

* bugfixes

* added cloud initiation deployment (#124)

* Feature/show changelog (#126)

* CLI shows changelog after update, on first run

* undid changes in cli.py

* renamed master to main

* added suggestions

* added chage suggestions

* redid changelog to show diff in main branches and tags

* fixed format

* added changelog and versioning

* feature/addedDeprecationWarnings (#132)

* added project json key rewriting and addition (#122)

* added project json key rewriting and addition

* deleted obsolete imports

* @wip generalize find key function

* fixed it

* bugfixed multiple core entries

* Apply suggestions from code review

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* added recommendations

* deleted comments

* deleted obsolete level in findkey

* resolved conflicts

---------

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* enforcing gcloud tool usage and LogIn (#135)

* enforcing gcloud tool usage and LogIn

* formatted file

* Added hints to saeveral viur-cli commands (#144)

* Update setup.cfg

Co-authored-by: Sven Eberth <mail@sveneberth.de>

* Bugfix/coreversion (#143)

* bugfix: project.json core on level0 breaks deployment

* refactor, deleted unused code

* removed project.json core usage completely

* removed obsolete comments

* fix: remove duplicate dependency definititions

---------

Co-authored-by: Sven Eberth <mail@sveneberth.de>
Co-authored-by: Jan Max Meyer <jmm@phorward.de>
akelch pushed a commit that referenced this pull request May 17, 2024
* deployment version name now extendable (#89)

Co-authored-by: Christos <ca@mausbrand.com>

* Feature/develop y (#90)

* edded acceptall flag for deployment

* redid comment

* PEP8 fixes

* deleted debug output

---------

Co-authored-by: Christos <ca@mausbrand.com>

* Fix/project.json (#88)

* changed projectConfig globaly to project_config

* @wip write delete method

* @wip: delte process

* fixed format from default.format, to just format

* new reformatting in conf.py for project.json format 1.2.0

* using lstrip instead of rege

* @wip viur install

* Project Config is now a singleton

* pycharm is about to crash

* env now shows Versions depending on builds

* new config usage in install.py and build.py

* @wip new config usage throughout the project

* added profile usage in all project.conf related functions

* format changes from project.json v1.1.1 to 2.0.0

* touch ups on project.json functionality

* added project.json example in readme.md

* version and changelog

* fixed typo

* readme.md does is not ugly anymore

* resolved PR suggestions

* fixed typo

---------

Co-authored-by: Christos <ca@mausbrand.com>

* fixed  merge conflict related bugs (#91)

Co-authored-by: Christos <ca@mausbrand.com>

* Deployment/v2.0.0dev (#94)

* fixed  merge conflict related bugs

* added tag

---------

Co-authored-by: Christos <ca@mausbrand.com>

* Deployment/v2.0.0dev (#95)

* fixed  merge conflict related bugs

* added tag

* typo in version string

---------

Co-authored-by: Christos <ca@mausbrand.com>

* Deployment/v2.0.0dev (#96)

* fixed  merge conflict related bugs

* added tag

* typo in version string

* test

---------

Co-authored-by: Christos <ca@mausbrand.com>

* feat: Add newline in `project.json` (#102)

* fixed  merge conflict related bugs

* added/trailingline

* Update src/viur_cli/conf.py

Co-authored-by: Sven Eberth <mail@sveneberth.de>

* refactore

---------

Co-authored-by: Sven Eberth <mail@sveneberth.de>

* feat: `viur install update` command (#103)

* fixed  merge conflict related bugs

* feature/updateAllForBuilds

* PEP8 Fixes

* refactored old install.py into packtet.py as a pseudo packet manager for viur tools

* Ai generated Documentation

* refactoring and  documentation

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

---------

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Feature/gcloud functions (#98)

* fixed  merge conflict related bugs

* @wip shit

* @wip cloud function creation, deployment and disable backups

* implemented glcoud setup in viur cli

* fixed pep8 errors

* @wip: need to finalize SETUP and do PEP8 stuff

* refactored Role administration via viur cloud command

* added changelog and readme.md to the project

* bumped version to 2.0.0.dev3

* refinement of gcloud setup script

* Update src/viur_cli/cloud.py

Co-authored-by: Sven Eberth <mail@sveneberth.de>

* Update src/viur_cli/cloud.py

Co-authored-by: Sven Eberth <mail@sveneberth.de>

* Update src/viur_cli/cloud.py

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update src/viur_cli/cloud.py

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

---------

Co-authored-by: Sven Eberth <mail@sveneberth.de>
Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* changed github workflow

* new workflow file

* uodated vorkflows and version

* Renewed Docstrings and Helptexts (#110)

* documentation

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Update README.md

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

---------

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* Feature/indexfix (#111)

* clean indices

* clean indices and smaller bugfixes

* Update src/viur_cli/update.py

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

---------

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* One

* new rc

* updated setup.cfg

* Fixes for v2.0 (#112)

* Use correct argument name for profile

* Provide a "skip" option for vi/admin-decision

... and ask only once, when the project.json version is changed initially.

* Update src/viur_cli/conf.py

---------

Co-authored-by: Grashalmbeisser <57599830+Grashalmbeisser@users.noreply.github.com>

* added fixes

* typo fixes

* fixed broken deploy comand

* added default gcloud accounnt ptint for env

* fixed typo

* Update CHANGELOG.md

* added default gcloud accounnt print for env (#117)

* added default gcloud accounnt ptint for env

* fixed typo

* Update CHANGELOG.md

---------

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* release candidate

* fixed typo

* develop to default

* delete old format in default

* added format fixes in project.json

* bugfixes

* added cloud initiation deployment (#124)

* Feature/show changelog (#126)

* CLI shows changelog after update, on first run

* undid changes in cli.py

* renamed master to main

* added suggestions

* added chage suggestions

* redid changelog to show diff in main branches and tags

* fixed format

* added changelog and versioning

* feature/addedDeprecationWarnings (#132)

* added project json key rewriting and addition (#122)

* added project json key rewriting and addition

* deleted obsolete imports

* @wip generalize find key function

* fixed it

* bugfixed multiple core entries

* Apply suggestions from code review

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* added recommendations

* deleted comments

* deleted obsolete level in findkey

* resolved conflicts

---------

Co-authored-by: Jan Max Meyer <jmm@phorward.de>

* enforcing gcloud tool usage and LogIn (#135)

* enforcing gcloud tool usage and LogIn

* formatted file

* Added hints to saeveral viur-cli commands (#144)

* Update setup.cfg

Co-authored-by: Sven Eberth <mail@sveneberth.de>

* Bugfix/coreversion (#143)

* bugfix: project.json core on level0 breaks deployment

* refactor, deleted unused code

* removed project.json core usage completely

* removed obsolete comments

* fix: remove duplicate dependency definititions

* dev release v2.0.1-dev1

* version change

* Feature/project conf version fix (#149)

* fix: Exit `check_req` if `core_requirements` is None (#137)

Otherwise the following statement crashes.

---

Steps to reproduce:
1. Install viur-core as editable
2. deploy app

* added version string failsafe

---------

Co-authored-by: Sven Eberth <mail@sveneberth.de>

* bumped cli version numbers

---------

Co-authored-by: Sven Eberth <mail@sveneberth.de>
Co-authored-by: Jan Max Meyer <jmm@phorward.de>
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.

None yet

2 participants