2019-02-09 14:29:00 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2019-03-13 09:57:48 +00:00
|
|
|
name: linux-amd64
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
2019-03-13 10:23:33 +00:00
|
|
|
arch: arm
|
2019-03-13 09:57:48 +00:00
|
|
|
|
|
|
|
steps:
|
2019-03-13 10:22:07 +00:00
|
|
|
- name: test
|
|
|
|
image: arm32v7/centos:7
|
|
|
|
commands:
|
|
|
|
- ls -l /etc/yum.repos.d
|
2019-03-13 10:35:04 +00:00
|
|
|
- echo "armhfp" > /etc/yum/vars/arch
|
|
|
|
- yum install -y gcc
|
2019-03-13 10:22:07 +00:00
|
|
|
# - 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
|
2019-03-13 09:57:48 +00:00
|
|
|
|
2019-03-13 10:22:07 +00:00
|
|
|
# - 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
|
2019-03-13 09:57:48 +00:00
|
|
|
|
2019-03-13 10:22:07 +00:00
|
|
|
# ---
|
|
|
|
# kind: pipeline
|
|
|
|
# name: linux-arm
|
2019-02-09 14:29:00 +00:00
|
|
|
|
2019-03-13 10:22:07 +00:00
|
|
|
# platform:
|
|
|
|
# os: linux
|
|
|
|
# arch: arm
|
2019-03-13 09:57:48 +00:00
|
|
|
|
2019-03-13 10:22:07 +00:00
|
|
|
# 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
|
2019-03-13 09:57:48 +00:00
|
|
|
|
2019-03-13 10:22:07 +00:00
|
|
|
# - 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
|
2019-03-13 09:59:58 +00:00
|
|
|
|
2019-03-13 10:22:07 +00:00
|
|
|
# ...
|