Skip to content

Commit af9b5ab

Browse files
authoredMar 10, 2025··
mv lifecycle to stand-alone directory (#5425)
* mv lifecycle to stand-alone directory * fix workflows * fix workflows Signed-off-by: ghostloda <78798447@qq.com> fix workflows * fix e2e workflows Signed-off-by: ghostloda <78798447@qq.com> * fix e2e workflows Signed-off-by: ghostloda <78798447@qq.com> * mv to lifecycle from root dir Signed-off-by: ghostloda <78798447@qq.com> * fix release workflows Signed-off-by: ghostloda <78798447@qq.com> * Move lifecycle-related script files to lifecycle Signed-off-by: ghostloda <78798447@qq.com> * Move to lifecycle Signed-off-by: ghostloda <78798447@qq.com> * fix lifecycle project ptah Signed-off-by: ghostloda <78798447@qq.com> * fix path ptah Signed-off-by: ghostloda <78798447@qq.com> * add lifecycle modules Signed-off-by: ghostloda <78798447@qq.com> * fix format Signed-off-by: ghostloda <78798447@qq.com> * fix format Signed-off-by: ghostloda <78798447@qq.com> --------- Signed-off-by: ghostloda <78798447@qq.com>
1 parent bd94480 commit af9b5ab

File tree

439 files changed

+30
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

439 files changed

+30
-24
lines changed
 

‎.github/workflows/check-coverage.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ on:
2222
env:
2323
# Common versions
2424
GO_VERSION: "1.20"
25+
PROJECT_PATH: "./lifecycle"
2526

2627
jobs:
2728
coverage:
@@ -39,7 +40,7 @@ jobs:
3940
run: sudo apt update && sudo apt install -y libgpgme-dev libbtrfs-dev libdevmapper-dev
4041

4142
- name: Run Coverage
42-
run: make coverage
43+
run: cd ${{ env.PROJECT_PATH }} && make coverage
4344

4445
- name: Upload Coverage to Codecov
4546
uses: codecov/codecov-action@v3

‎.github/workflows/check-format-code.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ on:
2222
env:
2323
# Common versions
2424
GO_VERSION: "1.23"
25+
PROJECT_PATH: "./lifecycle"
2526

2627
jobs:
2728
format-code:
@@ -39,7 +40,7 @@ jobs:
3940
go-version: ${{ env.GO_VERSION }}
4041

4142
- name: Format Code
42-
run: make format
43+
run: cd ${{ env.PROJECT_PATH }} && make format
4344

4445
- name: Commit Changes
4546
uses: stefanzweifel/git-auto-commit-action@v4

0 commit comments

Comments
 (0)
Please sign in to comment.