fixed folder, also temporarily disabled all steps but cleanup, since

this didn't run yet
This commit is contained in:
Nils Stinnesbeck 2023-05-24 07:13:12 +02:00
parent 7563bf6376
commit 24281ddf49
Signed by: nils
GPG Key ID: C52E07422A136076
3 changed files with 100 additions and 100 deletions

View File

@ -1,85 +1,85 @@
--- ---
variables: #variables:
- &default # - &default
image: "git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest" # image: "git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest"
pull: true # pull: true
environment: # environment:
- input_version=v2022.1.4 # - input_version=v2022.1.4
- GLUON_SITEDIR=../site # - GLUON_SITEDIR=../site
- FORCE_UNSAFE_CONFIGURE=1 # - FORCE_UNSAFE_CONFIGURE=1
- GLUON_TARGET=${TARGET} # - GLUON_TARGET=${TARGET}
- GLUON_DEPRECATED=1 # - GLUON_DEPRECATED=1
#
workspace: #workspace:
base: /build # base: /build
#
clone: #clone:
git: # git:
image: woodpeckerci/plugin-git # image: woodpeckerci/plugin-git
settings: # settings:
recursive: true # recursive: true
#
pipeline: #pipeline:
make_update: # make_update:
<<: *default # <<: *default
commands: # commands:
- cd gluon # - cd gluon
- make update # - make update
#
patch-iw-to-iw-full: # patch-iw-to-iw-full:
<<: *default # <<: *default
commands: # commands:
- sed -i 's/+iw /+iw-full /g' gluon/openwrt/package/kernel/mac80211/Makefile # - sed -i 's/+iw /+iw-full /g' gluon/openwrt/package/kernel/mac80211/Makefile
#
build: # build:
<<: *default # <<: *default
commands: # commands:
- cd gluon # - cd gluon
- make -j10 GLUON_AUTOUPDATER_BRANCH=stable GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable # - make -j10 GLUON_AUTOUPDATER_BRANCH=stable GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
#
list_images: # list_images:
<<: *default # <<: *default
commands: # commands:
- mkdir -p gluon/output/stable/images/factory # - mkdir -p gluon/output/stable/images/factory
- echo "${TARGET}" > gluon/output/stable/images/factory/${TARGET} # - echo "${TARGET}" > gluon/output/stable/images/factory/${TARGET}
- ls -alh gluon/output/stable/images/factory # - ls -alh gluon/output/stable/images/factory
#
upload: # upload:
image: appleboy/drone-scp # image: appleboy/drone-scp
settings: # settings:
host: 46.4.138.183 # host: 46.4.138.183
user: fwupload # user: fwupload
key: # key:
from_secret: ssh-key # from_secret: ssh-key
strip_components: 2 # strip_components: 2
target: /srv/fwuploads-testing/troisdorf/multi/incoming/ # target: /srv/fwuploads-testing/troisdorf/multi/incoming/
source: gluon/output/stable/* # source: gluon/output/stable/*
#
matrix: #matrix:
TARGET: # TARGET:
- ath79-generic # - ath79-generic
- ath79-mikrotik # - ath79-mikrotik
- ath79-nand # - ath79-nand
- bcm27xx-bcm2708 # - bcm27xx-bcm2708
- bcm27xx-bcm2709 # - bcm27xx-bcm2709
- ipq40xx-generic # - ipq40xx-generic
- ipq40xx-mikrotik # - ipq40xx-mikrotik
- ipq806x-generic # - ipq806x-generic
- lantiq-xrx200 # - lantiq-xrx200
- lantiq-xway # - lantiq-xway
- mediatek-mt7622 # - mediatek-mt7622
- mpc85xx-p1010 # - mpc85xx-p1010
- mpc85xx-p1020 # - mpc85xx-p1020
- ramips-mt7620 # - ramips-mt7620
- ramips-mt7621 # - ramips-mt7621
- ramips-mt76x8 # - ramips-mt76x8
- realtek-rtl838x # - realtek-rtl838x
- rockchip-armv8 # - rockchip-armv8
- sunxi-cortexa7 # - sunxi-cortexa7
- x86-64 # - x86-64
- x86-generic # - x86-generic
- x86-geode # - x86-geode
- x86-legacy # - x86-legacy
#
depends_on: #depends_on:
- prepare # - prepare

View File

@ -18,7 +18,7 @@ pipeline:
- ls -alh /srv/fwuploads-testing/troisdorf/multi/incoming/stable - ls -alh /srv/fwuploads-testing/troisdorf/multi/incoming/stable
- rm -rf /srv/fwuploads-testing/troisdorf/multi/stable/ - rm -rf /srv/fwuploads-testing/troisdorf/multi/stable/
- mkdir /srv/fwuploads-testing/troisdorf/multi/stable/ - mkdir /srv/fwuploads-testing/troisdorf/multi/stable/
- mv /srv/fwuploads-testing/troisdorf/mutli/incoming/stable/* /srv/fwuploads-testing/troisdorf/mutli/stable/ - mv /srv/fwuploads-testing/troisdorf/multi/incoming/stable/* /srv/fwuploads-testing/troisdorf/multi/stable/
depends_on: depends_on:
- prepare - prepare

View File

@ -1,16 +1,16 @@
--- ---
skip_clone: true #skip_clone: true
#
pipeline: #pipeline:
prepare: # prepare:
image: appleboy/drone-ssh # image: appleboy/drone-ssh
settings: # settings:
host: 46.4.138.183 # host: 46.4.138.183
username: fwupload # username: fwupload
key: # key:
from_secret: ssh-key # from_secret: ssh-key
port: 22 # port: 22
command_timeout: 120m # command_timeout: 120m
script: # script:
- rm -rf /srv/fwuploads-testing/troisdorf/multi/incoming/stable # - rm -rf /srv/fwuploads-testing/troisdorf/multi/incoming/stable
- mkdir -p /srv/fwuploads-testing/troisdorf/multi/incoming/stable # - mkdir -p /srv/fwuploads-testing/troisdorf/multi/incoming/stable