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
1
Merge Requests
1
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
etersoft
eepm
Commits
5e1613e3
Commit
5e1613e3
authored
Feb 06, 2026
by
Ivan Mazhukin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm ci: get old commits before new in branches; fix push error
parent
d564cd47
Pipeline
#16932
passed with stage
in 16 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
+16
-7
push-ipfs-db.sh
ci/push-ipfs-db.sh
+8
-4
push-results-ci.sh
ci/push-results-ci.sh
+8
-3
No files found.
ci/push-ipfs-db.sh
View file @
5e1613e3
...
...
@@ -17,9 +17,14 @@ if [ ! -f "ipfs/eget-ipfs-db.txt" ]; then
exit
1
fi
# clone repo
git clone
"
$IPFS_REPO_URL
"
"
$WORKDIR
"
cd
"
$WORKDIR
"
# Clone target branch if exists, otherwise clone default and create new branch
if
git clone
-b
"
${
EPM_VERSION
}
"
"
$IPFS_REPO_URL
"
"
$WORKDIR
"
2>/dev/null
;
then
cd
"
$WORKDIR
"
else
git clone
"
$IPFS_REPO_URL
"
"
$WORKDIR
"
cd
"
$WORKDIR
"
git checkout
-b
"
${
EPM_VERSION
}
"
fi
# git setup
git config user.name
"Builder Robot"
...
...
@@ -51,7 +56,6 @@ git commit -m "IPFS DB update (pipeline $CI_PIPELINE_ID)" || {
# push to version branch
git remote set-url origin
"https://builder-robot:
${
CI_PUSH_TOKEN
}
@gitlab.eterfund.ru/etersoft/epm-play-ci-results.git"
git checkout
-b
"
${
EPM_VERSION
}
"
git push origin
"
${
EPM_VERSION
}
"
2>/dev/null
echo
"=== IPFS DB and download log's published ==="
ci/push-results-ci.sh
View file @
5e1613e3
...
...
@@ -17,8 +17,14 @@ if [ "$RESULTS_DIR" != "epm-results" ]; then
META_DIR
=
"
${
RESULTS_DIR
}
/meta"
fi
git clone
"
$RESULTS_REPO_URL
"
"
$WORKDIR
"
cd
"
$WORKDIR
"
# Clone target branch if exists, otherwise clone default and create new branch
if
git clone
-b
"
${
EPM_VERSION
}
"
"
$RESULTS_REPO_URL
"
"
$WORKDIR
"
2>/dev/null
;
then
cd
"
$WORKDIR
"
else
git clone
"
$RESULTS_REPO_URL
"
"
$WORKDIR
"
cd
"
$WORKDIR
"
git checkout
-b
"
${
EPM_VERSION
}
"
fi
# git configuration
git config user.name
"Builder Robot"
...
...
@@ -46,5 +52,4 @@ git commit -m "CI results (${RESULTS_LABEL}): pipeline $CI_PIPELINE_ID" || {
# push to version branch
git remote set-url origin
"https://builder-robot:
${
CI_PUSH_TOKEN
}
@gitlab.eterfund.ru/etersoft/epm-play-ci-results.git"
git checkout
-b
"
${
EPM_VERSION
}
"
git push origin
"
${
EPM_VERSION
}
"
2>/dev/null
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