mirror of
https://git.netzspielplatz.de/docker-multiarch/openwrt-firmware-selector.git
synced 2025-11-08 17:19:25 +00:00
now, that artifacts work as expected, we can move on
This commit is contained in:
parent
03662ba8bb
commit
86537e800a
1 changed files with 7 additions and 5 deletions
|
|
@ -19,10 +19,7 @@ build_collect:
|
||||||
script:
|
script:
|
||||||
- git clone https://github.com/sudhanshu16/openwrt-firmware-selector.git
|
- git clone https://github.com/sudhanshu16/openwrt-firmware-selector.git
|
||||||
- cd openwrt-firmware-selector
|
- cd openwrt-firmware-selector
|
||||||
- cat ./src/config.ts
|
|
||||||
- python ./scripts/collect.py --image-url 'https://downloads.openwrt.org/{base}/{target}' https://downloads.openwrt.org ./src ./public/
|
- python ./scripts/collect.py --image-url 'https://downloads.openwrt.org/{base}/{target}' https://downloads.openwrt.org ./src ./public/
|
||||||
- echo "asdf" > ./src/asdf.txt
|
|
||||||
- cat ./src/config.ts
|
|
||||||
artifacts:
|
artifacts:
|
||||||
name: 'collect_${CI_COMMIT_REF_NAME}'
|
name: 'collect_${CI_COMMIT_REF_NAME}'
|
||||||
paths:
|
paths:
|
||||||
|
|
@ -33,10 +30,15 @@ build_stage:
|
||||||
stage: build_stage
|
stage: build_stage
|
||||||
image: node:lts-alpine
|
image: node:lts-alpine
|
||||||
script:
|
script:
|
||||||
- ls -lha
|
- cd openwrt-firmware-selector
|
||||||
- cat openwrt-firmware-selector/src/config.ts
|
- yarn install
|
||||||
|
- yarn build
|
||||||
dependencies:
|
dependencies:
|
||||||
- build_collect
|
- build_collect
|
||||||
|
artifacts:
|
||||||
|
name: 'build_${CI_COMMIT_REF_NAME}'
|
||||||
|
paths:
|
||||||
|
- openwrt-firmware-selector/build/
|
||||||
|
|
||||||
deploy_docker:
|
deploy_docker:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue