Commit f2e01b77 by Jesse Zoldak

Clone the platform repo on flyweight (flow) workers

parent 90ae7874
......@@ -7,10 +7,9 @@
become: True
gather_facts: True
vars:
serial_count: 1
flyweight_worker: True
COMMON_SECURITY_UPDATES: yes
SECURITY_UPGRADE_ON_ANSIBLE: true
serial: "{{ serial_count }}"
roles:
- aws
- jenkins_worker
---
# Clone the edx-platform repo for speedier future use.
# A couple notes:
# 1) This is done for the other workers in the test_build_server role,
# which is not intuitive and should probably be refactored.
# 2) Flow jobs really should not need to clone the repo, but
# it would be some work to refactor. See TE-2333.
- name: Create a shallow clone of the edx-platform repo
git:
repo: "https://github.com/edx/edx-platform.git"
dest: "{{ jenkins_home }}/edx-platform-clone"
version: "master"
become_user: "{{ jenkins_user }}"
......@@ -13,6 +13,10 @@
- include: python_platform_worker.yml
when: platform_worker is defined
# only flyweight workers
- include: flyweight_worker.yml
when: flyweight_worker is defined
# only loadtest driver workers
- include: loadtest_driver_worker.yml
when: loadtest_driver_worker is defined
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment