Permalink
Switch branches/tags
Nothing to show
Commits on May 26, 2017
  1. Bump Rubocop to 0.47.1

    Gerg committed May 26, 2017
  2. Upgrade Rubocop to 0.46

    [#145974963]
    Gerg committed May 25, 2017
Commits on May 25, 2017
  1. Remove two DEA/NATS integration tests

    [#146110053]
    
    Signed-off-by: Lyle Franklin <lfranklin@pivotal.io>
    tcdowney committed with ljfranklin May 25, 2017
  2. Fix: ensure staging tasks respect cli inputs

    - this covers memory, disk usage, and environment variables
    
    [#146125789]
    
    Signed-off-by: Aakash Shah <ashah@pivotal.io>
    ericpromislow committed with bot May 25, 2017
  3. Add audit events for Build and Droplet create

    - Droplet Create event existed previous to /v3/builds track, now
      re-added
    - Generate the droplet.create event when the droplet is actually created, not when
      processing POST /v3/builds
    - Refactored staging_completion_handler_spec to use shared examples
    
    [#143270215]
    
    Signed-off-by: Lyle Franklin <lfranklin@pivotal.io>
    Eric Promislow committed with ljfranklin May 23, 2017
  4. Remove NOT NULL constraint from route_mappings.app_port

    - This caused errors during a rolling deploy as old CC code was setting
      app_port to nil
    - These migrations have not yet been released so we changed the previous
      migration to not have the null constraint and manually fixed CI envs
    
    [#145768953]
    
    Signed-off-by: Tim Downey <tdowney@pivotal.io>
    ljfranklin committed with tcdowney May 25, 2017
  5. Update rubocop to 0.45

    - Disable ShadowedException because it causes RuboCop to crash
    
    [#145974963]
    Gerg committed May 25, 2017
  6. Upgrade rubocop to 0.44

    [#145974963]
    Gerg committed May 24, 2017
  7. Upgrade Rubocop to 0.43

    - Unify on Integer type in preparation for Ruby 2.4
    - Disable SafeNavigation because the auto-correct introduces syntax
    errors
    - Disable VariableNumber because it does not auto-correct
    
    [#145974963]
    Gerg committed May 24, 2017
  8. Print the name of the new migration file

    Makes it easier to copy the name and edit it.
    
    Signed-off-by: Eric Promislow <eric.promislow@gmail.com>
    ljfranklin committed with ericpromislow May 25, 2017
  9. Add creator-related fields to Build object

    - Includes user's GUID, name, and email.
    
    [#144061995]
    
    Signed-off-by: Eric Promislow <eric.promislow@gmail.com>
    Signed-off-by: Lyle Franklin <lfranklin@pivotal.io>
    ljfranklin committed May 25, 2017
Commits on May 24, 2017
  1. Handle UAA unavailability when fetching usernames

    - Fixes a bug where CC would return a 500 - UnknownError when UAA was
      unreachable while fetching usernames for the various /users endpoints
      by updating existing error handling that would omit "username" from
      the response to handle additional exception types
    
    [#143518959]
    tcdowney committed May 24, 2017
  2. V2 docs: use a more realistic security group example

    [finishes #145965925]
    jenspinney committed May 24, 2017
  3. bump to 2.84.0

    capi-bot committed May 24, 2017
  4. bump to 3.19.0

    capi-bot committed May 24, 2017
  5. Stop duplicating mapped routes for docker apps

    - CC was creating multiple duplicate mapped routes for docker apps when
      no port was specified. Our uniqueness validation didn't check against
      null values for app_port. This meant the uniqueness validation did not catch
      mapped routes with the same app_guid, route_guid, and process_type.
    - We created a migration that sets app_port to -1 for all existing
      mapped routes.
    - We added db constraints to default app_port to -1 for mapped routes and no
      longer allow null values
    
    [finishes #145768953]
    
    Signed-off-by: Tim Downey <tdowney@pivotal.io>
    anniesing committed with tcdowney May 24, 2017
  6. Ensure usage event is emitted before sending stop stage request

    [#143270247]
    
    Signed-off-by: Aakash Shah <ashah@pivotal.io>
    ljfranklin committed with aashah May 24, 2017
  7. Emit STAGING_STOPPED usage event when staging is canceled

    [#143270247]
    
    Signed-off-by: Lyle Franklin <lfranklin@pivotal.io>
    aashah committed with bot May 24, 2017
  8. Consolidate build cancel logic into Action

    [#143270247]
    
    Signed-off-by: Aakash Shah <ashah@pivotal.io>
    ljfranklin committed with bot May 24, 2017
  9. Fix ability to stop build when deleting app

    [#143270247]
    
    Signed-off-by: Lyle Franklin <lfranklin@pivotal.io>
    aashah committed with bot May 23, 2017
  10. Bump rubocop to 0.42

    - Disable NumericPredicate because it does not match our conventions
    - Disable TernaryParentheses because we have complex ternaries. We can
    re-enable when it supports require_parentheses_when_complex
    
    [#145974963]
    Gerg committed May 24, 2017
Commits on May 22, 2017
  1. Set buildpack fields on staging usage events

    - The build had an out of date droplet that was affecting the way we set
    our buildpack_guid and buildpack_name. We reloaded the build droplet to
    ensure they stay in sync.
    - Changes references from App to ProcessModel for clarity
    
    [finishes #143270247]
    
    Signed-off-by: Annie Sing <asing@pivotal.io>
    matt-royal committed with bot May 22, 2017
  2. Fix indentation in docs

    [finishes #141461745]
    
    Signed-off-by: Michael Xu <mxu@pivotal.io>
    jenspinney committed with mikexuu May 22, 2017
  3. Add network policy api to root controller

    [#145787165]
    
    Signed-off-by: Jen Spinney <jennifer.spinney@suse.com>
    mikexuu committed with jenspinney May 22, 2017
  4. Completing tasks are not affected by quotas

    * Tasks being transitioned to a final state (SUCCEEDED or FAILED) were
    being double-counted when calculating whether the org or space has
    sufficient memory relative to a quota.
    
    [fixes #145731927]
    
    Signed-off-by: Aakash Shah <ashah@pivotal.io>
    tcdowney committed with aashah May 22, 2017
  5. Validate buildpack lifecycle data relationship

    A BuildpackLifecycleDataModel can be associated with either an AppModel
    or a BuildModel and its resulting DropletModel. Validation did not
    account for this before
    
    [Finishes #141461745]
    matt-royal committed May 22, 2017
Commits on May 20, 2017
  1. Correctly display the droplet stack in the API

    - Deprecate Droplet#buildpack_receipt_stack_name and set a reminder test
    to drop the column
    - Always record the stack on Droplet#buildpack_lifecycle_data, even if
    none was specified and we're using the app's or the default
    
    [#141461745]
    matt-royal committed May 20, 2017
  2. Rearrange specs [#141461745]

    matt-royal committed with bot May 19, 2017
  3. Ensure buildpack list manipulations don't deadlock

    - Remove separate DB connection for Lockings. This was introduced for
    long-running transactions from the HA clock (which no longer users
    Lockings)
    - Remove unneeded rows from Lockings table in seed file
    
    [#143674115]
    
    Signed-off-by: Eric Promislow <eric.promislow@gmail.com>
    Gerg committed with ericpromislow May 19, 2017
Commits on May 19, 2017
  1. Add read permission to service-instance permissions

    - previously, read_permissions was actually permissions to manage
    - split into manage_permissions and read_permissions
    
    [#141794109]
    mikexuu committed May 19, 2017
Commits on May 18, 2017
  1. Set a 600 sec default for cc.jobs.diego_sync.timeout_in_seconds

    - Previously this job was using the global timeout default of 4 hours
      which was causing the diego sync job not to run frequently enough whenever
      it died prematurely
    
    [#145569745]
    
    Signed-off-by: Eric Promislow <eric.promislow@gmail.com>
    tcdowney committed with ericpromislow May 18, 2017
  2. Create start and stop usage events for builds

    - Moved from droplets since builds now represent that staging process.
    
    [#143270247]
    
    Signed-off-by: Annie Sing <asing@pivotal.io>
    Gerg committed with anniesing May 18, 2017
  3. Fix rubocop error

    ljfranklin committed May 18, 2017