Skip to content

Commit

Permalink
release 1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenchristopher-zip committed Sep 25, 2022
1 parent cc3f354 commit 56ee926
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ spinnakerBundle {
pluginId = "zip.deployboard"
description = "Customization for Zip deploys"
provider = "https://github.com/Greenbax/zip-spinnaker-deployboard"
version = "1.0.6"
version = "1.0.7"
}
8 changes: 4 additions & 4 deletions plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"provider": "https://github.com/Greenbax/zip-spinnaker-deployboard",
"releases": [
{
"version": "1.0.6",
"date": "2022-09-25T05:39:02.930469Z",
"version": "1.0.7",
"date": "2022-09-25T06:00:21.758121Z",
"requires": "gate>=0.0.0,orca>=0.0.0,deck>=0.0.0",
"sha512sum": "b8325635689e0c4d0a8a1de03bd2e83c11ba5fd795ed6ea16a5905cb93b70a621fb28968bb05b5b4aef40f7097d5f0ea473b5f342adcfc0b36e8c93b37295ac5",
"sha512sum": "a912e628713b3a7c799e17399fc063f984d5661b427951eb38520adf371ebd9c71740f8b76252a51550695f1d9e9cadde3608c91ddf84b08a3e16d4b7ab59139",
"state": "",
"url": "https://github.com/Greenbax/zip-spinnaker-deployboard/releases/download/v1.0.6/zip-spinnaker-deployboard.zip"
"url": "https://github.com/Greenbax/zip-spinnaker-deployboard/releases/download/v1.0.7/zip-spinnaker-deployboard.zip"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class BranchStatus {
@Extension
public class SnapshotsApiExtension implements ApiExtension {
private String snapshotTableName = "zip-spinnaker-ci-builds";
private String deployStatusTableName = "zip-spinnaker-ci-status";
private String deployStatusTableName = "zip-spinnaker-ci-deploys";
private Integer buildLimit = 25;

public String id() {
Expand Down Expand Up @@ -151,10 +151,7 @@ public HttpResponse handle(HttpRequest httpRequest) {
}

public BranchStatus queryBranchStatus(String branch) {
QuerySpec spec = new QuerySpec().withKeyConditionExpression("branch = :branch_name")
.withValueMap(new ValueMap()
.withString(":branch_name", branch)
);
QuerySpec spec = new QuerySpec().withHashKey("branch", branch);

AmazonDynamoDB client = AmazonDynamoDBClientBuilder.standard().withRegion(Regions.US_EAST_2).withCredentials(WebIdentityTokenCredentialsProvider.create()).build();
DynamoDB dynamoDB = new DynamoDB(client);
Expand Down

0 comments on commit 56ee926

Please sign in to comment.