Skip to content

Commit

Permalink
breaking: Rename project to Blue Agent
Browse files Browse the repository at this point in the history
Solve a miss-understanding with microsoft/azure-pipelines-agent. Those are not the same project.
  • Loading branch information
clemlesne committed Apr 19, 2024
1 parent 69a3460 commit 7ed2ead
Show file tree
Hide file tree
Showing 35 changed files with 194 additions and 190 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
- name: Package Helm chart
run: |
cp README.md src/helm/azure-pipelines-agent/
cp README.md src/helm/blue-agent/
helm package \
--app-version ${{ env.AZP_AGENT_VERSION }} \
Expand All @@ -162,18 +162,18 @@ jobs:
--keyring keyring.gpg \
--sign \
--version ${{ needs.init.outputs.VERSION }} \
src/helm/azure-pipelines-agent
src/helm/blue-agent
- name: Sign Helm chart
env:
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}
run: |
cosign sign-blob \
--bundle .cr-release-packages/azure-pipelines-agent-${{ needs.init.outputs.VERSION }}.tgz.bundle \
--bundle .cr-release-packages/blue-agent-${{ needs.init.outputs.VERSION }}.tgz.bundle \
--key="env://COSIGN_PRIVATE_KEY" \
--yes \
.cr-release-packages/azure-pipelines-agent-${{ needs.init.outputs.VERSION }}.tgz
.cr-release-packages/blue-agent-${{ needs.init.outputs.VERSION }}.tgz
- name: Cache Helm chart
uses: actions/upload-artifact@v4.3.1
Expand All @@ -185,8 +185,8 @@ jobs:
run: |
helm template \
--output-dir .helm-template \
--values test/helm/azure-pipelines-agent/values.yaml \
.cr-release-packages/azure-pipelines-agent-${{ needs.init.outputs.VERSION }}.tgz
--values test/helm/blue-agent/values.yaml \
.cr-release-packages/blue-agent-${{ needs.init.outputs.VERSION }}.tgz
- name: Run SAST Snyk for Helm
# Snyk can be used to break the build when it detects security issues. In this case we want to upload the issues to GitHub Security
Expand Down Expand Up @@ -873,7 +873,7 @@ jobs:
env:
# Permissions: Agent Pools (Read); Build (Read & execute); Pipeline Resources (Use & manage); Project and Team (Read, write, & manage); Service Connections (Read, query, & manage)
AZURE_DEVOPS_EXT_PAT: ${{ secrets.AZURE_DEVOPS_PAT }}
# Scope: clemlesne/azure-pipelines-agent
# Scope: clemlesne/blue-agent
# Permissions: Contents (read-only); Metadata (read-only); Webhooks (read & write)
AZURE_DEVOPS_EXT_GITHUB_PAT: ${{ secrets.AZURE_DEVOPS_GITHUB_PAT }}
# Script wait indefinitely for external events, so we need to timeout
Expand Down
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.enc.json
cicd/version/
docs/public/
docs/themes/hextra/
src/helm/azure-pipelines-agent/templates/
src/helm/blue-agent/templates/
27 changes: 15 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
# Azure Pipelines Agent
> [!IMPORTANT]
> Projet name is now Blue Agent! Was previously known as Azure Pipelines Agent.
# Blue Agent

<!-- Use absolute path for images in README.md, so that they are displayed on ArtifactHub.io, Lens, OpenLens, etc. -->
<img src="https://raw.githubusercontent.com/clemlesne/azure-pipelines-agent/main/docs/static/favicon.svg" width="100">
<img src="https://raw.githubusercontent.com/clemlesne/blue-agent/main/docs/static/favicon.svg" width="100">

[Azure Pipelines Agent](https://github.com/clemlesne/azure-pipelines-agent) is self-hosted agent in Kubernetes, cheap to run, secure, auto-scaled and easy to deploy.
[Blue Agent](https://github.com/clemlesne/blue-agent) is self-hosted agent in Kubernetes, cheap to run, secure, auto-scaled and easy to deploy.

<!-- github.com badges -->

[![Docker pulls](https://img.shields.io/docker/pulls/clemlesne/azure-pipelines-agent?label=docker.com%20pulls)](https://hub.docker.com/r/clemlesne/azure-pipelines-agent)
[![GitHub all releases](https://img.shields.io/github/downloads/clemlesne/azure-pipelines-agent/total?label=github.com%20downloads)](https://github.com/clemlesne/azure-pipelines-agent/pkgs/container/azure-pipelines-agent)
[![Last release date](https://img.shields.io/github/release-date/clemlesne/azure-pipelines-agent)](https://github.com/clemlesne/azure-pipelines-agent/releases)
[![Project license](https://img.shields.io/github/license/clemlesne/azure-pipelines-agent)](https://github.com/clemlesne/azure-pipelines-agent/blob/main/LICENSE)
[![Docker pulls](https://img.shields.io/docker/pulls/clemlesne/blue-agent?label=docker.com%20pulls)](https://hub.docker.com/r/clemlesne/blue-agent)
[![GitHub all releases](https://img.shields.io/github/downloads/clemlesne/blue-agent/total?label=github.com%20downloads)](https://github.com/clemlesne/blue-agent/pkgs/container/blue-agent)
[![Last release date](https://img.shields.io/github/release-date/clemlesne/blue-agent)](https://github.com/clemlesne/blue-agent/releases)
[![Project license](https://img.shields.io/github/license/clemlesne/blue-agent)](https://github.com/clemlesne/blue-agent/blob/main/LICENSE)

<!-- artifacthub.io badges -->

[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/azure-pipelines-agent)](https://artifacthub.io/packages/search?repo=azure-pipelines-agent)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/azure-pipelines-agent-container)](https://artifacthub.io/packages/search?repo=azure-pipelines-agent-container)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/blue-agent)](https://artifacthub.io/packages/search?repo=blue-agent)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/blue-agent-container)](https://artifacthub.io/packages/search?repo=blue-agent-container)

## Features

Expand All @@ -31,13 +34,13 @@

## How to deploy

[Deployment is available](https://clemlesne.github.io/azure-pipelines-agent/docs/getting-started) using Helm on a Kubernetes cluster or Bicep on Azure Container Apps.
[Deployment is available](https://clemlesne.github.io/blue-agent/docs/getting-started) using Helm on a Kubernetes cluster or Bicep on Azure Container Apps.

[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fclemlesne%2Fazure-pipelines-agent%2Fmain%2Fsrc%2Fbicep%2Fmain.bicep)
[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fclemlesne%2Fblue-agent%2Fmain%2Fsrc%2Fbicep%2Fmain.bicep)

## Documentation

Documentation is available at [clemlesne.github.io/azure-pipelines-agent](https://clemlesne.github.io/azure-pipelines-agent/).
Documentation is available at [clemlesne.github.io/blue-agent](https://clemlesne.github.io/blue-agent/).

## [Code of conduct](./CODE_OF_CONDUCT.md)

Expand Down
2 changes: 1 addition & 1 deletion cicd/docker-build-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ echo "Matrix:${SUFFIXES}"

# Iterate over the suffixes and build the Docker images
for suffix in ${SUFFIXES}; do
tag="ghcr.io/clemlesne/azure-pipelines-agent:${suffix}-latest"
tag="ghcr.io/clemlesne/blue-agent:${suffix}-latest"
echo "➡️ Building Docker image for ${suffix} (${tag})"

# Build the Docker image
Expand Down
6 changes: 3 additions & 3 deletions docs/content/_index.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
title: Azure Pipelines Agent
title: Blue Agent
layout: hextra-home
---

<div class="mt-6 mb-6">
{{< hextra/hero-headline >}}
Manage Azure Pipelines Agent<br class="sm:block hidden" />in Kubernetes
Manage Blue Agent<br class="sm:block hidden" />in Kubernetes
{{< /hextra/hero-headline >}}
</div>

<div class="mb-12">
{{< hextra/hero-subtitle >}}
Azure Pipelines Agent is self-hosted agent in Kubernetes, cheap to run, secure, auto-scaled and easy to deploy.
Blue Agent is self-hosted Azure Pipelines agent in Kubernetes, cheap to run, secure, auto-scaled and easy to deploy.
{{< /hextra/hero-subtitle >}}
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/content/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: About
toc: false
---

This project is open source and maintained by people like you. If you need help or found a bug, please feel free to open an issue on the [clemlesne/azure-pipelines-agent](https://github.com/clemlesne/azure-pipelines-agent) GitHub project.
This project is open source and maintained by people like you. If you need help or found a bug, please feel free to open an issue on the [clemlesne/blue-agent](https://github.com/clemlesne/blue-agent) GitHub project.

This project is not affiliated or endorsed by Microsoft.

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ linkTitle: Documentation
title: Introduction
---

Azure Pipelines Agent is self-hosted agent in Kubernetes, cheap to run, secure, auto-scaled and easy to deploy.
Blue Agent is self-hosted Azure Pipelines agent in Kubernetes, cheap to run, secure, auto-scaled and easy to deploy.

## Features

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/advanced-topics/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Advanced topics
weight: 2
---

Explore the following sections to learn how to use Azure Pipelines Agent:
Explore the following sections to learn how to use Blue Agent:

{{< cards >}}
{{< card link="build-aspnet" title="Build ASP.NET applications" icon="code" >}}
Expand Down
36 changes: 18 additions & 18 deletions docs/content/docs/advanced-topics/bicep-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ Bicep is a deployment language for Azure, allowing to easily deploy resources on

#### Bicep parameters

| Parameter | Description | Default |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------- |
| `autoscalingMaxReplicas` | Maximum number of simultaneous jobs the agent can run | `100` |
| `autoscalingMinReplicas` | Minimum number of replicas the agent should have | `0` |
| `extraEnv` | Extra environment variables to pass to the agent | `[]` |
| `imageFlavor` | Flavor of the container image, represents the Linux distribution. Allowed values: `bookworm`, `bullseye`, `focal`, `jammy`, `ubi8`, `ubi9` | `bookworm` |
| `imageName` | Name of the container image | `clemlesne/azure-pipelines-agent` |
| `imageRegistry` | Registry of the container image. Allowed values: `docker.io`, `ghcr.io` | `ghcr.io` |
| `imageVersion` | Version of the container image, it is recommended to use a specific version like "1.0.0" instead of "latest" | `main` |
| `instance` | Name of the instance, will be used to build the name of the resources | Value from `deployment().name` |
| `location` | Location of resources | `westeurope` |
| `pipelinesCapabilities` | Capabilities of the agent | `['arch_x64']` |
| `pipelinesOrganizationURL` | URL of the Azure DevOps organization | _None_ |
| `pipelinesPersonalAccessToken` | Personal access token allowing the agent to connect to the Azure DevOps organization. This parameter is secure. | _None_ |
| `pipelinesPoolName` | Name of the Azure Pipelines self-hosted pool the agent should be added to | _None_ |
| `pipelinesTimeout` | Timeout in seconds for the agent to run a job before it is automatically terminated | `3600` |
| `resourcesCpu` | Number of CPU cores allocated to the agent | `2` |
| `resourcesMemory` | Amount of memory allocated to the agent | `4Gi` |
| Parameter | Description | Default |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------ |
| `autoscalingMaxReplicas` | Maximum number of simultaneous jobs the agent can run | `100` |
| `autoscalingMinReplicas` | Minimum number of replicas the agent should have | `0` |
| `extraEnv` | Extra environment variables to pass to the agent | `[]` |
| `imageFlavor` | Flavor of the container image, represents the Linux distribution. Allowed values: `bookworm`, `bullseye`, `focal`, `jammy`, `ubi8`, `ubi9` | `bookworm` |
| `imageName` | Name of the container image | `clemlesne/blue-agent` |
| `imageRegistry` | Registry of the container image. Allowed values: `docker.io`, `ghcr.io` | `ghcr.io` |
| `imageVersion` | Version of the container image, it is recommended to use a specific version like "1.0.0" instead of "latest" | `main` |
| `instance` | Name of the instance, will be used to build the name of the resources | Value from `deployment().name` |
| `location` | Location of resources | `westeurope` |
| `pipelinesCapabilities` | Capabilities of the agent | `['arch_x64']` |
| `pipelinesOrganizationURL` | URL of the Azure DevOps organization | _None_ |
| `pipelinesPersonalAccessToken` | Personal access token allowing the agent to connect to the Azure DevOps organization. This parameter is secure. | _None_ |
| `pipelinesPoolName` | Name of the Azure Pipelines self-hosted pool the agent should be added to | _None_ |
| `pipelinesTimeout` | Timeout in seconds for the agent to run a job before it is automatically terminated | `3600` |
| `resourcesCpu` | Number of CPU cores allocated to the agent | `2` |
| `resourcesMemory` | Amount of memory allocated to the agent | `4Gi` |
2 changes: 1 addition & 1 deletion docs/content/docs/advanced-topics/capabilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ extraNodeSelectors:
Deploy the Helm instance:
```bash
❯ helm upgrade --install agent-arm64 clemlesne-azure-pipelines-agent/azure-pipelines-agent -f values.yaml
❯ helm upgrade --install agent-arm64 clemlesne-blue-agent/blue-agent -f values.yaml
```

Update the Azure Pipelines file in the repository to use the new pool:
Expand Down
20 changes: 10 additions & 10 deletions docs/content/docs/advanced-topics/docker-in-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ We choose BuildKit for this project. [Its license](https://raw.githubusercontent

Linux systems are supported, but not Windows:

| `Ref` | Container build inside of the agent with BuildKit |
| ----------------------------------------------------------- | ------------------------------------------------- |
| `ghcr.io/clemlesne/azure-pipelines-agent:bookworm-main` ||
| `ghcr.io/clemlesne/azure-pipelines-agent:bullseye-main` ||
| `ghcr.io/clemlesne/azure-pipelines-agent:focal-main` ||
| `ghcr.io/clemlesne/azure-pipelines-agent:jammy-main` ||
| `ghcr.io/clemlesne/azure-pipelines-agent:ubi8-main` ||
| `ghcr.io/clemlesne/azure-pipelines-agent:ubi9-main` ||
| `ghcr.io/clemlesne/azure-pipelines-agent:win-ltsc2019-main` ||
| `ghcr.io/clemlesne/azure-pipelines-agent:win-ltsc2022-main` ||
| `Ref` | Container build inside of the agent with BuildKit |
| ------------------------------------------------ | ------------------------------------------------- |
| `ghcr.io/clemlesne/blue-agent:bookworm-main` ||
| `ghcr.io/clemlesne/blue-agent:bullseye-main` ||
| `ghcr.io/clemlesne/blue-agent:focal-main` ||
| `ghcr.io/clemlesne/blue-agent:jammy-main` ||
| `ghcr.io/clemlesne/blue-agent:ubi8-main` ||
| `ghcr.io/clemlesne/blue-agent:ubi9-main` ||
| `ghcr.io/clemlesne/blue-agent:win-ltsc2019-main` ||
| `ghcr.io/clemlesne/blue-agent:win-ltsc2022-main` ||

#### How to use the bundled BuildKit

Expand Down
Loading

0 comments on commit 7ed2ead

Please sign in to comment.