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

Added DuffleToolInstaller Task #9287

Merged
merged 2 commits into from
Mar 7, 2019
Merged

Added DuffleToolInstaller Task #9287

merged 2 commits into from
Mar 7, 2019

Conversation

vithati
Copy link
Member

@vithati vithati commented Jan 9, 2019

No description provided.

@kmkumaran
Copy link
Member

Can you ensure the codeowners file is updated with the new tasks that are being introduced.
https://github.com/Microsoft/azure-pipelines-tasks/blob/master/.github/CODEOWNERS

@vithati vithati changed the title Added Duffle task. Added DuffleToolInstaller Task Mar 4, 2019
Tasks/DuffleInstallerV0/ThirdPartyNotices.txt Show resolved Hide resolved
{
"dependencies": {
"@types/node": "^6.0.101",
"@types/q": "^1.5.0",
Copy link
Member

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?

Copy link
Member Author

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';
Copy link
Member

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

Copy link
Member Author

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 {
Copy link
Member

Choose a reason for hiding this comment

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

common library

Tasks/DuffleInstallerV0/task.json Show resolved Hide resolved
@vithati vithati force-pushed the users/vithati/duffle branch from 29143f8 to a480ee8 Compare March 7, 2019 09:43
@vithati vithati merged commit c74d2fb into master Mar 7, 2019
@vithati vithati deleted the users/vithati/duffle branch March 7, 2019 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants