From aedee3acfc8f94406cdf19db14567673e771db43 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 13 Mar 2019 11:22:07 +0100 Subject: [PATCH] test --- .drone.jsonnet | 4 +- .drone.yml | 117 +++++++++++++++++++++++++------------------------ 2 files changed, 62 insertions(+), 59 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 4e16c51..ed0869f 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -16,7 +16,7 @@ local PipelineBuild(os='linux', arch='amd64') = { dry_run: true, tags: tag, dockerfile: 'docker/Dockerfile.' + file_suffix, - repo: 'plugins/base', + repo: ' xoxys/rpmbuild-centos7', username: { from_secret: 'docker_username' }, password: { from_secret: 'docker_password' }, }, @@ -29,7 +29,7 @@ local PipelineBuild(os='linux', arch='amd64') = { auto_tag: true, auto_tag_suffix: tag, dockerfile: 'docker/Dockerfile.' + file_suffix, - repo: 'plugins/base', + repo: ' xoxys/rpmbuild-centos7', username: { from_secret: 'docker_username' }, password: { from_secret: 'docker_password' }, }, diff --git a/.drone.yml b/.drone.yml index 4b78a01..1364c86 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,66 +7,69 @@ platform: arch: amd64 steps: -- name: dryrun - pull: always - image: plugins/docker:linux-amd64 - settings: - dockerfile: docker/Dockerfile.linux.amd64 - dry_run: true - password: - from_secret: docker_password - repo: plugins/base - tags: linux-amd64 - username: - from_secret: docker_username +- name: test + image: arm32v7/centos:7 + commands: + - ls -l /etc/yum.repos.d +# - name: dryrun +# pull: always +# image: plugins/docker:linux-amd64 +# settings: +# dockerfile: docker/Dockerfile.linux.amd64 +# dry_run: true +# password: +# from_secret: docker_password +# repo: xoxys/rpmbuild-centos7 +# tags: linux-amd64 +# username: +# from_secret: docker_username -- name: publish - pull: always - image: plugins/docker:linux-amd64 - settings: - auto_tag: true - auto_tag_suffix: linux-amd64 - dockerfile: docker/Dockerfile.linux.amd64 - password: - from_secret: docker_password - repo: plugins/base - username: - from_secret: docker_username +# - name: publish +# pull: always +# image: plugins/docker:linux-amd64 +# settings: +# auto_tag: true +# auto_tag_suffix: linux-amd64 +# dockerfile: docker/Dockerfile.linux.amd64 +# password: +# from_secret: docker_password +# repo: xoxys/rpmbuild-centos7 +# username: +# from_secret: docker_username ---- -kind: pipeline -name: linux-arm +# --- +# kind: pipeline +# name: linux-arm -platform: - os: linux - arch: arm +# platform: +# os: linux +# arch: arm -steps: -- name: dryrun - pull: always - image: plugins/docker:linux-arm - settings: - dockerfile: docker/Dockerfile.linux.arm - dry_run: true - password: - from_secret: docker_password - repo: plugins/base - tags: linux-arm - username: - from_secret: docker_username +# steps: +# - name: dryrun +# pull: always +# image: plugins/docker:linux-arm +# settings: +# dockerfile: docker/Dockerfile.linux.arm +# dry_run: true +# password: +# from_secret: docker_password +# repo: xoxys/rpmbuild-centos7 +# tags: linux-arm +# username: +# from_secret: docker_username -- name: publish - pull: always - image: plugins/docker:linux-arm - settings: - auto_tag: true - auto_tag_suffix: linux-arm - dockerfile: docker/Dockerfile.linux.arm - password: - from_secret: docker_password - repo: plugins/base - username: - from_secret: docker_username - -... +# - name: publish +# pull: always +# image: plugins/docker:linux-arm +# settings: +# auto_tag: true +# auto_tag_suffix: linux-arm +# dockerfile: docker/Dockerfile.linux.arm +# password: +# from_secret: docker_password +# repo: xoxys/rpmbuild-centos7 +# username: +# from_secret: docker_username +# ...