mozilla-services/sync-tps-setup

Name: sync-tps-setup

Owner: Mozilla Services

Description: Setup scripts to run https://developer.mozilla.org/en-US/docs/Mozilla/Projects/TPS_Tests on an Ubuntu 14.04 LTS host

Created: 2017-11-17 18:14:13.0

Updated: 2018-05-16 21:53:10.0

Pushed: 2018-05-16 21:53:08.0

Homepage: null

Size: 28

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

TPS automation

TPS is Testing and Performance for (Firefox) Sync. It's a test suite that lives in mozilla-central. Documentation for TPS is on MDN at https://developer.mozilla.org/en-US/docs/Mozilla/Projects/TPS_Tests.

This automation is designed to run TPS from a Docker container and includes a Jenkinsfile to enable execution from a Jenkins instance. It is used by the Firefox Test Engineering Team Jenkins CI system and executed once daily via cron.

PLEASE NOTE: Config files for the STAGE and PROD environments are stored as credentials in the Firefox Test Jenkins and backed up to our team LastPass account.

For more info, contact rpapa or kthiessen

Docker

Summary

The Sync TPS tests will be downloaded from mozilla-central and executed from within a Docker container.

Building Docker
er build -t firefoxtesteng/sync-tps-setup .
Running Docker

STAGE

_CONFIG=`cat stage-config.json` 
er run -e "TEST_ENV=stage" -e "TEST_CONFIG=${TEST_CONFIG}" firefoxtesteng/sync-tps-setup

or

PROD

_CONFIG=`cat prod-config.json`
er run -e "TEST_ENV=prod" -e "TEST_CONFIG=${TEST_CONFIG}" firefoxtesteng/sync-tps-setup
Running Docker via Jenkins

Jenkins execution is configured via the Jenkinsfile included in this repo. You can specify all your job configurations options via this file.

A few things of Note:

triggers

To run this job on a cron schedule, set cron values here.

environment

You will need to create a few of the environment variables in this section. They begin with: “SYNC_TPS_”

post

Configure your email confirmations here

changed

Turn IRC notifications on / off here

Firefox Test Engineering Jenkins

Schedule


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.