Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
eepm
Commits
6c45f72e
Commit
6c45f72e
authored
Sep 05, 2025
by
Ivan Mazhukin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm ci: add publishing ver for apps
parent
d3f1b509
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
7 deletions
+28
-7
gen-ci.sh
gen-ci.sh
+28
-7
No files found.
gen-ci.sh
View file @
6c45f72e
...
...
@@ -7,14 +7,11 @@ echo " - test"
echo
""
if
[
"$#"
-gt
0
]
;
then
# Run changed app
apps
=(
"
$@
"
)
apps
=(
"
$@
"
)
# only changed apps
else
# Run all (regular testing)
apps
=
$(
./bin/epmp
--short
2>/dev/null
||
true
)
apps
=
$(
./bin/epmp
--short
2>/dev/null
||
true
)
# all
fi
for
app
in
$apps
;
do
job_name
=
"test_
${
app
//[^a-zA-Z0-9_]/_
}
"
echo
"
${
job_name
}
:"
...
...
@@ -25,7 +22,31 @@ for app in $apps; do
echo
" script:"
echo
" - cd bin"
echo
" - ./epmu"
echo
" - ./epmi -y wget glibc-pthread"
echo
" - ./epm play --auto --verbose --ipfs
$app
"
echo
" - ./epmi -y wget glibc-pthread git kubo coreutils"
echo
" - export LOGDIR=
\"\$
CI_PROJECT_DIR
\"
"
echo
" - mkdir -p
\"\$
CI_PROJECT_DIR/epm-play-versions
\"
\"\$
CI_PROJECT_DIR/epm-errors
\"
\"\$
CI_PROJECT_DIR/epm-logs
\"
\"\$
CI_PROJECT_DIR/epm-requires
\"
"
echo
" - export EGET_IPFS_FORCE_LOAD=1"
echo
" - export EPM_IPFS_DB_UPDATE_SKIPPING=1"
echo
" - export EGET_IPFS_API=/ip4/91.232.225.49/tcp/5001"
echo
" - EPM=
\$
(pwd)/epm bash ../tests/update_versions.sh --ipfs --force --slow
\"
$app
\"
"
echo
" - |"
echo
" PKG=
\$
(./epm play --package-name
\"
$app
\"
)"
echo
" VF=
\"\$
CI_PROJECT_DIR/epm-play-versions/
\$
PKG
\"
"
echo
" if [ ! -s
\"\$
VF
\"
]; then"
echo
" TMP=
\$
(mktemp)"
echo
" if ./epm print version for package
\"\$
PKG
\"
>
\"\$
TMP
\"
2>>
\"\$
CI_PROJECT_DIR/epm-errors/
\$
PKG
\"
; then"
echo
" if [ -s
\"\$
TMP
\"
]; then mv -f
\"\$
TMP
\"
\"\$
VF
\"
; else rm -f
\"\$
TMP
\"
; fi"
echo
" else"
echo
" rm -f
\"\$
TMP
\"
"
echo
" fi"
echo
" fi"
echo
" artifacts:"
echo
" when: always"
echo
" expire_in: 2 days"
echo
" paths:"
echo
" -
\$
CI_PROJECT_DIR/epm-play-versions"
echo
" -
\$
CI_PROJECT_DIR/epm-errors"
echo
" -
\$
CI_PROJECT_DIR/epm-logs"
echo
" -
\$
CI_PROJECT_DIR/epm-requires"
echo
""
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment