diff options
| author | Lu Qiuwen <[email protected]> | 2019-08-28 14:57:55 +0800 |
|---|---|---|
| committer | Lu Qiuwen <[email protected]> | 2019-08-28 14:57:55 +0800 |
| commit | 33f5ea735cb3ecd2cf1d957092e298812c7c8b3f (patch) | |
| tree | 2aac814ab99cbfebe53c9e696fa043e3ce9e17a3 | |
增加Pulp Consumer的安装和自测脚本
| -rw-r--r-- | .gitlab-ci.yml | 17 | ||||
| -rw-r--r-- | plup-consumer.yml | 6 |
2 files changed, 23 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..97ccbdb --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +services: + - docker:dind + +variables: + DOCKER_HOST: tcp://docker:2375 + DOCKER_DRIVER: overlay2 + IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG + +include: "/plup-consumer.yml" + +stages: + - self-test + +self-test: + extends: .pulp-consumer-install + stage: self-test + image: centos:7.4.1708 diff --git a/plup-consumer.yml b/plup-consumer.yml new file mode 100644 index 0000000..05076c2 --- /dev/null +++ b/plup-consumer.yml @@ -0,0 +1,6 @@ + +.pulp-consumer-install: + script: + - wget https://repos.fedorapeople.org/repos/pulp/pulp/rhel-pulp.repo -O /etc/yum.repos.d/rhel-pulp.repo + - yum install http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm + - yum install pulp-consumer-client pulp-rpm-consumer-extensions pulp-puppet-consumer-extensions pulp-agent pulp-rpm-handlers pulp-rpm-yumplugins pulp-puppet-handlers python-gofer-qpid |
