Skip to content

Commit

Permalink
Updated legal details
Browse files Browse the repository at this point in the history
  • Loading branch information
akanieski-msft committed Jul 25, 2022
1 parent c3d20ee commit d62e80b
Show file tree
Hide file tree
Showing 14 changed files with 30 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env
WORKDIR /app

Expand Down
2 changes: 2 additions & 0 deletions agents/linux/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
FROM ubuntu:20.04
RUN DEBIAN_FRONTEND=noninteractive apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
Expand Down
3 changes: 3 additions & 0 deletions agents/linux/start.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

set -e

if [ -z "$AZP_URL" ]; then
Expand Down
2 changes: 2 additions & 0 deletions agents/windows/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
FROM mcr.microsoft.com/windows/servercore:ltsc2019

WORKDIR /azp
Expand Down
2 changes: 2 additions & 0 deletions agents/windows/start.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
if (-not (Test-Path Env:AZP_URL)) {
Write-Error "error: missing AZP_URL environment variable"
exit 1
Expand Down
3 changes: 2 additions & 1 deletion src/Azure/ACIAgentHostService.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using Microsoft.Azure.Management.Fluent;
using Microsoft.Azure.Management.ResourceManager.Fluent;
using Microsoft.Extensions.Configuration;
Expand Down
3 changes: 2 additions & 1 deletion src/Azure/AzureIdentityFluentCredentialAdapter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
namespace Azure.Extensions.Identity;
using System;
using System.Collections.Concurrent;
Expand Down
2 changes: 2 additions & 0 deletions src/BaseHostService.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
public class BaseHostService
{
protected int _minimumAgentCount = 1;
Expand Down
2 changes: 2 additions & 0 deletions src/IAgentHostService.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System.Linq;
using Microsoft.Extensions.Configuration;

Expand Down
2 changes: 2 additions & 0 deletions src/IFileSystem.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
public interface IFileSystem {
string ReadAllText(string path);
}
Expand Down
2 changes: 2 additions & 0 deletions src/KubernetesAgentHostService.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using Microsoft.Extensions.Configuration;
using k8s;
using k8s.Models;
Expand Down
4 changes: 3 additions & 1 deletion src/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using Microsoft.Extensions.Configuration;
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using Microsoft.Extensions.Configuration;
using Microsoft.TeamFoundation.DistributedTask.WebApi;
using Microsoft.VisualStudio.Services.Common;
using Microsoft.VisualStudio.Services.WebApi;
Expand Down
2 changes: 2 additions & 0 deletions tests/KubernetesAgentHostTests.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
namespace ADOAgentOrchestrator.Tests;

using System.Collections.Generic;
Expand Down
2 changes: 2 additions & 0 deletions tests/Usings.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
global using Microsoft.VisualStudio.TestTools.UnitTesting;
global using Microsoft.Extensions.Configuration;
global using ADOAgentOrchestrator;

0 comments on commit d62e80b

Please sign in to comment.