Skip to content

Commit 724a8d5

Browse files
author
Jakub Cierlik
committed
Added rhel_wagon to circleci config
1 parent 9a20184 commit 724a8d5

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,28 @@ jobs:
118118
paths:
119119
- build/*
120120

121+
rhel_wagon:
122+
machine:
123+
image: ubuntu-1604:201903-01
124+
steps:
125+
- checkout
126+
- run:
127+
name: Create Workspace Build directory.
128+
command: mkdir -p workspace/build
129+
- run:
130+
name: Build RHEL py27py36 Wagon
131+
command: |
132+
git clone https://github.com/cloudify-cosmo/cloudify-wagon-build-containers.git
133+
docker build -t cloudify-redhat-7-wagon-builder cloudify-wagon-build-containers/redhat_7_py2py3 --build-arg USERNAME="$USERNAME" --build-arg PASSWORD="$PASSWORD"
134+
docker run -v ~/project/:/packaging cloudify-redhat-7-wagon-builder
135+
- run:
136+
name: copy wagon to workspace
137+
command: cp *.wgn workspace/build/
138+
- persist_to_workspace:
139+
root: workspace
140+
paths:
141+
- build/*
142+
121143
release:
122144
docker:
123145
- image: circleci/python:2.7
@@ -165,6 +187,10 @@ workflows:
165187
filters:
166188
branches:
167189
only: /([0-9\.]*\-build|master|dev)/
190+
- rhel_wagon:
191+
filters:
192+
branches:
193+
only: /([0-9\.]*\-build|master|dev)/
168194
- release:
169195
filters:
170196
branches:
@@ -173,3 +199,4 @@ workflows:
173199
- unittests_py27
174200
- unittests_py36
175201
- wagon
202+
- rhel_wagon

0 commit comments

Comments
 (0)