Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support creation of cross hostedzone Route53 alias records. #575

Open
wants to merge 41 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
f8cd91b
Support creation of cross hostedzone Route53 alias records.
May 22, 2014
fd4da2e
Add missing argument to the delete of a cross hosted zone alias record.
May 22, 2014
10d4ec9
Reformat extra long lines.
May 22, 2014
678f398
an automated deployment should execute arbitrary steps
claymccoy Apr 18, 2014
b50b2f4
introduce better spacing around inputs for specifying a deployment
claymccoy May 19, 2014
d4508a9
give option to show all AMIs for auto deployment
claymccoy May 21, 2014
dcf72cd
during auto deployment, next ASG should not be disabled even if previ…
claymccoy May 21, 2014
60b1bc6
maintain selects per subnet
claymccoy May 22, 2014
72cf174
better display of selected values in selects
claymccoy May 22, 2014
052ca20
fix tests
claymccoy May 23, 2014
35899c3
add comment
claymccoy May 23, 2014
3698cc9
get all ELBs from AWS
claymccoy May 23, 2014
009bbab
Moved user data provider implementations into a userdata package.
May 2, 2014
25c02e6
Refactored junit RelationshipTests to spock RelationshipSpec
May 5, 2014
10a838b
Stopped using a deprecated method
May 5, 2014
66052c8
Removing assumption that user data has unix "export" keyword.
May 13, 2014
27a7bd7
ASGARD-1309 Platform-independent user data format
May 14, 2014
ba244c4
Declared PropertiesUserDataProvider managed bean for use by config file
May 24, 2014
c057db4
The list of selectable VPCs for a new Security Group is now filtered …
claymccoy May 27, 2014
58717bb
ASGARD-1316 - Account-specific Windows user data format
May 27, 2014
d53e086
Triggering another pull request build
May 27, 2014
1fb3cf2
capacity should be supplied to deployment template
claymccoy May 28, 2014
135a6af
Logging for new dev runtime environment
May 20, 2014
569653f
AllowRole laptop unit tests
May 19, 2014
5cfb760
Removed extra blank line
May 28, 2014
5b3e6c8
Enabled the option of targeting multiple target account for image rep…
Jun 2, 2014
763e6a0
Release notes for asgard-1.5
Jun 5, 2014
41bb95d
Fixed typo in variable name
Jun 5, 2014
22990f4
SWF task was not found when it had no log messages
claymccoy Jun 6, 2014
c62b01c
Suggested fix for issue #334
OskarKjellin Jun 6, 2014
fd5dd75
Preserve the old signature for backwards compability
OskarKjellin Jun 6, 2014
efbeaff
Fixed style
OskarKjellin Jun 6, 2014
2cf47d8
Update AwsAutoScalingService.groovy
OskarKjellin Jun 6, 2014
5af97fb
Surpress errors for trailing whitespace
OskarKjellin Jun 6, 2014
2bd6972
Merge config with those on ami
OskarKjellin Jun 8, 2014
4555d6c
Added tests for merge
OskarKjellin Jun 9, 2014
09f95a3
Removed a tab
OskarKjellin Jun 9, 2014
5a597d9
Removed a tab
OskarKjellin Jun 9, 2014
14c421c
Revert "Merge pull request #589 from OskarKjellin/patch-1"
claymccoy Jun 19, 2014
6b72eb2
Do not disable the next ASG if there is a problem enabling the previo…
claymccoy Jun 19, 2014
01872f1
fixes to keep test from stalling in Coudbees
claymccoy Jun 20, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
1.5

Features
- Platform-independent user data provider option (formatted like a properties file)
- Ability to run Asgard in one AWS account and AssumeRole to manage a different account
- Automated deployment can accept arbitrary user-chosen steps
- Each application can have an optional application group
- Each application can have optional tags
- Enable configurable maximum number of ASGs per cluster
- REST endpoints for retrieving a deployment workflow plan JSON blob, and for starting a workflow with that JSON
- Additional ways to configure Asgard to get AWS credentials, including from an IAM profile
- Updated list of AWS instance types
- Links to security groups include both name and ID
- Made it possible to skip cache loading during cache loading, using runtime flag API
- Support for HTTPS ELB listeners (Thanks Greg Dziemidowicz)
- Configurable AWS API socket timeout value
- Shared visibility all of in-memory running tasks across Asgard instances in a cluster
- Filterable instance reservations by offering type


Infrastructure
- Turn off noisy, legacy task completion emails
- Introduced AngularJS for auto deployment screens, with Grunt build and JavaScript unit tests
- Asgard's health check should fail while initializing, but then should pass forever, for desired load balancer behavior
- Asgard can register with Eureka service for conventional discoverability
- "Wither" function to have Asgard delete itself after it finishes all running in-memory tasks
- Separate SimpleDB service from Application service
- Store SWF tokens in database
- Ability to set arbitrary headers via RestClientService (Thanks e0d)
- Upgraded frigga library to allow for letters in version strings of AMI appversion tags
- Converted more JUnit tests to Spock


Bug Fixes
- List of VPCs for security group creation only includes VPCs that have conventionally labeled subnets
- List of ELBs over 400 can be listed successfully
- List of RDS DB instances over 100 can be listed successfully
- Rolling push can work with spot instances (Thanks Dale Wijnand)
- Force U.S. dollars for Amazon-listed currency amounts (Thanks Dale Wijnand)
- Allow an initial size of 0 for creating the next ASG in a cluster


1.4.2

Features
Expand Down
34 changes: 33 additions & 1 deletion app/scripts/controllers/deployment/detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,21 @@ angular.module('asgardApp')
.controller('DeploymentDetailCtrl', function ($scope, $routeParams, $http, $timeout) {
var deploymentId = $routeParams.deploymentId;
var shouldPoll = true;
$scope.readOnlyDeploymentSteps = true;
$scope.targetAsgTypes = ["Previous", "Next"];

var retrieveDeployment = function() {
$http.get('deployment/show/' + deploymentId + '.json').success(function(data, status, headers, config) {
$scope.deployment = data;
shouldPoll = !$scope.deployment.done;
var text ='';
var text = '';
angular.forEach($scope.deployment.log, function(value) {
text = text + value + '\n';
});
$scope.logText = text;
});
};

var poll = function() {
retrieveDeployment();
if (shouldPoll) {
Expand All @@ -24,6 +27,14 @@ angular.module('asgardApp')
};
poll();

$scope.getLogForStep = function(stepIndex) {
return $scope.deployment.logForSteps[stepIndex];
};

$scope.stepUrl = function(type) {
return '/views/deployment/' + type + 'Step.html';
};

$scope.encodedWorkflowExecutionIds = function() {
var runId = $scope.deployment.workflowExecution.runId;
var workflowId = $scope.deployment.workflowExecution.workflowId;
Expand All @@ -42,6 +53,27 @@ angular.module('asgardApp')
judgeDeployment('proceed');
};

$scope.getCurrentStep = function() {
return $scope.deployment.logForSteps.length - 1;
};

$scope.getStepStatus = function(stepIndex) {
var currentStep = $scope.getCurrentStep();
if (stepIndex < currentStep) {
return "success";
}
if (stepIndex === currentStep) {
if ($scope.deployment.status === "completed" && currentStep === $scope.deployment.steps.length - 1) {
return "success";
}
if ($scope.deployment.status !== "running") {
return "failure";
}
return "running";
}
return "queued";
};

var judgeDeployment = function(judgment) {
$http.post('deployment/' + judgment, {
id: deploymentId,
Expand Down
Loading