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
38a1f1e2
Commit
38a1f1e2
authored
Jul 21, 2025
by
Ivan Mazhukin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm gitlab CI: add commit's test (eterbug #18412)
parent
fafdfd40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
9 deletions
+28
-9
.gitlab-ci.yml
.gitlab-ci.yml
+28
-9
No files found.
.gitlab-ci.yml
View file @
38a1f1e2
stages
:
scheduled_ci
:
-
build
generate_ci
:
stage
:
build
stage
:
build
tags
:
tags
:
-
access
-
access
script
:
script
:
-
apt-get update && apt-get install -y git wget
-
apt-get update && apt-get install -y git wget
-
bash gen-ci.sh > .gitlab-ci.yml
-
bash gen-ci.sh > .gitlab-ci.yml
...
@@ -12,9 +9,31 @@ generate_ci:
...
@@ -12,9 +9,31 @@ generate_ci:
-
git config user.email "ci@etersoft.ru"
-
git config user.email "ci@etersoft.ru"
-
git checkout -B ci-generated
-
git checkout -B ci-generated
-
git add .gitlab-ci.yml
-
git add .gitlab-ci.yml
-
git commit -m "update gitlab-ci.yml from epmp list"
-
git commit -m "update gitlab-ci.yml from epmp list"
--allow-empty
-
git remote set-url origin https://vanomj:$CI_PUSH_TOKEN@gitlab.eterfund.ru/vanomj/eepm.git
-
git remote set-url origin https://vanomj:$CI_PUSH_TOKEN@gitlab.eterfund.ru/vanomj/eepm.git
-
git push -f origin ci-generated
-
git push -f origin ci-generated
only
:
only
:
refs
:
-
schedules
-
schedules
\ No newline at end of file
generate_ci
:
stage
:
build
tags
:
-
access
script
:
-
|
if git diff --name-only origin/devel | grep -E '^(pack|play|repack)\.d/'; then
echo "Changes in play.d/ or pack.d/ found, regenerating..."
apt-get update && apt-get install -y git wget
bash gen-ci.sh > .gitlab-ci.yml
git config user.name "CI Bot"
git config user.email "ci@etersoft.ru"
git checkout -B ci-generated
git add .gitlab-ci.yml
git commit -m "update gitlab-ci.yml from epmp list" --allow-empty
git remote set-url origin https://vanomj:$CI_PUSH_TOKEN@gitlab.eterfund.ru/vanomj/eepm.git
git push -f origin ci-generated
else
echo "No relevant changes in play.d/, pack.d/, or repack.d/. Skipping."
fi
only
:
-
devel
\ No newline at end of file
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