6722875907
This change fixes the API to support skopeo that except status code 201 on creation. Change-Id: I28e4ca5c19f935d0ecbf916d5f89fbb4ca068c19
40 lines
937 B
YAML
40 lines
937 B
YAML
# This installs docker and runs a buildset registry
|
|
- hosts: all
|
|
roles:
|
|
- build-docker-image
|
|
|
|
- hosts: all
|
|
vars:
|
|
workspace: /tmp/registry-test
|
|
local: false
|
|
tasks:
|
|
- name: Add project atomic PPA
|
|
apt_repository:
|
|
repo: ppa:projectatomic/ppa
|
|
become: true
|
|
|
|
- name: Install packages
|
|
package:
|
|
name:
|
|
- docker-compose
|
|
- openssl
|
|
- skopeo
|
|
- buildah
|
|
state: present
|
|
become: true
|
|
- name: Run main tasks
|
|
include_tasks: main.yaml
|
|
|
|
# If buildset_registry is defined, that means a parent job is running it;
|
|
# only if it is not defined does it mean that we are running it. If we
|
|
# are running it, pause the job so that child jobs will automatically
|
|
# use it.
|
|
- hosts: localhost
|
|
tasks:
|
|
- name: Pause the job
|
|
when: buildset_registry is not defined
|
|
zuul_return:
|
|
data:
|
|
zuul:
|
|
pause: true
|