Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFS Gluon site
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
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
firmware
FFS Gluon site
Commits
28a7b811
Commit
28a7b811
authored
4 years ago
by
Nico
Browse files
Options
Downloads
Patches
Plain Diff
add experimental dl cache in git repo
parent
884417e2
No related branches found
No related tags found
No related merge requests found
Pipeline
#675
canceled
4 years ago
Stage: generate_date
Stage: update
Stage: build
Stage: package
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+13
-1
13 additions, 1 deletion
.gitlab-ci.yml
gitlab-known-hosts
+3
-0
3 additions, 0 deletions
gitlab-known-hosts
with
16 additions
and
1 deletion
.gitlab-ci.yml
+
13
−
1
View file @
28a7b811
...
...
@@ -30,8 +30,20 @@ update:
.target
:
stage
:
build
before_script
:
-
'
which
ssh-agent
||
(
apt-get
update
-y
&&
apt-get
install
openssh-client
-y
)'
-
eval $(ssh-agent -s)
-
ssh-add <(echo "$GIT_SSH_PRIV_KEY")
-
git config --global user.email "firmware@freifunk-stuttgart.de"
-
git config --global user.name "FFS Buildbot"
-
mkdir -p ~/.ssh
-
cat gitlab-known-hosts >> ~/.ssh/known_hosts
-
test -d ffs-openwrt-dl-cache || git clone ssh://git@gitlab.freifunk-stuttgart.de:22220/firmware/ffs-openwrt-dl-cache.git
-
git -C ffs-openwrt-dl-cache pull
-
rm -rf gluon/openwrt/dl && mkdir -p gluon/openwrt && ln -s ../../ffs-openwrt-dl-cache gluon/openwrt/dl
script
:
-
make -C gluon GLUON_SITEDIR="$CI_PROJECT_DIR" GLUON_TARGET="$GLUON_TARGET" GLUON_BRANCH=stable FFS_BUILD_DATE=$(cat build.date) V=1 -j`nproc`
-
cd gluon/openwrt/dl && git add . && git commit -m "update DL cache" && git push ||
true
except
:
-
tags
artifacts
:
...
...
@@ -40,7 +52,7 @@ update:
expire_in
:
1 day
cache
:
paths
:
-
gluon/
openwrt
/
dl
-
ffs-
openwrt
-
dl
-cache
-
gluon/openwrt/staging_dir
key
:
"
build-$CI_COMMIT_REF_SLUG"
...
...
This diff is collapsed.
Click to expand it.
gitlab-known-hosts
0 → 100644
+
3
−
0
View file @
28a7b811
[gitlab.freifunk-stuttgart.de]:22220 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGNCe5DNM3hGY+oEy5JeGjCDg68YrpjFivgxIAuFvhJkRdPPQpnOURuXFt/wQ0PCF/MZHVLPKwSLEfI3pkQRAg2bLyXFnLMlaaC2Q+9eZoQ6K2+NFWlKiVd3EmYGMt2USFfgFiHKeA4NNhvqtINj5pk1usFRCuUYfAegIVQl+vIvW7rpdK68Y33MGPrP81XD0E7TpasQnqnxVIaTe+QG3oNlPCToE6e8sZij3lwKGmR0gopbvUjXjuY7SCIbzEwzNET+olVfVHWMlDwuzM8tUOSbOSg6mX+I1gTJXndxdGl/dSsI9HXAe1HAa3B7zN+SDwcz+ySxsAgS8loyJMT2SD
[gitlab.freifunk-stuttgart.de]:22220 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJPXKTRXP1BULVuiWD92F3VdNDLkNV3B7Dv7hb9/PVsCVZnH+s6lsdqYZZL/7QvzyqB/eOlXRs5PE/opGkS84Qw=
[gitlab.freifunk-stuttgart.de]:22220 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKCt1kYnQIF17lAw7kRBAZOJFOS67ZQpBPsq79srBpwu
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