Skip to content

Commit

Permalink
add custom, redblack strategies to titus
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherchrisberry authored and tomaslin committed Mar 16, 2018
1 parent 372fcd6 commit 08011ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion titus.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const angular = require('angular');

import { CLOUD_PROVIDER_REGISTRY } from '@spinnaker/core';
import { CLOUD_PROVIDER_REGISTRY, DeploymentStrategyRegistry } from '@spinnaker/core';

import { TITUS_MIGRATION_CONFIG_COMPONENT } from './migration/titusMigrationConfig.component';
import { TITUS_APPLICATION_NAME_VALIDATOR } from './validation/applicationName.validator';
Expand Down Expand Up @@ -66,3 +66,5 @@ module.exports = angular.module('spinnaker.titus', [
}
});
});

DeploymentStrategyRegistry.registerProvider('titus', ['custom', 'redblack']);

0 comments on commit 08011ee

Please sign in to comment.