kind: pipeline name: gluon-build clone: depth: 50 steps: - name: submodules image: docker:git commands: - git submodule update --recursive --init - name: change site to tdf image: docker:git commands: - cd site - git checkout v2018.2-tdf - name: make update image: hoffmannhosting/gluon-builder commands: - cd gluon - make update environment: input_hood: tdf input_version: v2018.2.2-1 GLUON_SITEDIR: /drone/src/site GLUON_BRANCH: stable GLUON_TARGET: ar71xx-generic GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version FORCE_UNSAFE_CONFIGURE: 1 - name: notify image: plugins/matrix settings: homeserver: https://matrix.nils.zone roomid: !ljtaqLVGZMLLDSbCpi:nils.zone template: Hallo wie gehts? username: from_secret: matrix_username password: from_secret: matrix_password #- name: build-ar71xx-generic # image: hoffmannhosting/gluon-builder # commands: # - cd gluon # - make -j16 # environment: # input_hood: tdf # input_version: v2018.2.2-1 # GLUON_SITEDIR: /drone/src/site # GLUON_BRANCH: stable # GLUON_TARGET: ar71xx-generic # GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # FORCE_UNSAFE_CONFIGURE: 1 # #- name: build-ar71xx-tiny # image: hoffmannhosting/gluon-builder # commands: # - cd gluon # - make -j16 # environment: # input_hood: tdf # input_version: v2018.2.2-1 # GLUON_SITEDIR: /drone/src/site # GLUON_BRANCH: stable # GLUON_TARGET: ar71xx-tiny # GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # FORCE_UNSAFE_CONFIGURE: 1 # #- name: build-ar71xx-nand # image: hoffmannhosting/gluon-builder # commands: # - cd gluon # - make -j16 # environment: # input_hood: tdf # input_version: v2018.2.2-1 # GLUON_SITEDIR: /drone/src/site # GLUON_BRANCH: stable # GLUON_TARGET: ar71xx-nand # GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # FORCE_UNSAFE_CONFIGURE: 1 # #- name: build-brcm2708-bcm2708 # image: hoffmannhosting/gluon-builder # commands: # - cd gluon # - make -j16 # environment: # input_hood: tdf # input_version: v2018.2.2-1 # GLUON_SITEDIR: /drone/src/site # GLUON_BRANCH: stable # GLUON_TARGET: brcm2708-bcm2708 # GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # FORCE_UNSAFE_CONFIGURE: 1 # #- name: build-brcm2708-bcm2709 # image: hoffmannhosting/gluon-builder # commands: # - cd gluon # - make -j1 V=s # environment: # input_hood: tdf # input_version: v2018.2.2-1 # GLUON_SITEDIR: /drone/src/site # GLUON_BRANCH: stable # GLUON_TARGET: brcm2708-bcm2709 # GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # FORCE_UNSAFE_CONFIGURE: 1 # #- name: build-mpc85xx-generic # image: hoffmannhosting/gluon-builder # commands: # - cd gluon # - make -j16 # environment: # input_hood: tdf # input_version: v2018.2.2-1 # GLUON_SITEDIR: /drone/src/site # GLUON_BRANCH: stable # GLUON_TARGET: mpc85xx-generic # GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # FORCE_UNSAFE_CONFIGURE: 1 # #- name: build-x86-generic # image: hoffmannhosting/gluon-builder # commands: # - cd gluon # - make -j16 # environment: # input_hood: tdf # input_version: v2018.2.2-1 # GLUON_SITEDIR: /drone/src/site # GLUON_BRANCH: stable # GLUON_TARGET: x86-generic # GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # FORCE_UNSAFE_CONFIGURE: 1 # #- name: build-x86-geode # image: hoffmannhosting/gluon-builder # commands: # - cd gluon # - make -j16 # environment: # input_hood: tdf # input_version: v2018.2.2-1 # GLUON_SITEDIR: /drone/src/site # GLUON_BRANCH: stable # GLUON_TARGET: x86-geode # GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # FORCE_UNSAFE_CONFIGURE: 1 # #- name: build-x86-64 # image: hoffmannhosting/gluon-builder # commands: # - cd gluon # - make -j16 # environment: # input_hood: tdf # input_version: v2018.2.2-1 # GLUON_SITEDIR: /drone/src/site # GLUON_BRANCH: stable # GLUON_TARGET: x86-64 # GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # FORCE_UNSAFE_CONFIGURE: 1 # #- name: build-ipq40xx # image: hoffmannhosting/gluon-builder # commands: # - cd gluon # - make -j16 # environment: # input_hood: tdf # input_version: v2018.2.2-1 # GLUON_SITEDIR: /drone/src/site # GLUON_BRANCH: stable # GLUON_TARGET: ipq40xx # GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # FORCE_UNSAFE_CONFIGURE: 1 # #- name: build-ramips-mt7620 # image: hoffmannhosting/gluon-builder # commands: # - cd gluon # - make -j16 # environment: # input_hood: tdf # input_version: v2018.2.2-1 # GLUON_SITEDIR: /drone/src/site # GLUON_BRANCH: stable # GLUON_TARGET: ramips-mt7620 # GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # FORCE_UNSAFE_CONFIGURE: 1 # #- name: build-ramips-mt7621 # image: hoffmannhosting/gluon-builder # commands: # - cd gluon # - make -j16 # environment: # input_hood: tdf # input_version: v2018.2.2-1 # GLUON_SITEDIR: /drone/src/site # GLUON_BRANCH: stable # GLUON_TARGET: ramips-mt7621 # GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # FORCE_UNSAFE_CONFIGURE: 1 # #- name: build-ramips-mt76x8 # image: hoffmannhosting/gluon-builder # commands: # - cd gluon # - make -j16 # environment: # input_hood: tdf # input_version: v2018.2.2-1 # GLUON_SITEDIR: /drone/src/site # GLUON_BRANCH: stable # GLUON_TARGET: ramips-mt76x8 # GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # FORCE_UNSAFE_CONFIGURE: 1 # - name: build-ramips-rt305x image: hoffmannhosting/gluon-builder commands: - cd gluon - make -j16 environment: input_hood: tdf input_version: v2018.2.2-1 GLUON_SITEDIR: /drone/src/site GLUON_BRANCH: stable GLUON_TARGET: ramips-rt305x GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version FORCE_UNSAFE_CONFIGURE: 1 # #- name: build-sunxi-cortexa7 # image: hoffmannhosting/gluon-builder # commands: # - cd gluon # - make -j16 # environment: # input_hood: tdf # input_version: v2018.2.2-1 # GLUON_SITEDIR: /drone/src/site # GLUON_BRANCH: stable # GLUON_TARGET: sunxi-cortexa7 # GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # FORCE_UNSAFE_CONFIGURE: 1 - name: make manifest image: hoffmannhosting/gluon-builder commands: - make manifest environment: GLUON_BRANCH: stable - name: sign-firmware image: hoffmannhosting/gluon-builder secrets: - source: sign_key_stefan target: sign_key_1 commands: - /drone/src/gluon/contrib/sign.sh ${sign_key_1} /drone/src/gluon/output/images/sysupgrade/stable.manifest - name: copy-firmware-to-update-server image: appleboy/drone-scp settings: host: 46.4.138.183 user: fwupload key: from_secret: ssh-update strip_components: 4 target: /tmp source: /drone/src/gluon/output/* - name: ssh-test image: appleboy/drone-ssh settings: host: 46.4.138.183 username: fwupload key: from_secret: ssh-update port: 22 command_timeout: 2m script: - echo hello - echo world - cd /srv/fwuploads - ls - echo hallo > /tmp/bla