Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
f7bc5d09
Commit
f7bc5d09
authored
Aug 15, 2014
by
Ben Patterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit test_build_role.
parent
b9feb57a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
84 additions
and
0 deletions
+84
-0
playbooks/roles/test_build_server/defaults/main.yml
+21
-0
playbooks/roles/test_build_server/meta/main.yml
+26
-0
playbooks/roles/test_build_server/tasks/main.yml
+37
-0
No files found.
playbooks/roles/test_build_server/defaults/main.yml
0 → 100644
View file @
f7bc5d09
---
#
# edX Configuration
#
# github: https://github.com/edx/configuration
# wiki: https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
##
# Defaults for role test_build_server
#
#
# vars are namespace with the module name.
#
test_runner_user
:
jenkins
test_suite_args
:
[
'
unit'
]
test_shard_args
:
[
'
shard_1'
]
edx_platform_base_path
:
/home/jenkins
clone_repo
:
yes
playbooks/roles/test_build_server/meta/main.yml
0 → 100644
View file @
f7bc5d09
---
#
# edX Configuration
#
# github: https://github.com/edx/configuration
# wiki: https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
##
# Role includes for role test_build_server
#
# Example:
#
# dependencies:
# - {
# role: my_role
# my_role_var0: "foo"
# my_role_var1: "bar"
# }
#### INTENTIONALLY LEFT BLANK ####
# Since this is a test role, it should not install anything extra onto the
# target machine, thus altering the system under test. Be careful when
# adding dependencies.
playbooks/roles/test_build_server/tasks/main.yml
0 → 100644
View file @
f7bc5d09
---
#
# edX Configuration
#
# github: https://github.com/edx/configuration
# wiki: https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
#
#
# Tasks for role test_build_server
#
# Overview:
#
#
# Dependencies:
#
#
# Example play:
#
#
-
name
:
Create shallow clone of edx-platform
git
:
>
repo=https://github.com/edx/edx-platform.git
dest={{ edx_platform_base_path }}/shallow-clone
version=master
depth=1
sudo_user
:
"
{{
test_runner_user
}}"
-
name
:
run edx tests
shell
:
"
export
TEST_SUITE=unit
&&
scripts/all-tests.sh"
args
:
chdir
:
"
{{
edx_platform_base_path
}}/shallow-clone"
sudo_user
:
root
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment