-
Notifications
You must be signed in to change notification settings - Fork 48
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 Kyma config from kyma-dashboard #3321
Conversation
Skipping CI for Draft Pull Request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check dockerigonre
kyma-envs/package.json
Outdated
"prepare-all-dev": "ENV=dev npm run prepare-extensions && ENV=dev npm run pack-extensions && ENV=dev npm run prepare-wizards && ENV=dev npm run pack-wizards && ENV=dev npm run prepare-statics && ENV=dev npm run pack-statics", | ||
"prepare-all-stage": "ENV=stage npm run prepare-extensions && ENV=stage npm run pack-extensions && ENV=stage npm run prepare-wizards && ENV=stage npm run pack-wizards && ENV=stage npm run prepare-statics && ENV=stage npm run pack-statics", | ||
"prepare-all-prod": "ENV=prod npm run prepare-extensions && ENV=prod npm run pack-extensions && ENV=prod npm run prepare-wizards && ENV=prod npm run pack-wizards && ENV=prod npm run prepare-statics && ENV=prod npm run pack-statics", | ||
"clean-all": "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"clean-all": "" |
branches: | ||
- main | ||
paths: | ||
- ".github/workflows/busola-web-build.yml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be kyma-web
pull_request_target: | ||
types: [opened, edited, synchronize, reopened, ready_for_review] | ||
paths: | ||
- ".github/workflows/busola-kyma-web-build.yml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be kyma-web
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's
kyma/package.json
Outdated
"prepare-all-dev": "ENV=dev npm run prepare-extensions && ENV=dev npm run pack-extensions && ENV=dev npm run prepare-wizards && ENV=dev npm run pack-wizards && ENV=dev npm run prepare-statics && ENV=dev npm run pack-statics", | ||
"prepare-all-stage": "ENV=stage npm run prepare-extensions && ENV=stage npm run pack-extensions && ENV=stage npm run prepare-wizards && ENV=stage npm run pack-wizards && ENV=stage npm run prepare-statics && ENV=stage npm run pack-statics", | ||
"prepare-all-prod": "ENV=prod npm run prepare-extensions && ENV=prod npm run pack-extensions && ENV=prod npm run prepare-wizards && ENV=prod npm run pack-wizards && ENV=prod npm run prepare-statics && ENV=prod npm run pack-statics", | ||
"clean-all": "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"clean-all": "" |
kyma/package.json
Outdated
"pack-wizards": "gulp pack-wizards", | ||
"prepare-wizards": "gulp clean-wizards && gulp get-wizards", | ||
"lint-fix": "prettier --config ./.prettierrc --write '**/*.{ts,tsx,js,jsx,json,html,css,yaml,md}' --ignore-path ./.prettierignore", | ||
"prepare-all-dev": "ENV=dev npm run prepare-extensions && ENV=dev npm run pack-extensions && ENV=dev npm run prepare-wizards && ENV=dev npm run pack-wizards && ENV=dev npm run prepare-statics && ENV=dev npm run pack-statics", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"prepare-all-dev": "ENV=dev npm run prepare-extensions && ENV=dev npm run pack-extensions && ENV=dev npm run prepare-wizards && ENV=dev npm run pack-wizards && ENV=dev npm run prepare-statics && ENV=dev npm run pack-statics", | |
"prepare-extensibility-dev": "ENV=dev npm run prepare-extensions && ENV=dev npm run pack-extensions && ENV=dev npm run prepare-wizards && ENV=dev npm run pack-wizards && ENV=dev npm run prepare-statics && ENV=dev npm run pack-statics", |
kyma/package.json
Outdated
{ | ||
"name": "kyma-dashboard", | ||
"version": "1.0.0", | ||
"description": "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"description": "", |
kyma/environments/dev/env.sh
Outdated
export WEB_IMAGE=v20240808-1bae12fe | ||
export BACKEND_IMAGE=v20240719-f64157c5 | ||
export LOCAL_IMAGE=v20240808-1bae12fe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably that's unnecessary with this flow
kyma/.gitignore
Outdated
@@ -0,0 +1,5 @@ | |||
build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
build |
kyma/Makefile
Outdated
prepare-all-dev: | ||
npm run prepare-extensibility-dev | ||
ENV=dev make copy-config | ||
prepare-all-stage: | ||
npm run prepare-extensibility-stage | ||
ENV=stage make copy-config | ||
prepare-all-prod: | ||
npm run prepare-extensibility-prod | ||
ENV=prod make copy-config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll suggest to rename it, because prepare-all
is suggesting, that after running this command, I have busola running, but it's only for whole configuration (extensibility + config)
prepare-all-dev: | |
npm run prepare-extensibility-dev | |
ENV=dev make copy-config | |
prepare-all-stage: | |
npm run prepare-extensibility-stage | |
ENV=stage make copy-config | |
prepare-all-prod: | |
npm run prepare-extensibility-prod | |
ENV=prod make copy-config | |
prepare-configuration-dev: | |
npm run prepare-extensibility-dev | |
ENV=dev make copy-config | |
prepare-configuration-stage: | |
npm run prepare-extensibility-stage | |
ENV=stage make copy-config | |
prepare-configuration-prod: | |
npm run prepare-extensibility-prod | |
ENV=prod make copy-config |
@@ -0,0 +1,113 @@ | |||
apiVersion: operator.kyma-project.io/v1beta2 | |||
kind: ModuleTemplate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that these files are currently necessary, because it's only for testing part, and should be in tests
directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now I moved them to tests/kyma
. Then those files will be adjusted when adding integration tests
@@ -0,0 +1,116 @@ | |||
apiVersion: operator.kyma-project.io/v1beta2 | |||
kind: ModuleTemplate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
@@ -0,0 +1,116 @@ | |||
apiVersion: operator.kyma-project.io/v1beta2 | |||
kind: ModuleTemplate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Changes proposed in this pull request:
kyma-dashboard
Related issue(s)
#3298
Definition of done
backlog#4567