Skip to content

Commit

Permalink
feat: Add Azure Linux 3 distro
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Nov 25, 2024
1 parent 40fa04d commit b35e48b
Show file tree
Hide file tree
Showing 8 changed files with 308 additions and 20 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@ jobs:
fail-fast: false
matrix:
include:
- os: azurelinux3
arch: linux/amd64,linux/arm64
- os: bookworm
arch: linux/amd64,linux/arm64
- os: bullseye
Expand Down Expand Up @@ -903,7 +905,7 @@ jobs:
# Rate limiting on Azure DevOps SaaS APIs is triggered quickly by integration tests, so we need to limit the number of parallel jobs
max-parallel: 3
matrix:
os: [bookworm, bullseye, focal, jammy, noble, ubi8, ubi9]
os: [azurelinux3, bookworm, bullseye, focal, jammy, noble, ubi8, ubi9]
steps:
- name: Checkout
uses: actions/[email protected]
Expand Down
38 changes: 19 additions & 19 deletions docs/content/docs/advanced-topics/bicep-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ 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` |
| `autoscalingPollingInterval` | Minimum number of replicas the agent should have; Warning, a low value will cause rate limiting or throttling, and can cause high load on the Azure DevOps API | `10` |
| `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`, `noble`, `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` |
| Parameter | Description | Default |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------ |
| `autoscalingMaxReplicas` | Maximum number of simultaneous jobs the agent can run | `100` |
| `autoscalingMinReplicas` | Minimum number of replicas the agent should have | `0` |
| `autoscalingPollingInterval` | Minimum number of replicas the agent should have; Warning, a low value will cause rate limiting or throttling, and can cause high load on the Azure DevOps API | `10` |
| `extraEnv` | Extra environment variables to pass to the agent | `[]` |
| `imageFlavor` | Flavor of the container image, represents the Linux distribution. Allowed values: `azurelinux3`, `bookworm`, `bullseye`, `focal`, `jammy`, `noble`, `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` |
1 change: 1 addition & 0 deletions docs/content/docs/advanced-topics/docker-in-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Linux systems are supported, but not Windows:

| `Ref` | Container build inside of the agent with BuildKit |
| ------------------------------------------------ | ------------------------------------------------- |
| `ghcr.io/clemlesne/blue-agent:azurelinux3-main` ||
| `ghcr.io/clemlesne/blue-agent:bookworm-main` ||
| `ghcr.io/clemlesne/blue-agent:bullseye-main` ||
| `ghcr.io/clemlesne/blue-agent:focal-main` ||
Expand Down
1 change: 1 addition & 0 deletions docs/content/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ OS support is generally called "flavor" in this documentation. The following tab

| `Ref` | OS | `Size` | `Arch` | Support |
| ------------------------------------------------ | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ghcr.io/clemlesne/blue-agent:azurelinux3-main` | [Azure Linux 3](https://github.com/microsoft/azurelinux) | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/clemlesne/blue-agent/azurelinux3-main?label=) | `amd64`, `arm64/v8` | [See Microsoft Azure documentation.](https://learn.microsoft.com/en-us/azure/aks/support-policies) |
| `ghcr.io/clemlesne/blue-agent:bookworm-main` | [Debian Bookworm (12)](https://www.debian.org/releases/bookworm) slim | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/clemlesne/blue-agent/bookworm-main?label=) | `amd64`, `arm64/v8` | [See Debian LTS wiki.](https://wiki.debian.org/LTS) |
| `ghcr.io/clemlesne/blue-agent:bullseye-main` | [Debian Bullseye (11)](https://www.debian.org/releases/bullseye) slim | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/clemlesne/blue-agent/bullseye-main?label=) | `amd64`, `arm64/v8` | [See Debian LTS wiki.](https://wiki.debian.org/LTS) |
| `ghcr.io/clemlesne/blue-agent:noble-main` | [Ubuntu Noble (24.04)](https://www.releases.ubuntu.com/noble) minimal | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/clemlesne/blue-agent/noble-main?label=) | `amd64` | [See Ubuntu LTS wiki.](https://wiki.ubuntu.com/Releases) |
Expand Down
1 change: 1 addition & 0 deletions docs/content/docs/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Scanned systems:

| `Ref` | Vulnerability scans with Snyk |
| ------------------------------------------------ | ----------------------------- |
| `ghcr.io/clemlesne/blue-agent:azurelinux3-main` ||
| `ghcr.io/clemlesne/blue-agent:bookworm-main` ||
| `ghcr.io/clemlesne/blue-agent:bullseye-main` ||
| `ghcr.io/clemlesne/blue-agent:focal-main` ||
Expand Down
1 change: 1 addition & 0 deletions src/bicep/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ param autoscalingPollingInterval int = 10
param extraEnv array = []
@description('Flavor of the container image, represents the Linux distribution')
@allowed([
'azurelinux3'
'bookworm'
'bullseye'
'focal'
Expand Down
Loading

0 comments on commit b35e48b

Please sign in to comment.