Skip to content
Snippets Groups Projects
Commit a1b85860 authored by Nico's avatar Nico
Browse files

ci: fix syntax

parent 22317355
No related branches found
No related tags found
No related merge requests found
Pipeline #914 failed
...@@ -23,9 +23,6 @@ defaults: ...@@ -23,9 +23,6 @@ defaults:
- git -C ffs-openwrt-dl-cache pull - 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 - rm -rf gluon/openwrt/dl && mkdir -p gluon/openwrt && ln -s ../../ffs-openwrt-dl-cache gluon/openwrt/dl
- rm -rf gluon/openwrt/staging_dir && mkdir -p staging_dir && ln -s ../../staging_dir gluon/openwrt/staging_dir - rm -rf gluon/openwrt/staging_dir && mkdir -p staging_dir && ln -s ../../staging_dir gluon/openwrt/staging_dir
script:
- make -C gluon GLUON_SITEDIR="$CI_PROJECT_DIR" GLUON_TARGET="$GLUON_TARGET" GLUON_BRANCH=stable FFS_BUILD_DATE=$(cat build.date) BROKEN="$BROKEN" V=1 -j`nproc`
- cd gluon/openwrt/dl && git add . && git commit -m "update DL cache" && git push || true
generate_date: generate_date:
stage: generate_date stage: generate_date
...@@ -55,6 +52,9 @@ update: ...@@ -55,6 +52,9 @@ update:
stage: build stage: build
except: except:
- tags - tags
script:
- make -C gluon GLUON_SITEDIR="$CI_PROJECT_DIR" GLUON_TARGET="$GLUON_TARGET" GLUON_BRANCH=stable FFS_BUILD_DATE=$(cat build.date) BROKEN="$BROKEN" V=1 -j`nproc`
- cd gluon/openwrt/dl && git add . && git commit -m "update DL cache" && git push || true
artifacts: artifacts:
paths: paths:
- gluon/output/ - gluon/output/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment