This repository has been archived on 2023-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
rpmbuild/.drone.yml
Robert Kaussow 2b6bc3ca61 test
2019-03-13 11:41:19 +01:00

80 lines
1.6 KiB
YAML

---
kind: pipeline
name: linux-amd64
platform:
os: linux
arch: arm
steps:
- name: test
image: arm32v7/centos:7
commands:
- ls -l /etc/yum.repos.d
- echo "armhfp" > /etc/yum/vars/arch
- yum clean all
- cat /etc/yum.repos.d/CentOS-Base.repo
- yum repolist
# - 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
# ---
# 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
# ...