Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
boinc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
einsteinathome
boinc
Commits
8d627098
Unverified
Commit
8d627098
authored
2 months ago
by
Vitalii Koshura
Committed by
GitHub
2 months ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #6128 from BOINC/vko_simplify_artifacts_upload
[ci] simplify artifacts upload
parents
126bf31b
05ce8fca
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/android.yml
+4
-7
4 additions, 7 deletions
.github/workflows/android.yml
.github/workflows/snap.yml
+1
-5
1 addition, 5 deletions
.github/workflows/snap.yml
deploy/prepare_deployment.py
+2
-34
2 additions, 34 deletions
deploy/prepare_deployment.py
with
7 additions
and
46 deletions
.github/workflows/android.yml
+
4
−
7
View file @
8d627098
...
@@ -162,22 +162,19 @@ jobs:
...
@@ -162,22 +162,19 @@ jobs:
name
:
android_logs_manager_${{ github.event.pull_request.head.sha }}
name
:
android_logs_manager_${{ github.event.pull_request.head.sha }}
path
:
deploy/logs.7z
path
:
deploy/logs.7z
-
name
:
Prepare artifacts for deploy
run
:
python ./deploy/prepare_deployment.py android_manager
-
name
:
Upload generic artifacts
-
name
:
Upload generic artifacts
uses
:
actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
uses
:
actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
if
:
${{ matrix.task == 'assembleRelease' }}
if
:
${{ matrix.task == 'assembleRelease' }}
with
:
with
:
name
:
android_manager_${{ github.event.pull_request.head.sha }}
name
:
android_manager_${{ github.event.pull_request.head.sha }}
path
:
deploy/android_manager.7z
path
:
android/BOINC/app/build/outputs/apk/release/app-release-unsigned.apk
-
name
:
Upload armv6 only manager
-
name
:
Upload armv6 only manager
uses
:
actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
uses
:
actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
if
:
${{ matrix.task == 'assembleArmv6_release' }}
if
:
${{ matrix.task == 'assembleArmv6_release' }}
with
:
with
:
name
:
android_armv6_manager_${{ github.event.pull_request.head.sha }}
name
:
android_armv6_manager_${{ github.event.pull_request.head.sha }}
path
:
deploy/android_manager_armv6.7z
path
:
android/BOINC/app/build/outputs/apk/armv6_release/app-armv6_release-unsigned.apk
-
name
:
Upload JUnit Tests Results
-
name
:
Upload JUnit Tests Results
uses
:
actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
uses
:
actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
...
@@ -255,12 +252,12 @@ jobs:
...
@@ -255,12 +252,12 @@ jobs:
path
:
deploy/logs.7z
path
:
deploy/logs.7z
-
name
:
Prepare artifacts for deploy
-
name
:
Prepare artifacts for deploy
if
:
${{ success() &&
! contains(
matrix.type
, 'lib
s'
)
}}
if
:
${{ success() && matrix.type
== 'app
s' }}
run
:
python ./deploy/prepare_deployment.py android_${{ matrix.type }}
run
:
python ./deploy/prepare_deployment.py android_${{ matrix.type }}
-
name
:
Upload generic artifacts
-
name
:
Upload generic artifacts
uses
:
actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
uses
:
actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
if
:
${{
! contains(
matrix.type
, 'lib
s'
)
}}
if
:
${{
success() &&
matrix.type
== 'app
s' }}
with
:
with
:
name
:
android_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
name
:
android_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path
:
deploy/android_${{ matrix.type }}.7z
path
:
deploy/android_${{ matrix.type }}.7z
This diff is collapsed.
Click to expand it.
.github/workflows/snap.yml
+
1
−
5
View file @
8d627098
...
@@ -148,13 +148,9 @@ jobs:
...
@@ -148,13 +148,9 @@ jobs:
snap
:
${{ matrix.snap_file }}
snap
:
${{ matrix.snap_file }}
release
:
beta
release
:
beta
-
name
:
Prepare artifacts for deploy
if
:
success()
run
:
python ./deploy/prepare_deployment.py linux_snap
-
name
:
Upload artifacts
-
name
:
Upload artifacts
uses
:
actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
uses
:
actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
if
:
success()
if
:
success()
with
:
with
:
name
:
linux_snap_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
name
:
linux_snap_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path
:
deploy/linux_
snap
.7z
path
:
boinc_*.
snap
This diff is collapsed.
Click to expand it.
deploy/prepare_deployment.py
+
2
−
34
View file @
8d627098
# This file is part of BOINC.
# This file is part of BOINC.
# http://boinc.berkeley.edu
# http
s
://boinc.berkeley.edu
# Copyright (C) 202
4
University of California
# Copyright (C) 202
5
University of California
#
#
# BOINC is free software; you can redistribute it and/or modify it
# BOINC is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License
# under the terms of the GNU Lesser General Public License
...
@@ -81,16 +81,6 @@ mingw_apps_vcpkg_list = [
...
@@ -81,16 +81,6 @@ mingw_apps_vcpkg_list = [
'
./samples/docker_wrapper/docker_wrapper.exe
'
,
'
./samples/docker_wrapper/docker_wrapper.exe
'
,
]
]
android_manager_generic_list
=
[
'
./android/BOINC/app/build/outputs/apk/debug/app-debug.apk
'
,
'
./android/BOINC/app/build/outputs/apk/release/app-release-unsigned.apk
'
]
android_manager_armv6_list
=
[
'
./android/BOINC/app/build/outputs/apk/armv6_debug/app-armv6_debug.apk
'
,
'
./android/BOINC/app/build/outputs/apk/armv6_release/app-armv6_release-unsigned.apk
'
]
android_apps_list
=
[
android_apps_list
=
[
# boinc_gahp
# boinc_gahp
'
./samples/condor/android_armv6_boinc_gahp
'
,
'
./samples/condor/android_armv6_boinc_gahp
'
,
...
@@ -240,10 +230,6 @@ wasm_client_debug_folder_list = [
...
@@ -240,10 +230,6 @@ wasm_client_debug_folder_list = [
'
client/boinc_client.wasm
'
,
'
client/boinc_client.wasm
'
,
]
]
snap_list
=
[
'
./boinc_*.snap
'
,
]
macos_manager_list
=
[
macos_manager_list
=
[
'
mac_build/build/Deployment/AddRemoveUser
'
,
'
mac_build/build/Deployment/AddRemoveUser
'
,
'
mac_build/build/Deployment/BOINC\ Installer.app
'
,
'
mac_build/build/Deployment/BOINC\ Installer.app
'
,
...
@@ -355,20 +341,9 @@ def prepare_win_apps_mingw(target_directory):
...
@@ -355,20 +341,9 @@ def prepare_win_apps_mingw(target_directory):
def
prepare_win_apps_mingw_vcpkg
(
target_directory
):
def
prepare_win_apps_mingw_vcpkg
(
target_directory
):
prepare_7z_archive
(
'
win_apps-mingw-vcpkg
'
,
target_directory
,
mingw_apps_vcpkg_list
)
prepare_7z_archive
(
'
win_apps-mingw-vcpkg
'
,
target_directory
,
mingw_apps_vcpkg_list
)
def
prepare_android_manager
(
target_directory
):
prepare_7z_archive
(
'
android_manager
'
,
target_directory
,
android_manager_generic_list
)
prepare_7z_archive
(
'
android_manager_armv6
'
,
target_directory
,
android_manager_armv6_list
)
def
prepare_android_manager_vcpkg
(
target_directory
):
prepare_7z_archive
(
'
android_manager-vcpkg
'
,
target_directory
,
android_manager_generic_list
)
prepare_7z_archive
(
'
android_manager-vcpkg_armv6
'
,
target_directory
,
android_manager_armv6_list
)
def
prepare_android_apps
(
target_directory
):
def
prepare_android_apps
(
target_directory
):
prepare_7z_archive
(
'
android_apps
'
,
target_directory
,
android_apps_list
)
prepare_7z_archive
(
'
android_apps
'
,
target_directory
,
android_apps_list
)
def
prepare_android_apps_vcpkg
(
target_directory
):
prepare_7z_archive
(
'
android_apps-vcpkg
'
,
target_directory
,
android_apps_list
)
def
prepare_win_apps
(
target_directory
):
def
prepare_win_apps
(
target_directory
):
prepare_7z_archive
(
'
win_apps
'
,
target_directory
,
windows_apps_list
)
prepare_7z_archive
(
'
win_apps
'
,
target_directory
,
windows_apps_list
)
...
@@ -387,9 +362,6 @@ def prepare_wasm_client(target_directory):
...
@@ -387,9 +362,6 @@ def prepare_wasm_client(target_directory):
def
prepare_wasm_client_debug
(
target_directory
):
def
prepare_wasm_client_debug
(
target_directory
):
prepare_7z_archive
(
'
wasm_client-debug
'
,
target_directory
,
wasm_client_debug_folder_list
)
prepare_7z_archive
(
'
wasm_client-debug
'
,
target_directory
,
wasm_client_debug_folder_list
)
def
prepare_linux_snap
(
target_directory
):
prepare_7z_archive
(
'
linux_snap
'
,
target_directory
,
snap_list
)
def
prepare_macos_apps
(
target_directory
):
def
prepare_macos_apps
(
target_directory
):
prepare_7z_archive
(
'
macos_manager
'
,
target_directory
,
macos_manager_list
)
prepare_7z_archive
(
'
macos_manager
'
,
target_directory
,
macos_manager_list
)
prepare_7z_archive
(
'
macos_apps
'
,
target_directory
,
macos_apps_list
)
prepare_7z_archive
(
'
macos_apps
'
,
target_directory
,
macos_apps_list
)
...
@@ -414,17 +386,13 @@ boinc_types = {
...
@@ -414,17 +386,13 @@ boinc_types = {
'
linux_manager-without-webview
'
:
prepare_linux_manager_without_webview
,
'
linux_manager-without-webview
'
:
prepare_linux_manager_without_webview
,
'
win_apps-mingw
'
:
prepare_win_apps_mingw
,
'
win_apps-mingw
'
:
prepare_win_apps_mingw
,
'
win_apps-mingw-vcpkg
'
:
prepare_win_apps_mingw_vcpkg
,
'
win_apps-mingw-vcpkg
'
:
prepare_win_apps_mingw_vcpkg
,
'
android_manager
'
:
prepare_android_manager
,
'
android_manager-vcpkg
'
:
prepare_android_manager_vcpkg
,
'
android_apps
'
:
prepare_android_apps
,
'
android_apps
'
:
prepare_android_apps
,
'
android_apps-vcpkg
'
:
prepare_android_apps_vcpkg
,
'
win_apps
'
:
prepare_win_apps
,
'
win_apps
'
:
prepare_win_apps
,
'
win_client
'
:
prepare_win_client
,
'
win_client
'
:
prepare_win_client
,
'
win_manager
'
:
prepare_win_manager
,
'
win_manager
'
:
prepare_win_manager
,
'
win_installer
'
:
prepare_win_installer
,
'
win_installer
'
:
prepare_win_installer
,
'
wasm_client
'
:
prepare_wasm_client
,
'
wasm_client
'
:
prepare_wasm_client
,
'
wasm_client-debug
'
:
prepare_wasm_client_debug
,
'
wasm_client-debug
'
:
prepare_wasm_client_debug
,
'
linux_snap
'
:
prepare_linux_snap
,
'
macos_manager
'
:
prepare_macos_apps
,
'
macos_manager
'
:
prepare_macos_apps
,
'
macos_samples-makefile
'
:
prepare_macos_makefile_apps
,
'
macos_samples-makefile
'
:
prepare_macos_makefile_apps
,
'
logs
'
:
prepare_logs
,
'
logs
'
:
prepare_logs
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment