-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Added DuffleToolInstaller Task #9287
Conversation
Can you ensure the codeowners file is updated with the new tasks that are being introduced. |
Tasks/DuffleInstallerV0/Strings/resources.resjson/en-US/resources.resjson
Show resolved
Hide resolved
{ | ||
"dependencies": { | ||
"@types/node": "^6.0.101", | ||
"@types/q": "^1.5.0", |
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.
do you need types as dependencies or devdependencies?
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.
dependencies.
import { download } from 'utility-common/downloadutility'; | ||
|
||
const DuffleToolName = 'duffle'; | ||
const DuffleLatestReleaseUrl = 'https://api.github.com/repos/deislabs/Duffle/releases/latest'; |
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.
kubernetes task had this problem, we had to download all releases, if we are supporting >= or == kind of notation. deepak can help in this. for your today check-in this may be okay
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.
Yes. I will move that code to common and will use here once it checked-in.
return tl.getVariable('agent.tempDirectory') || os.tmpdir(); | ||
} | ||
|
||
function getExecutableExtension(): string { |
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.
common library
29143f8
to
a480ee8
Compare
No description provided.