Skip to content
Snippets Groups Projects
Commit 148b9558 authored by Jan Grewe's avatar Jan Grewe
Browse files

initial commit

parents
Branches
No related tags found
No related merge requests found
stages:
- build
variables:
OPENWRT_VERSION: 23.05.3
FILES: ${CI_PROJECT_PATH}/files
PACKAGES: openwisp-config openwisp-monitoring netjson-monitoring
cudy_wr3000-v1:
stage: build
image: openwrt/imagebuilder:${TARGET}-${SUBTARGET}-${OPENWRT_VERSION}
variables:
TARGET: mediatek
SUBTARGET: filogic
PROFILE: cudy_wr3000-v1
before_script:
- if [[ -d ./packages ]]; then mv ./packages /builder/; fi
- if [[ -d ./dl ]]; then mv ./dl /builder/; fi
- for url in $(cat packages.txt); do curl --create-dirs -s -O --output-dir /builder/packages $url; done && ls -1 /builder/packages
- cd /builder
script:
- make image PROFILE=${PROFILE} FILES=${FILES} PACKAGES="${PACKAGES}"
after_script:
- if [[ -d /builder/bin ]]; then mv /builder/bin .; fi
- if [[ -d /builder/dl ]]; then mv /builder/dl .; fi
cache:
key: ${OPENWRT_VERSION}-${TARGET}
paths:
- dl/
artifacts:
paths:
- bin/
expire_in: 1 hour
config controller 'http'
option url 'https://openwisp.faked.org'
option shared_secret 'fSIRdSdsqoKYhCYovE1zareJhkOKMtcL'
#!/bin/sh
uci -q batch << EOF
set network.lan.proto=dhcp
delete network.lan.ipaddr
delete network.lan.netmask
commit network
EOF
https://storage.googleapis.com/downloads.openwisp.io/openwisp-config/latest/openwisp-config_1.1.0a-1_all.ipk
https://storage.googleapis.com/downloads.openwisp.io/openwisp-monitoring/latest/netjson-monitoring_0.1.1-1_all.ipk
https://storage.googleapis.com/downloads.openwisp.io/openwisp-monitoring/latest/openwisp-monitoring_0.1.1-1_all.ipk
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment