clean before config copy
This commit is contained in:
@@ -48,9 +48,6 @@ spec:
|
|||||||
script: |
|
script: |
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
echo $PATH
|
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
|
cd /usr/src/openwrt
|
||||||
CCACHE_DIR=$(echo staging_dir/target-*)/ccache ccache -s
|
CCACHE_DIR=$(echo staging_dir/target-*)/ccache ccache -s
|
||||||
ls -la .
|
ls -la .
|
||||||
@@ -59,11 +56,14 @@ spec:
|
|||||||
make clean
|
make clean
|
||||||
./scripts/feeds clean -a
|
./scripts/feeds clean -a
|
||||||
#### /cleanup
|
#### /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 update -a
|
||||||
./scripts/feeds install -a -f
|
./scripts/feeds install -a -f
|
||||||
# build env does not like to be run as root....
|
# 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
|
- name: upload-assets
|
||||||
image: docker.io/minio/mc
|
image: docker.io/minio/mc
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user