KusionStack / konfig

Shared repository of application models and components, and CI suite for GitOps workflows
Apache License 2.0
27 stars 32 forks source link

support dependency analysis in CI #16

Closed amyXia1994 closed 2 years ago

amyXia1994 commented 2 years ago

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

fix #24

2. What is the scope of this PR (e.g. component or file name):

.github/workflow/main.yml hack/test_config.py hack/ver hack/lib/utils.py

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

this PR supports dependency analysis in konfig ci pipeline. Only projects/stacks affected by the changed files will be tested and checked to save time.

Here's an example of a ci pipeline that's triggered by the change of base/pkg/kusion_models/kube/frontend/server.k: https://github.com/KusionStack/konfig/actions/runs/2859662619 and here's an example about file changing barely under specific stack: https://github.com/KusionStack/konfig/actions/runs/2859947818

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

the example cases of this PR have been shown above.

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

None
github-actions[bot] commented 2 years ago

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

amyXia1994 commented 2 years ago

I have read the CLA Document and I hereby sign the CLA