fixed whitespace that was causing errors
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
68accc48fc
commit
4a4ff673e6
54
.drone.yml
54
.drone.yml
@ -15,6 +15,8 @@ global-variables:
|
|||||||
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
|
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
|
||||||
|
|
||||||
upload: &upload
|
upload: &upload
|
||||||
|
when:
|
||||||
|
branch: master
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
host: 46.4.138.183
|
host: 46.4.138.183
|
||||||
@ -22,8 +24,6 @@ global-variables:
|
|||||||
key:
|
key:
|
||||||
from_secret: ssh-update
|
from_secret: ssh-update
|
||||||
strip_components: 6
|
strip_components: 6
|
||||||
when:
|
|
||||||
branch: master
|
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
@ -147,31 +147,31 @@ steps: &steps
|
|||||||
environment:
|
environment:
|
||||||
GLUON_TARGET: lantiq-xrx200
|
GLUON_TARGET: lantiq-xrx200
|
||||||
|
|
||||||
# - name: make manifest
|
- name: make manifest
|
||||||
# commands:
|
commands:
|
||||||
# - cd gluon
|
- cd gluon
|
||||||
# - make manifest GLUON_BRANCH=stable GLUON_OUTPUTDIR=output/stable GLUON_RELEASE=$input_version-stable
|
- make manifest GLUON_BRANCH=stable GLUON_OUTPUTDIR=output/stable GLUON_RELEASE=$input_version-stable
|
||||||
# - make manifest GLUON_BRANCH=beta GLUON_OUTPUTDIR=output/beta GLUON_RELEASE=$input_version-beta
|
- make manifest GLUON_BRANCH=beta GLUON_OUTPUTDIR=output/beta GLUON_RELEASE=$input_version-beta
|
||||||
# - make manifest GLUON_BRANCH=experimental GLUON_OUTPUTDIR=output/experimental GLUON_RELEASE=$input_version-exp
|
- make manifest GLUON_BRANCH=experimental GLUON_OUTPUTDIR=output/experimental GLUON_RELEASE=$input_version-exp
|
||||||
#
|
|
||||||
## - name: backup-old-firmware
|
- name: backup-old-firmware
|
||||||
## image: appleboy/drone-ssh
|
when:
|
||||||
## settings:
|
branch: master
|
||||||
## host: 46.4.138.183
|
image: appleboy/drone-ssh
|
||||||
## username: fwupload
|
settings:
|
||||||
## key:
|
host: 46.4.138.183
|
||||||
## from_secret: ssh-update
|
username: fwupload
|
||||||
## port: 22
|
key:
|
||||||
## command_timeout: 120m
|
from_secret: ssh-update
|
||||||
## script:
|
port: 22
|
||||||
## #- ./rsync-backup-multi.sh
|
command_timeout: 120m
|
||||||
## - rm -rf /srv/fwuploads/troisdorf/multi/*
|
script:
|
||||||
## - mkdir /srv/fwuploads/troisdorf/multi/stable
|
#- ./rsync-backup-multi.sh
|
||||||
## - mkdir /srv/fwuploads/troisdorf/multi/beta
|
- rm -rf /srv/fwuploads/troisdorf/multi/*
|
||||||
## - mkdir /srv/fwuploads/troisdorf/multi/experimental
|
- mkdir /srv/fwuploads/troisdorf/multi/stable
|
||||||
## when:
|
- mkdir /srv/fwuploads/troisdorf/multi/beta
|
||||||
## branch: master
|
- mkdir /srv/fwuploads/troisdorf/multi/experimental
|
||||||
#
|
|
||||||
- name: upload stable
|
- name: upload stable
|
||||||
<<: *upload
|
<<: *upload
|
||||||
settings:
|
settings:
|
||||||
|
Loading…
Reference in New Issue
Block a user