Skip to content

Commit

Permalink
for test
Browse files Browse the repository at this point in the history
  • Loading branch information
hudeng-go committed Jul 5, 2024
1 parent 6eef89a commit eda196a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/01-parsec-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ jobs:
return component
try:
components = ["main", "dde", "community"]
components = ["main", "dde", "community", "commercial"]
allBuildTasks = [{"component": j,"data":{"payload": []}} for j in components]
data = read_integration()
Expand All @@ -222,8 +222,8 @@ jobs:
component_index = 1
if component == "community":
component_index = 2
if component == "commercial":
component_index = 3
if component == "commercial":
component_index = 3
print("component: %s" % component)
tagsha = repo.get('tagsha', "")
tag = repo.get('tag', "")
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/02-build-obs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
if [ "$COMPONENT" = "commercial" ]; then
echo "commercial package, need use private git ssh address!!!"
new_content=' <param name="url">$GITADDR</param>'
sed -i "3c ${new_content}" _service.xml
sed -i "3c ${new_content}" _service
echo "commercial package, disable build source!!!"
echo "exec dpkg-buildpackage -us -uc --build=any,all \"\$@\"" > build.script
curl -X PUT -u golf66:$OSCPASS -d @build.script -s "$uploadurl/build.script"
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/auto-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ env:

jobs:
parsec_integration:
uses: deepin-community/Repository-Integration/.github/workflows/01-parsec-integration.yml@master
uses: peeweep-test/Repository-Integration/.github/workflows/01-parsec-integration.yml@master

ouput_message:
name: output integration
needs: parsec_integration
if: ${{ github.event.pull_request.head.sha }}
uses: deepin-community/Repository-Integration/.github/workflows/02-integration-output.yml@master
uses: peeweep-test/Repository-Integration/.github/workflows/02-integration-output.yml@master

build_project_prepare:
name: build project prepare
Expand All @@ -37,7 +37,7 @@ jobs:
set -x
result=$(curl -u golf66:$OSCPASS "https://build.deepin.com/source/deepin:CI:TestingIntegration:$TOPIC/_meta"|grep "unknown_project")
if [ "$result" != "" ];then
curl -o meta.xml https://raw.githubusercontent.com/deepin-community/Repository-Integration/master/.github/workflows/obs-proj-meta.tpl
curl -o meta.xml https://raw.githubusercontent.com/peeweep-test/Repository-Integration/master/.github/workflows/obs-proj-meta.tpl
sed -i "s#TOPIC#${TOPIC}#g" meta.xml
curl -X PUT -u golf66:$OSCPASS -H "Content-type: text/xml" -d @meta.xml "https://build.deepin.com/source/deepin:CI:TestingIntegration:$TOPIC/_meta"
fi
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
(needs.build_community.result == 'success' || needs.build_community.result == 'skipped') &&
(needs.build_commercial.result == 'success' || needs.build_commercial.result == 'skipped') &&
needs.wait_build_pending_status.result == 'success'
uses: deepin-community/Repository-Integration/.github/workflows/issue-project-manager.yml@master
uses: peeweep-test/Repository-Integration/.github/workflows/issue-project-manager.yml@master
secrets: inherit
with:
repo: linuxdeepin/developer-center
Expand All @@ -207,7 +207,7 @@ jobs:
- ouput_message
- build_project_prepare
- create_issue_link_project
uses: deepin-community/Repository-Integration/.github/workflows/04-auto-test.yml@master
uses: peeweep-test/Repository-Integration/.github/workflows/04-auto-test.yml@master
if: |
always() && !cancelled() &&
(needs.create_issue_link_project.result == 'success')
Expand All @@ -225,7 +225,7 @@ jobs:
if: |
always() && !cancelled() &&
(needs.pass_integration.result == 'success')
uses: deepin-community/Repository-Integration/.github/workflows/06-deployed.yml@master
uses: peeweep-test/Repository-Integration/.github/workflows/06-deployed.yml@master
secrets: inherit
with:
integrations: ${{ needs.parsec_integration.outputs.all_build_task }}
Expand All @@ -240,7 +240,7 @@ jobs:
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.parsec_integration.outputs.build_matrix_main) }}
uses: deepin-community/Repository-Integration/.github/workflows/02-build-obs.yml@master
uses: peeweep-test/Repository-Integration/.github/workflows/02-build-obs.yml@master
secrets: inherit
with:
repo: ${{ matrix.payload.repo }}
Expand All @@ -257,7 +257,7 @@ jobs:
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.parsec_integration.outputs.build_matrix_dde) }}
uses: deepin-community/Repository-Integration/.github/workflows/02-build-obs.yml@master
uses: peeweep-test/Repository-Integration/.github/workflows/02-build-obs.yml@master
secrets: inherit
with:
repo: ${{ matrix.payload.repo }}
Expand All @@ -275,7 +275,7 @@ jobs:
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.parsec_integration.outputs.build_matrix_community) }}
uses: deepin-community/Repository-Integration/.github/workflows/02-build-obs.yml@master
uses: peeweep-test/Repository-Integration/.github/workflows/02-build-obs.yml@master
secrets: inherit
with:
repo: ${{ matrix.payload.repo }}
Expand All @@ -292,8 +292,8 @@ jobs:
- build_project_prepare
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.parsec_integration.outputs.build_matrix_ccommercial) }}
uses: deepin-community/Repository-Integration/.github/workflows/02-build-obs.yml@master
matrix: ${{ fromJson(needs.parsec_integration.outputs.build_matrix_commercial) }}
uses: peeweep-test/Repository-Integration/.github/workflows/02-build-obs.yml@master
secrets: inherit
with:
repo: ${{ matrix.payload.repo }}
Expand Down

0 comments on commit eda196a

Please sign in to comment.