Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Firmware
Manage
Activity
Members
Labels
Plan
Issues
22
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Firmware-Developer
Firmware
Commits
aa037c5b
Commit
aa037c5b
authored
2 years ago
by
Stephan
Browse files
Options
Downloads
Patches
Plain Diff
gitlabci-fixes
parent
5f4581ff
No related branches found
Branches containing commit
Tags
TESTING_FIRMWARE_8.0.2
Tags containing commit
No related merge requests found
Pipeline
#2227
passed with stages
Stage:
Stage:
Stage:
Stage:
in 1 hour, 44 minutes, and 44 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gitlab-ci/m3runner-master.yml
+18
-21
18 additions, 21 deletions
gitlab-ci/m3runner-master.yml
gitlab-ci/m3runner-tags.yml
+1
-0
1 addition, 0 deletions
gitlab-ci/m3runner-tags.yml
with
19 additions
and
21 deletions
gitlab-ci/m3runner-master.yml
+
18
−
21
View file @
aa037c5b
...
...
@@ -27,7 +27,7 @@ m3:init:
-
test "${FF_GITLAB_REMOVE_WORKDIR}" = "1" && rm -rf ~/mycache/workdir/*
-
/bin/true
tags
:
-
m3runner
-
m3runner
m3:ar71xx.tiny.lowmem
:
only
:
...
...
@@ -39,7 +39,7 @@ m3:ar71xx.tiny.lowmem:
-
ln -s ~/mycache/workdir
-
./build.sh ar71xx.tiny.lowmem rerun -j"$(( $(nproc) + 1))"
tags
:
-
m3runner
-
m3runner
m3:ar71xx.generic.lowmem
:
only
:
...
...
@@ -51,7 +51,7 @@ m3:ar71xx.generic.lowmem:
-
ln -s ~/mycache/workdir
-
./build.sh ar71xx.generic.lowmem rerun -j"$(( $(nproc) + 1))"
tags
:
-
m3runner
-
m3runner
m3:x86.64.offloader
:
only
:
...
...
@@ -63,7 +63,7 @@ m3:x86.64.offloader:
-
ln -s ~/mycache/workdir
-
./build.sh x86.64.offloader rerun -j"$(( $(nproc) + 1))"
tags
:
-
m3runner
-
m3runner
m3:ramips
:
only
:
...
...
@@ -75,7 +75,7 @@ m3:ramips:
-
ln -s ~/mycache/workdir
-
./build.sh ramips.* rerun -j"$(( $(nproc) + 1))"
tags
:
-
m3runner
-
m3runner
m3:ipq40xx
:
only
:
...
...
@@ -87,7 +87,7 @@ m3:ipq40xx:
-
ln -s ~/mycache/workdir
-
./build.sh ipq40xx.generic.* rerun -j"$(( $(nproc) + 1))"
tags
:
-
m3runner
-
m3runner
m3:lantiq
:
only
:
...
...
@@ -99,7 +99,7 @@ m3:lantiq:
-
ln -s ~/mycache/workdir
-
./build.sh lantiq.* rerun -j"$(( $(nproc) + 1))"
tags
:
-
m3runner
-
m3runner
m3:ath79
:
only
:
...
...
@@ -111,7 +111,7 @@ m3:ath79:
-
ln -s ~/mycache/workdir
-
./build.sh ath79.* rerun -j"$(( $(nproc) + 1))"
tags
:
-
m3runner
-
m3runner
m3:sunxi
:
only
:
...
...
@@ -123,7 +123,7 @@ m3:sunxi:
-
ln -s ~/mycache/workdir
-
./build.sh sunxi.* rerun -j"$(( $(nproc) + 1))"
tags
:
-
m3runner
-
m3runner
m3:mpc85xx
:
only
:
...
...
@@ -135,7 +135,7 @@ m3:mpc85xx:
-
ln -s ~/mycache/workdir
-
./build.sh mpc85xx.* rerun -j"$(( $(nproc) + 1))"
tags
:
-
m3runner
-
m3runner
m3:test
:
only
:
...
...
@@ -147,7 +147,7 @@ m3:test:
-
ln -s ~/mycache/workdir
-
./build.sh list
tags
:
-
m3runner
-
m3runner
m3:upload
:
only
:
...
...
@@ -159,16 +159,13 @@ m3:upload:
-
ln -s ~/mycache/dl
-
ln -s ~/mycache/workdir
-
./gen-upload.sh all
# gitlab-runner's public ssh key must added to /home/deploy-firmware/.ssh/authorized_keys.
# On download server there is a user "deploy-firmware" who owns the download directories.
-
([ -n "${FF_UPLOAD_DIR}" ] && rsync -avz --info=all1 --delete -EH --progress final_output/*/* deploy-firmware@download.intern:/var/www/files/firmware/${FF_UPLOAD_DIR}/)
-
rm -rf final_output
-
|
# gitlab-runner's public ssh key must added to /home/deploy-firmware/.ssh/authorized_keys.
# On download server there is a user "deploy-firmware" who owns the download directories.
if [ -n "${FF_UPLOAD_DIR}" ]; then
rsync -avz --info=all1 --delete -EH --progress final_output/*/* deploy-firmware@download.intern:/var/www/files/firmware/${FF_UPLOAD_DIR}/
fi
rm -rf final_output
# artifacts are not needed (waste of disk storage), because they are uploaded to download server
# artifacts:
# name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
# expire_in: 2 days
# paths:
# - dl
# - final_output
tags
:
-
m3runner
This diff is collapsed.
Click to expand it.
gitlab-ci/m3runner-tags.yml
+
1
−
0
View file @
aa037c5b
...
...
@@ -196,5 +196,6 @@ m3tags:upload:
rsync -avz --info=all1 --delete -EH --progress final_output/*/* deploy-firmware@download.intern:/var/www/files/firmware/${FF_UPLOAD_DIR}/
fi
rm -rf final_output
# artifacts are not needed (waste of disk storage), because they are uploaded to download server
tags
:
-
m3runner
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