Skip to content

Commit

Permalink
chore: Remove unused files, build extension
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed May 17, 2024
1 parent b146651 commit 0690d52
Show file tree
Hide file tree
Showing 24 changed files with 40 additions and 2,387 deletions.
39 changes: 35 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:
- main

jobs:
build:
name: Build
build-tools:
name: Build Tools
runs-on: windows-2022
steps:
- name: Checkout
Expand Down Expand Up @@ -58,12 +58,43 @@ jobs:
name: NuGet
path: .\artifacts

publish:
build-extensions:
name: Build Extensions
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Install tfx
working-directory: extensions/azuredevops
run: npm install tfx-cli@0.7.x -g --no-audit --no-fund

- name: npm install
working-directory: extensions/azuredevops
run: npm install tfx-cli@0.7.x -g --no-audit --no-fund

- name: Compile
working-directory: extensions/azuredevops
run: .\node_modules\.bin\tsc -project .\tsconfig.json --listEmittedFiles --locale en-US --isolatedModules

- name: Package Extension
working-directory: extensions/azuredevops
run: tfx extension create --json --no-color --output-path .\artifacts\Build.Tasks.$(GitVersion.MajorMinorPatch).vsix --override "{\"version\":\"$(GitVersion.MajorMinorPatch)\"}"

- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: extensions
path: .\artifacts

publish-tools:
name: Publish
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/master')) }}
runs-on: windows-latest
needs:
- build
- build-tools
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
11 changes: 0 additions & 11 deletions extensions/azuredevops/BREAKING_CHANGES.md

This file was deleted.

78 changes: 0 additions & 78 deletions extensions/azuredevops/CODE_OF_CONDUCT.md

This file was deleted.

86 changes: 0 additions & 86 deletions extensions/azuredevops/CONTRIBUTING.md

This file was deleted.

5 changes: 0 additions & 5 deletions extensions/azuredevops/GitVersion.yml

This file was deleted.

20 changes: 1 addition & 19 deletions extensions/azuredevops/overview.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,7 @@
This extensions gives acess the following build tasks :
This extensions gives access the following build tasks :

# Canary Updater
A task allowing to automatically update NuGet packages to the latest version.
The canary process is meant to be run in its own branch and is a two step process:
- Merge a working branch in the canary branch
- Use [NuGet.Updater](https://github.com/unoplatform/NuGet.Updater/blob/develop/src/NvGet.Tools.Updater/Readme.md) to update the packages to the latest matching version

# Release Notes Compiler
A task generating a simple set of release notes in the markdown format. By default, these notes contain the following information:
- The name and a link to the branch from which the build was run
- The commit id and a link to it
- A link the pipeline run where this task was executed
- Optionally, the name of an environment provided to the task
- Another release note file can also be appended to the notes generated.

A truncated version of the release notes can be generated to accomodate limitations from certain services.
# Website versioning
A task providing a custom solution for website versioning. It works as follows:
- At the location where the website is stored, a "versions" folder is created, in which a version-specific folder is created for the current version of the website being deployed
- The current version of the website is uploaded in the version folder
- The index page at the root of website is configured to redirect to the version folder
- Another index file is present in the versions folder, allowing access to all previous versions

This task currently only supports a website hosted in an Azure Storage account.
13 changes: 0 additions & 13 deletions extensions/azuredevops/releaseNotesCompiler/Readme.md

This file was deleted.

Binary file removed extensions/azuredevops/releaseNotesCompiler/icon.png
Binary file not shown.
22 changes: 0 additions & 22 deletions extensions/azuredevops/releaseNotesCompiler/package.json

This file was deleted.

Loading

0 comments on commit 0690d52

Please sign in to comment.