clean before config copy
This commit is contained in:
@@ -48,9 +48,6 @@ spec:
|
||||
script: |
|
||||
#!/usr/bin/env bash
|
||||
echo $PATH
|
||||
echo "res.input.ke...path: $(resources.inputs.openwrt-configs.path)"
|
||||
cp -v $(resources.inputs.openwrt-configs.path)/$(params.config) \
|
||||
/usr/src/openwrt/.config || exit 1
|
||||
cd /usr/src/openwrt
|
||||
CCACHE_DIR=$(echo staging_dir/target-*)/ccache ccache -s
|
||||
ls -la .
|
||||
@@ -59,11 +56,14 @@ spec:
|
||||
make clean
|
||||
./scripts/feeds clean -a
|
||||
#### /cleanup
|
||||
echo "res.input.ke...path: $(resources.inputs.openwrt-configs.path)"
|
||||
cp -v $(resources.inputs.openwrt-configs.path)/$(params.config) \
|
||||
/usr/src/openwrt/.config || exit 1
|
||||
./scripts/feeds update -a
|
||||
./scripts/feeds install -a -f
|
||||
# build env does not like to be run as root....
|
||||
|
||||
make -j2 download world $(params.make_flags) V=1
|
||||
make -j4 download world $(params.make_flags)
|
||||
- name: upload-assets
|
||||
image: docker.io/minio/mc
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user