-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: New steps for Zip/NuGet pack (#276) feat:push step v6 (#277) feat: deploy release v6 (#278) feat: deploy tenant release v6 (#281) feat: await task (#282) feat: Run runbook step (#285) feat: Create release v6 (#283) chore: updated the way user agent strings are built for the v6 steps (#287) feat: push build information v6 (#284) chore: Added output variable definitions for the Pack steps feat: CLI installer step - v6 (#279) chore: added warning logs for use of additional arguments fields (#286) chore: fixed some pluralisation inconsistencies Co-authored-by: Ben Pearce <[email protected]>
- Loading branch information
1 parent
69eb8fa
commit 367e093
Showing
105 changed files
with
4,215 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ on: | |
required: true | ||
|
||
env: | ||
PACKAGE_VERSION: 5.2.${{ github.run_number }} | ||
OCTOPUS_CLI_SERVER: ${{ secrets.OCTOPUS_URL }} | ||
OCTOPUS_CLI_API_KEY: ${{ secrets.INTEGRATIONS_API_KEY }} | ||
PACKAGE_VERSION: 6.0.${{ github.run_number }} | ||
OCTOPUS_URL: ${{ secrets.OCTOPUS_URL }} | ||
OCTOPUS_API_KEY: ${{ secrets.INTEGRATIONS_API_KEY }} | ||
|
||
jobs: | ||
build: | ||
|
@@ -32,9 +32,9 @@ jobs: | |
outputs: | ||
package_version: ${{ steps.build.outputs.package_version }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16" | ||
cache: "npm" | ||
|
@@ -45,7 +45,7 @@ jobs: | |
npm ci | ||
npm run build -- --extensionVersion $PACKAGE_VERSION | ||
echo "::set-output name=package_version::$PACKAGE_VERSION" | ||
- uses: actions/upload-artifact@v2 | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: dist | ||
path: dist/ | ||
|
@@ -62,9 +62,9 @@ jobs: | |
matrix: | ||
os: [windows-2022, ubuntu-20.04, macos-11] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16" | ||
cache: "npm" | ||
|
@@ -88,21 +88,21 @@ jobs: | |
if: github.event_name == 'release' || (github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]') | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/download-artifact@v2 | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: dist | ||
path: dist | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16" | ||
cache: "npm" | ||
|
||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: "^1.17.7" | ||
go-version: "^1.19.5" | ||
|
||
- name: Embed octo portable | ||
run: | | ||
|
@@ -117,16 +117,11 @@ jobs: | |
- name: Create Packages | ||
id: create-packages | ||
run: | | ||
tar -czf OctoTFS.vsix.${{ needs.build.outputs.package_version }}.tar.gz ./dist/Artifacts/**/*.vsix | ||
tar -czf OctoTFS.vsix.${{ needs.build.outputs.package_version }}.tar.gz ./Artifacts/**/*.vsix | ||
tar -czf OctoTFS.publish.${{ needs.build.outputs.package_version }}.tar.gz ./publish.ps1 ./dist/extension-manifest*.json | ||
- name: Install Octopus CLI 🐙 | ||
uses: OctopusDeploy/[email protected] | ||
with: | ||
version: "*" | ||
|
||
- name: Push Package 🐙 | ||
uses: OctopusDeploy/push-package-action@v1.1.2 | ||
uses: OctopusDeploy/push-package-action@v3 | ||
with: | ||
space: "Integrations" | ||
packages: | | ||
|
@@ -143,7 +138,7 @@ jobs: | |
echo "::set-output name=release-note-file::$OUTPUT_FILE" | ||
- name: Create a release in Octopus Deploy 🐙 | ||
uses: OctopusDeploy/create-release-action@v1.1.1 | ||
uses: OctopusDeploy/create-release-action@v3 | ||
with: | ||
space: "Integrations" | ||
project: "Azure DevOps Extension" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
**/task.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
rm -r dist | ||
call npm run build -- --extensionVersion %* | ||
rm -r modules | ||
|
||
setlocal | ||
cd "%~dp0" | ||
powershell -NoProfile -ExecutionPolicy Unrestricted .\pack.ps1 LocalTest %* -setupTaskDependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
rm -r dist | ||
npm run build -- --extensionVersion $1 | ||
rm -r modules | ||
mkdir dist | ||
pwsh -NoProfile -ExecutionPolicy Unrestricted ./pack.ps1 LocalTest $1 -setupTaskDependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.