From f9942e837562521d34f47cd39f75b1587382e1d7 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 14 Mar 2019 13:39:27 +0100 Subject: [PATCH] re-build drone config --- .drone.yml | 97 +++++++++++++++--------------------------------------- 1 file changed, 26 insertions(+), 71 deletions(-) diff --git a/.drone.yml b/.drone.yml index c822722..4fb39a2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,78 +4,33 @@ name: linux-amd64 platform: os: linux - arch: arm + arch: amd64 steps: -- name: test - image: arm32v7/centos:7 - commands: - - uname -a - - ls -l /etc/yum.repos.d - - echo "armhfp" > /etc/yum/vars/basearch - - yum clean all - - cat /etc/yum.repos.d/CentOS-Base.repo - - yum update -y +- 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: 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: xoxys/rpmbuild-centos7 + 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 - -# 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: 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: xoxys/rpmbuild-centos7 -# username: -# from_secret: docker_username - -# ... +...