-
Notifications
You must be signed in to change notification settings - Fork 447
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
fix the addresss of the BuildService #7367
Conversation
url = $"http://{ManagedKubernetesBuildServiceName}.{ManagedKubernetesBuildServiceNamespace}.svc.cluster.local:{ManagedKubernetesBuildServicePort}/operations/settriggers"; | ||
var buildServiceHostname = | ||
_environment.GetEnvironmentVariable(EnvironmentSettingNames.BuildServiceHostname); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this to environment extensions and add tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Could you have a look? @pragnagopa
Please link the issue in the host repo |
…onmnetSetttingNames
@@ -149,6 +149,18 @@ public void IsPersistentStorageAvailable_IsLinuxWithStorage_ReturnsTrue() | |||
Assert.True(environment.IsPersistentFileSystemAvailable()); | |||
} | |||
|
|||
[Fact] | |||
public void IsBuildServiceHostname_Returns_ConfiguredValue() | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: use [Theory]
- use inline data
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Looks good? or modify it more?
@TsuyoshiUshio -please take a look at the failed unit tests. Ok to Ignore JIT trace test |
@fabiocav - Windows JitTrace file test is failing. Ok to skip this test for Linux hotfix? As part of next release we can enable this test and regenerate JITTrace ? |
The second PR doesn't cause Jit test fails. Close this PR. |
Update the Kubernetes Environment Build Service URL.
Keep the current behavior by default.
Also fix the wrong '/operations/settriggers' It should be '/api/operations/settriggers'
CC: @pragnagopa
Fix
Resolves #7360
https://github.com/microsoft/k4apps/issues/556
Pull request checklist