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

Deploy images with exact version (not only latest/build number) #75

Merged
merged 48 commits into from
Jan 17, 2019

Conversation

omerlh
Copy link
Contributor

@omerlh omerlh commented Jan 14, 2019

close #74

@@ -80,6 +80,7 @@ public Startup(IHostingEnvironment env)
Configuration.GetValue<int>("KeyManagement:KeyVault:MaximumDataLength"));
case "AESKey":
var key = Configuration.GetValue<string>("KeyManagement:AES:Key");
Console.WriteLine($"AES key used: {key}");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why you don't use the logger?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is called before the logger is initialized

Configuration = builder.Build();

var version = Assembly.GetExecutingAssembly().GetName().Version.ToString();
Console.WriteLine($"Kamus Encryptor API {version} starting");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why you don't use the logger?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above...

@@ -80,6 +80,7 @@ public Startup(IHostingEnvironment env)
Configuration.GetValue<int>("KeyManagement:KeyVault:MaximumDataLength"));
case "AESKey":
var key = Configuration.GetValue<string>("KeyManagement:AES:Key");
Console.WriteLine($"AES key used: {key}");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Console.WriteLine($"AES key used: {key}");

@omerlh omerlh merged commit adcca46 into master Jan 17, 2019
@omerlh omerlh deleted the api_version branch January 17, 2019 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move to versioned docker images
2 participants