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

Switch to releases CDN #16

Merged
merged 4 commits into from
Sep 5, 2024
Merged
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Sheriff Azure DevOps Extension Changelog

## 0.0.7

* `InstallSheriffCLI` task updated to download Sheriff from releases.frontierhq.com.

## 0.0.6

* `SheriffPlan` and `SheriffApply` tasks updated to support workload identity federation authentication.
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ desired state configuration.
Installation
------------

The extension is available in the `Visual Studio Marketplace <https://marketplace.visualstudio.com/items?itemName=gofrontier.Sheriff>`_.
The extension is available in the `Visual Studio Marketplace <https://marketplace.visualstudio.com/items?itemName=frontier.Sheriff>`_.

-----
Usage
Expand Down
Binary file modified images/extension-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/large-extension-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
## About

This is an Azure DevOps extension that provides tasks for installing and running
[Sheriff](https://github.com/frontierhq/sheriff), a command line tool to
manage Microsoft Entra Privileged Identity Management (Microsoft Entra PIM)
using desired state configuration.
[Sheriff](https://frontierhq.com/products/sheriff), a command line tool to configure
and operate Microsoft Entra Privileged Identity Management (PIM) in automation.

## Usage

Expand Down
42 changes: 21 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"rimraf": "^5.0.1",
"shelljs": "^0.8.5",
"tempdir": "^2.0.0",
"tfx-cli": "^0.15.0",
"tfx-cli": "^0.17.0",
"winston": "^3.10.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions tasks/InstallSheriffCLI/InstallSheriffCLIV0/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tasks/InstallSheriffCLI/InstallSheriffCLIV0/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "install-sheriff-cli-task",
"version": "0.0.3",
"version": "0.0.4",
"description": "",
"scripts": {
"test": "run-p test:*",
Expand Down
6 changes: 2 additions & 4 deletions tasks/InstallSheriffCLI/InstallSheriffCLIV0/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ const { promisify } = require('util');

const finished = promisify(stream.finished);

const sas = 'sp=r&st=2024-01-01T00:00:00Z&se=2049-12-31T23:59:59Z&spr=https&sv=2022-11-02&sr=c&sig=Obnq5FJma2NJlE1k0PykIYlHbBcTA1yeba3YRLV6rmw%3D';

async function run() {
try {
const version = tl.getInput('version', true);
Expand Down Expand Up @@ -43,9 +41,9 @@ async function run() {

let downloadUrl;
if (version === 'latest') {
downloadUrl = `https://sa0she0prd0uks0releases.blob.core.windows.net/sheriff/latest/sheriff_${os}_${platform}.${fileExtension}?${sas}`;
downloadUrl = `https://releases.frontierhq.com/sheriff/latest/sheriff_${os}_${platform}.${fileExtension}`;
} else {
downloadUrl = `https://sa0she0prd0uks0releases.blob.core.windows.net/sheriff/${version}/sheriff_${os}_${platform}.${fileExtension}?${sas}`;
downloadUrl = `https://releases.frontierhq.com/sheriff/${version}/sheriff_${os}_${platform}.${fileExtension}`;
}
const downloadPath = path.join(agentTempDirectory, `sheriff_${os}_${platform}.${fileExtension}`);
const toolDirPath = `${agentToolsDirectory}/sheriff/${version}/${platform}`;
Expand Down
6 changes: 3 additions & 3 deletions vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "Sheriff",
"name": "Sheriff",
"publisher": "gofrontier",
"publisher": "frontierhq",
"version": "",
"public": false,
"targets": [
Expand All @@ -13,7 +13,7 @@
"categories": [
"Azure Pipelines"
],
"description": "Provides tasks to operate Sheriff, a command line tool to manage Microsoft Entra Privileged Identity Management (Microsoft Entra PIM) using desired state configuration.",
"description": "Provides tasks to operate Sheriff, a command line tool to configure and operate Microsoft Entra Privileged Identity Management (PIM) in automation.",
"tags": [
"Microsoft Azure",
"Microsoft Entra ID",
Expand All @@ -30,7 +30,7 @@
},
"links": {
"learn": {
"uri": "https://github.com/frontierhq/sheriff"
"uri": "https://frontierhq.com/products/sheriff"
}
},
"icons": {
Expand Down
Loading