Skip to content

v6.0.0

Compare
Choose a tag to compare
@acosta11 acosta11 released this 21 Jul 00:10
46f2bb6

Notice

πŸ’₯πŸ’₯ Cloud Foundry acceptance tests (CATS) now works with cf CLI v7πŸ’₯πŸ’₯

This major release of CATS now works with cf CLI v7. As you may be aware, the cf CLI team recently release the much awaited v7 CLI that unlocks new app developer workflows for users who require granular control of their apps and other advanced deployment strategies. You can check out more @ https://docs.cloudfoundry.org/cf-cli/v7.html.

With this release, CATS NO longer supports running with cf CLI v6. Going forward, we will only support running with cf CLI v7. If you're running CATS in your pipelines, we recommend you update your cf CLI to v7 or pin to an older version of CATS < v6.0.0.

It would have not been possible without the hard work of folks on the cf CLI team, V3 Acceleration Team, and Release Integration to come together and make this happen.

New Tests

  • apps/piecemeal_app_creation_flow.go

    cover more granular app commands introduced in the v7 CLI/v3 API

  • apps/rolling_deploy.go

    cf push --strategy=rolling is a new feature in the V7 CF CLI

Updated Tests

Instead of pointing at each file with a change, we will record the general updates we had to make across multiple suites for the migration to cf CLI v7

  • cf push no longer uses the -d flag
  • cf buildpack uses 1-indexed references instead of 0-indexed
  • use the -space flag instead of a positional arg for cf security groups
  • use the -command flag for cf run-task
  • healthcheck no longer supports the none type, so we updated to process type
  • cf add-network-policy now uses a positional arg instead of the -destination-app flag

Deleted Tests

  • windows/set_start_command.go

    remove windows/set_start_command.go as it tests code that's handled in windows/worker.go

  • backend_compatibility/backend_compatibility.go

    this test was specifically testing if DEA droplets can be staged onto
    Diego, and moving forward Cloudfoundry will be abandoning DEAs all together.

Helpers updates

  • helpers/logs/logs_helper.go

    v7 no longer hits traffic controller; it uses log cache for all logging. This removes the config setting and switches to cf logs instead of cftail.

Other Updates

  • v3/buildpacks.go
    • We discovered capi no-bridge tests are no longer present in CATs, but the configuration and branching logic were not cleaned up.
  • backend_compatibility/backend_compatibility.go
    • With the deletion of the only tests in its suite, we also deleted the backend_compatibility flag from the cats configuration interface.
  • helpers/config/config.go

    v7 no longer hits the traffic controller; it uses log cache for all logging. This removes the config setting.