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

Add datasources #641

Merged
merged 15 commits into from
Jul 2, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Extensions/DataSources/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
npm-debug.log
santoshTYSS marked this conversation as resolved.
Show resolved Hide resolved
node_modules/
dist/
*.vsix
29 changes: 29 additions & 0 deletions Extensions/DataSources/azure-devops-extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"manifestVersion": 1,
"id": "samples",
santoshTYSS marked this conversation as resolved.
Show resolved Hide resolved
"publisher": "Santosh",
santoshTYSS marked this conversation as resolved.
Show resolved Hide resolved
"scopes": [
"vso.project",
"vso.serviceendpoint_query"
],
"version": "1.0.0",
"name": "Data Sources",
santoshTYSS marked this conversation as resolved.
Show resolved Hide resolved
"description": "Azure DevOps extension sample",
santoshTYSS marked this conversation as resolved.
Show resolved Hide resolved
"categories": [
"Azure Pipelines"
],
"targets": [
{
"id": "Microsoft.VisualStudio.Services"
}
],
"icons": {
"default": "logo.png"
santoshTYSS marked this conversation as resolved.
Show resolved Hide resolved
},
"files": [
{
"path": "dist",
santoshTYSS marked this conversation as resolved.
Show resolved Hide resolved
"addressable": true
}
]
}
13 changes: 13 additions & 0 deletions Extensions/DataSources/azure-pipelines-steps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
steps:
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need this file?

Copy link
Member

Choose a reason for hiding this comment

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

+1
Can we instead add a markdown file to document these build steps?

- task: NodeTool@0
inputs:
versionSpec: '8.12.0'
displayName: 'Install Node.js'

- script: |
npm ci
displayName: 'Install dependencies'

- script: |
npm run build
displayName: 'Compile and package'
Binary file added Extensions/DataSources/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading