All Projects → travis-ci → Travis Web

travis-ci / Travis Web

Licence: mit
The Ember web client for Travis CI

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Travis Web

Esri Loader
A tiny library to help load ArcGIS API for JavaScript modules in non-Dojo applications
Stars: ✭ 400 (-31.62%)
Mutual labels:  ember
Ember Bootstrap
Ember-cli addon for using Bootstrap as native Ember components.
Stars: ✭ 475 (-18.8%)
Mutual labels:  ember
Kcov
Code coverage tool for compiled programs, Python and Bash which uses debugging information to collect and report data without special compilation options
Stars: ✭ 515 (-11.97%)
Mutual labels:  travis-ci
Ember Intl
Localization library for any Ember Application or Addon
Stars: ✭ 412 (-29.57%)
Mutual labels:  ember
Ember Cp Validations
Ember computed property based validations
Stars: ✭ 442 (-24.44%)
Mutual labels:  ember
Ember Engines
Composable Ember applications for ambitious user experiences
Stars: ✭ 484 (-17.26%)
Mutual labels:  ember
Ember Infinity
⚡️ Simple, flexible Infinite Scroll for Ember CLI Apps.
Stars: ✭ 368 (-37.09%)
Mutual labels:  ember
Ember.js
Ember.js - A JavaScript framework for creating ambitious web applications
Stars: ✭ 22,092 (+3676.41%)
Mutual labels:  ember
Ui
Rancher UI
Stars: ✭ 463 (-20.85%)
Mutual labels:  ember
Sharedrop
Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop
Stars: ✭ 5,222 (+792.65%)
Mutual labels:  ember
Knapsack
Knapsack splits tests evenly across parallel CI nodes to run fast CI build and save you time.
Stars: ✭ 430 (-26.5%)
Mutual labels:  travis-ci
How To Use Travis Ci
如何简单入门持续集成( Travis-CI ) http://travis-ci.org/
Stars: ✭ 440 (-24.79%)
Mutual labels:  travis-ci
Things.sh
Simple read-only comand-line interface to your Things 3 database
Stars: ✭ 492 (-15.9%)
Mutual labels:  travis-ci
Devops Python Tools
80+ DevOps & Data CLI Tools - AWS, GCP, GCF Python Cloud Function, Log Anonymizer, Spark, Hadoop, HBase, Hive, Impala, Linux, Docker, Spark Data Converters & Validators (Avro/Parquet/JSON/CSV/INI/XML/YAML), Travis CI, AWS CloudFormation, Elasticsearch, Solr etc.
Stars: ✭ 406 (-30.6%)
Mutual labels:  travis-ci
Ember Power Select
The extensible select component built for ember.
Stars: ✭ 521 (-10.94%)
Mutual labels:  ember
30 Seconds Web
Website infrastructure for 30-seconds projects.
Stars: ✭ 391 (-33.16%)
Mutual labels:  travis-ci
Fetch Suspense
A React hook compatible with React 16.6's Suspense component.
Stars: ✭ 479 (-18.12%)
Mutual labels:  travis-ci
Use React Router
React Hook for pub-sub behavior using React Router.
Stars: ✭ 575 (-1.71%)
Mutual labels:  travis-ci
Admin
Ghost's admin client
Stars: ✭ 531 (-9.23%)
Mutual labels:  ember
Cranium
🤖 A portable, header-only, artificial neural network library written in C99
Stars: ✭ 501 (-14.36%)
Mutual labels:  travis-ci

Travis CI ember web client

Build Status

Running the app

The app is developed using Ember CLI. It requires nodejs with npm installed.

In order to run the app you need to install dependencies with:

npm ci

And then install ember-cli globally in order to have access to the ember command:

npm install -g ember-cli

Now you can run the server:

ember serve

And open http://localhost:4200 in the browser.

Alternatively you can run ember build --watch and start the server with waiter/script/server

Waiter Workarounds

Should you encounter issues installing Puma while bundling Waiter on a recent OSX version, you need to tinker with Homebrew:

brew install openssl
brew link --force openssl

You should then be able to run bundle install as usual.

Running the app in private repos mode

At the moment Travis CI is available as two separate sites - https://travis-ci.org for Open Source projects and https://travis-ci.com for private projects. travis-web will connect to the Open Source version by default. In order to connect it to the API for private projects you need to setup your .env file.

Copy .env.example to .env

$ cp .env.example .env

Update the .env file to run the app in private repos mode:

TRAVIS_PRO=true

After setting up environment variables, you can run the app like so:

ember serve --ssl --ssl-key=ssl/server.key --ssl-cert=ssl/server.crt

One caveat here is that the command will start server with SSL, so the page will be accessible at https://localhost:4200 (note https part).

Running on SSL in general

Sometimes there is a need to test the app with an SSL connection. This is required to make Pusher work when running Travis CI Pro, but it may also be needed in other situations.

There's already an SSL certificate in the ssl directory, which is set for localhost host. If you want to use it, you can start the server with:

ember serve --ssl --ssl-key=ssl/server.key --ssl-cert=ssl/server.crt

In case you want your own certificate, you can follow the instructions posted here: https://gist.github.com/trcarden/3295935 and then point the server to your certificate with --ssl-key and --ssl-cert.

Running tests

To run the test suite execute:

ember test

You can also start an interactive test runner for easier development:

ember test --serve

Linting

  • npm run lint:hbs
  • npm run lint:js
  • npm run lint:js -- --fix

Feature Flags

travis-web is beginning the transition to use feature flags wherever it makes sense. To enable/disable/add/remove a feature flag for the application, you can edit the config/environment.js file. For instance, to enable some-feature, you would simply add/update the file like so:

  {
    featureFlags: {
      'some-feature': true
    }
  }

This uses the awesome ember-feature-flags addon under the hood, so be sure to read its own documentation for more information.

Debugging

Ember's default logging has been disabled in all environments by default and moved to a feature flag. To enable it, simply edit the debug-logging feature flag as mentioned previously in the Feature Flags section.

Deploying

ember-cli-deploy is available for deploying pull requests. See after_success in .travis.yaml and associated scripts for details. It uses the “lightning strategy” of deploying assets to S3 and index.html to a Redis server. You can deploy from your own machine too. First, update your .env file with the following variables:

AWS_KEY=key
AWS_SECRET=secret

Then run:

npm run deploy

After success, your deployment will be available at branch.test-deployments.travis-ci.org.

See the documentation for the full list of deployment environments and more details.

The Redis server is a modified version of waiter/lib/travis/web/app.rb. We will eventually replace that with travis-web-index and move to using ember-cli-deploy for all deployments.

Ember beta and canary deployments

Upon a merge to master, the application is built with the latest beta and canary versions of Ember, running against the production API. This uses the same infrastructure as the pull request deployments. You can visit these deployments at:

These deployments are also performed with the weekly cron build.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].