mirror of
https://git.netzspielplatz.de/docker-multiarch/openwrt-firmware-selector.git
synced 2025-11-08 23:39:37 +00:00
another try to get stuff faster and better with artifacts and stuff :D
This commit is contained in:
parent
66729f7e1e
commit
bb7517b225
1 changed files with 12 additions and 3 deletions
|
|
@ -8,25 +8,34 @@ variables:
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- collect_stage
|
||||||
|
- build_stage
|
||||||
|
- deploy
|
||||||
|
|
||||||
build_collect:
|
build_collect:
|
||||||
stage: build
|
stage: collect_stage
|
||||||
image: python:bullseye
|
image: python:bullseye
|
||||||
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/
|
||||||
|
- cat ./src/config.ts
|
||||||
artifacts:
|
artifacts:
|
||||||
name: 'public_${CI_COMMIT_REF_NAME}'
|
name: 'public_${CI_COMMIT_REF_NAME}'
|
||||||
paths:
|
paths:
|
||||||
- public/
|
- public/
|
||||||
- src/
|
- src/
|
||||||
|
|
||||||
build_static:
|
build_stage:
|
||||||
stage: build
|
stage: build_stage
|
||||||
image: node:lts-alpine
|
image: node:lts-alpine
|
||||||
script:
|
script:
|
||||||
- ls -lha
|
- ls -lha
|
||||||
- cat ./src/config.ts
|
- cat ./src/config.ts
|
||||||
|
dependencies:
|
||||||
|
- build_collect
|
||||||
|
|
||||||
deploy_docker:
|
deploy_docker:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue