Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
27 changes: 27 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Contribution Guide

This document expains the current testing process (as extensions are painfully hard to test).

Currently the process works the following way:

- CI builds the task artifacts (the task folders)
- Build the CredentialProvider F# project
- Build the `Common` npm package (`npm install && npm pack`)
- Copy the `Common`-npm package to `_build/`
- Call `npm install` for all `Tasks/<Task>.dev` folders (references the `Common` package)
- Call `tsc` for all relevant task folders
- Copy the `Tasks/<Task>.dev` folder to `Tasks/<Task>` and remove files we don't want in our task
- zip everything into `publish/tasks.zip`

- CD Release process
- extract `publish/tasks.zip`
- packaged via extension manifest templates (see `tfx/ext-*.json`) and variables
- push packages to marketplace (we can package them as `public` and as `private` extensions)

Our release process looks like this:

CI triggers on every change
-> CD for "DogFooding" Stage
-> Manual push (empty commit or space change) to https://dev.azure.com/fakebuild/FSProjects/_git/Test_Extensions
-> Some testing CI processes are triggered with the new extensions
-> When all CIs report green manual approval to CD for "Marketplace" Stage is given
4 changes: 4 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release notes

## 1.4.0

* Make usage with yaml easier

## 1.3.15

* Fix credential provider after rebranding.
Expand Down
4 changes: 2 additions & 2 deletions tfx/ext-fake-build.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
{ "path": "FAKE5Vault" }
],
"contributions": [
{ "id": "e5090f4d-0f56-4401-9bbc-d7af2b5c1bd1",
{ "id": "fake5",
"type": "ms.vss-distributed-task.task",
"targets": [ "ms.vss-distributed-task.tasks" ],
"properties": { "name": "FAKE5Vault" }
},
{ "id": "dd88f622-7838-44dc-96d6-2372af78775b",
{ "id": "fake5-vault",
"type": "ms.vss-distributed-task.task",
"targets": [ "ms.vss-distributed-task.tasks" ],
"properties": { "name": "FAKE5" }
Expand Down
14 changes: 7 additions & 7 deletions tfx/ext-fsharp-helpers-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,37 +32,37 @@
{ "path": "PaketCredentialCleanup" }
],
"contributions": [
{ "id": "26d2a628-d5fe-4d5a-943d-33c78b2d76f3",
{ "id": "fake5-vault",
"type": "ms.vss-distributed-task.task",
"targets": [ "ms.vss-distributed-task.tasks" ],
"properties": { "name": "FAKE5Vault" }
},
{ "id": "a2dadf20-1a83-4220-a4ee-b52f6c77f3cf",
{ "id": "fake5",
"type": "ms.vss-distributed-task.task",
"targets": [ "ms.vss-distributed-task.tasks" ],
"properties": { "name": "FAKE5" }
},
{ "id": "1ba72b0a-f476-4a91-90a0-b8e7a0cc4339",
{ "id": "fake4",
"type": "ms.vss-distributed-task.task",
"targets": [ "ms.vss-distributed-task.tasks" ],
"properties": { "name": "FAKE4Runner" }
},
{ "id": "1ba72b0a-f476-4a91-90a0-b8e7a0cc4338",
{ "id": "paket-restore",
"type": "ms.vss-distributed-task.task",
"targets": [ "ms.vss-distributed-task.tasks" ],
"properties": { "name": "PaketRestore" }
},
{ "id": "1ba72b0a-f476-4a91-90a0-b8e7a0cc4337",
{ "id": "fsharp-script",
"type": "ms.vss-distributed-task.task",
"targets": [ "ms.vss-distributed-task.tasks" ],
"properties": { "name": "FSharpScript" }
},
{ "id": "5bfdd7ca-9bf4-40f7-b753-fd674e7ff85c",
{ "id": "paket-credential-manager",
"type": "ms.vss-distributed-task.task",
"targets": [ "ms.vss-distributed-task.tasks" ],
"properties": { "name": "SetPaketCredentialProvider" }
},
{ "id": "33416f37-5fe8-488d-a2aa-48f52e7a14f9",
{ "id": "paket-credential-cleanup",
"type": "ms.vss-distributed-task.task",
"targets": [ "ms.vss-distributed-task.tasks" ],
"properties": { "name": "PaketCredentialCleanup" }
Expand Down
6 changes: 3 additions & 3 deletions tfx/ext-paket.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@
{ "path": "PaketCredentialCleanup" }
],
"contributions": [
{ "id": "90d5ae45-3fc2-4ede-b572-9a57379fbf8a",
{ "id": "paket-restore",
"type": "ms.vss-distributed-task.task",
"targets": [ "ms.vss-distributed-task.tasks" ],
"properties": { "name": "PaketRestore" }
},
{ "id": "c2aea098-6aab-4cd3-9a0c-57b074df3df5",
{ "id": "paket-credential-manager",
"type": "ms.vss-distributed-task.task",
"targets": [ "ms.vss-distributed-task.tasks" ],
"properties": { "name": "SetPaketCredentialProvider" }
},
{ "id": "1c4d173c-798c-4636-a842-2da42eb2c20e",
{ "id": "paket-credential-cleanup",
"type": "ms.vss-distributed-task.task",
"targets": [ "ms.vss-distributed-task.tasks" ],
"properties": { "name": "PaketCredentialCleanup" }
Expand Down