Coder Social home page Coder Social logo

nyet's Introduction

Nyet: Not YETI

CloudFoundry uses YETI test suite for broad functionality testing.

Nyet stands for Not YETI and is a fast and simple way to test whether CloudFoundry deployment was successful.

Nyet failure indicates a bad deployment.

Nyet CRUDs a single Sinatra application.

Initial setup

  • Check your ~/workspace/deployments-aws/[workstation name] directory for a nyet_environment file.

  • Source that file to read in the environment variables (which are declared below)

  • If that file doesn't exist, create it! you get the user/pass from cf-aws.yml (the scim admin user)

  • You will need gcf in your $PATH for the loggregator_spec to work.

Running Against an Existing Organization

Provide existing organization and user. You do not have to provide admin credentials! (This is recommended way to run against production environment.)

NYET_TARGET="http://api.target.com"
NYET_ORGANIZATION_NAME="some-org-name"

NYET_REGULAR_USERNAME="username"
NYET_REGULAR_PASSWORD="password"

Running Without Existing Organization

Provide admin credentials and regular user credentials. Admin credentials will be used to create and delete nyet-org-* organization for every test run.

NYET_TARGET="http://api.target.com"

NYET_ADMIN_USERNAME="admin-username"
NYET_ADMIN_PASSWORD="admin-password"

NYET_REGULAR_USERNAME="username"
NYET_REGULAR_PASSWORD="password"

Misc options

  • NYET_APPS_DOMAIN allows to specify domain that serves nyet apps

  • NYET_RAISE_ALL_ERRORS turns on aggressive error reporting

  • NYET_TRACE will enable CFoundry client trace (which goes to stderr)

DataDog Monitoring

Several data points can be recorded to DataDog account. Provide following environment variables to turn it on:

NYET_DATADOG_API_KEY="api-key"
NYET_DATADOG_APP_KEY="app-key"
DEPLOYMENT_NAME="deployment-name"

nyet's People

Contributors

zrob avatar matthewmcnew avatar vito avatar mark-rushakoff avatar dbailey avatar cf-frameworks avatar lvarvel avatar garfieldlinux avatar d avatar modelseer avatar mreider avatar thansmann avatar

Watchers

James Cloos avatar Guillaume Jacquet avatar

Forkers

gjacquet

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.