mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Fix CircleCI
This commit is contained in:
parent
36c4b87357
commit
cf13249e9d
1 changed files with 7 additions and 6 deletions
|
@ -375,7 +375,7 @@ jobs:
|
||||||
- cache-{{ checksum "/tmp/cache-target" }}
|
- cache-{{ checksum "/tmp/cache-target" }}
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Build toolchain
|
name: Build toolchain wrt3200acm
|
||||||
no_output_timeout: 30m
|
no_output_timeout: 30m
|
||||||
command: |
|
command: |
|
||||||
git clone https://github.com/ysurac/openmptcprouter || true
|
git clone https://github.com/ysurac/openmptcprouter || true
|
||||||
|
@ -395,12 +395,12 @@ jobs:
|
||||||
- openmptcprouter
|
- openmptcprouter
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Build
|
name: Build wrt3200acm
|
||||||
no_output_timeout: 30m
|
no_output_timeout: 30m
|
||||||
command: make IGNORE_ERRORS=m -C ~/openmptcprouter/wrt3200acm/source package/{compile,install,index} target/compile -j2 package/compile -j2 target/install -j2
|
command: make IGNORE_ERRORS=m -C ~/openmptcprouter/wrt3200acm/source package/{compile,install,index} target/compile -j2 package/compile -j2 target/install -j2
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Deploy
|
name: Deploy wrt3200acm
|
||||||
command: |
|
command: |
|
||||||
ssh -p ${OMR_DEPLOY_PORT:-22} deploy@$OMR_DEPLOY_HOST mkdir -p deploy/release
|
ssh -p ${OMR_DEPLOY_PORT:-22} deploy@$OMR_DEPLOY_HOST mkdir -p deploy/release
|
||||||
rsync -av --delete-after ~/openmptcprouter/wrt3200acm/source/bin/ -e "ssh -q -p ${OMR_DEPLOY_PORT:-22}" deploy@$OMR_DEPLOY_HOST:deploy/release/wrt3200acm
|
rsync -av --delete-after ~/openmptcprouter/wrt3200acm/source/bin/ -e "ssh -q -p ${OMR_DEPLOY_PORT:-22}" deploy@$OMR_DEPLOY_HOST:deploy/release/wrt3200acm
|
||||||
|
@ -412,9 +412,10 @@ jobs:
|
||||||
- openmptcprouter
|
- openmptcprouter
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Build toolchain
|
name: Build toolchain wrt32x
|
||||||
no_output_timeout: 30m
|
no_output_timeout: 30m
|
||||||
command: |
|
command: |
|
||||||
|
cd ~/openmptcprouter/
|
||||||
git pull || true
|
git pull || true
|
||||||
export OMR_PATH="$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/${CIRCLE_BRANCH:-$CIRCLE_TAG}"
|
export OMR_PATH="$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/${CIRCLE_BRANCH:-$CIRCLE_TAG}"
|
||||||
export OMR_FEED_URL="$CIRCLE_REPOSITORY_URL"
|
export OMR_FEED_URL="$CIRCLE_REPOSITORY_URL"
|
||||||
|
@ -425,12 +426,12 @@ jobs:
|
||||||
echo -e "$OMR_PUBKEY" > ~/openmptcprouter/wrt32x/source/key-build.pub
|
echo -e "$OMR_PUBKEY" > ~/openmptcprouter/wrt32x/source/key-build.pub
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Build
|
name: Build wrt32x
|
||||||
no_output_timeout: 30m
|
no_output_timeout: 30m
|
||||||
command: make IGNORE_ERRORS=m -C ~/openmptcprouter/wrt32x/source package/{compile,install,index} target/compile -j2 package/compile -j2 target/install -j2
|
command: make IGNORE_ERRORS=m -C ~/openmptcprouter/wrt32x/source package/{compile,install,index} target/compile -j2 package/compile -j2 target/install -j2
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Deploy
|
name: Deploy wrt32x
|
||||||
command: |
|
command: |
|
||||||
ssh -p ${OMR_DEPLOY_PORT:-22} deploy@$OMR_DEPLOY_HOST mkdir -p deploy/release
|
ssh -p ${OMR_DEPLOY_PORT:-22} deploy@$OMR_DEPLOY_HOST mkdir -p deploy/release
|
||||||
rsync -av --delete-after ~/openmptcprouter/wrt32x/source/bin/ -e "ssh -q -p ${OMR_DEPLOY_PORT:-22}" deploy@$OMR_DEPLOY_HOST:deploy/release/wrt32x
|
rsync -av --delete-after ~/openmptcprouter/wrt32x/source/bin/ -e "ssh -q -p ${OMR_DEPLOY_PORT:-22}" deploy@$OMR_DEPLOY_HOST:deploy/release/wrt32x
|
||||||
|
|
Loading…
Reference in a new issue