Skip to content

Commit 1392776

Browse files
committed
Fix merge issues from 3.0
1 parent d5512b7 commit 1392776

38 files changed

Lines changed: 248 additions & 148 deletions
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
# Stub workflow — A copy of this workflow must live on the default branch (3.0) so that the
22
# pull_request_target event can trigger it with access to GITHUB_TOKEN (pull-requests: write).
3-
# It delegates all real work to the reusable template on tomls/base/main.
3+
# It delegates all real work to the reusable template on 4.0.
44
#
55
# This two-stage design lets fork PRs trigger the check safely: the stub runs in the
66
# context of the default branch (with write token), but the reusable workflow checks out
77
# the PR's data files (TOML configs, specs) into a separate directory — never mixing
88
# untrusted code with execution context.
99
#
1010
# The stub must exist on the default branch because pull_request_target always runs
11-
# workflows from there. The reusable workflow on tomls/base/main has the actual scripts,
11+
# workflows from there. The reusable workflow on 4.0 has the actual scripts,
1212
# container setup, and rendering logic.
1313
name: Check Rendered Specs
1414

1515
# pull_request_target gives us a GITHUB_TOKEN with pull-requests: write even for fork PRs.
1616
# The stub itself runs NO code from the PR — it only delegates to a trusted reusable
17-
# workflow pinned to tomls/base/main, which checks out PR data (not code) into an
17+
# workflow pinned to 4.0, which checks out PR data (not code) into an
1818
# isolated subdirectory.
1919
on: # zizmor: ignore[dangerous-triggers]
2020
pull_request_target:
2121
branches:
22-
- tomls/base/main
22+
- "4.0"
2323

2424
permissions: {}
2525

@@ -32,12 +32,13 @@ jobs:
3232
# Prevent forks from running a stale/vulnerable copy of this stub with Actions enabled
3333
if: github.repository == 'microsoft/azurelinux'
3434
# Intentionally branch-pinned so the reusable workflow picks up updates automatically.
35-
uses: microsoft/azurelinux/.github/workflows/check-rendered-specs.yml@tomls/base/main # zizmor: ignore[unpinned-uses]
35+
uses: microsoft/azurelinux/.github/workflows/check-rendered-specs.yml@4.0 # zizmor: ignore[unpinned-uses]
3636
permissions:
3737
contents: read
3838
pull-requests: write # Post/update/delete drift comments on PRs
3939
with:
4040
pr-head-sha: ${{ github.event.pull_request.head.sha }}
4141
pr-head-repo: ${{ github.event.pull_request.head.repo.full_name }}
42+
pr-base-sha: ${{ github.event.pull_request.base.sha }}
4243
pr-number: ${{ github.event.pull_request.number }}
4344
repo: ${{ github.repository }}

.github/workflows/spec-review-stub.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Stub workflow — A copy of this workflow must live on the default branch (3.0) so that the pull_request_target
22
# event can trigger it with access to secrets. It then delegates all real work to the reusable template on
3-
# tomls/base/main, which has the scripts, prompts, and agent definitions.
3+
# 4.0, which has the scripts, prompts, and agent definitions.
44
#
55
# This two-stage design lets fork PRs trigger the review safely: the stub runs in the
66
# context of the default branch (with secret access), but the template checks out only
@@ -14,17 +14,17 @@ name: Spec Review
1414

1515
# pull_request_target is required here: we need secret access (COPILOT_TOKEN) to run the
1616
# spec review agent on fork PRs. The stub itself runs NO code from the PR — it only
17-
# delegates to a trusted reusable workflow pinned to tomls/base/main, which sparse-checks
17+
# delegates to a trusted reusable workflow pinned to 4.0, which sparse-checks
1818
# out only .spec data files (never executable code) from the PR head.
1919
on: # zizmor: ignore[dangerous-triggers]
2020
pull_request_target:
2121
# Only trigger on PRs targeting the toml base branch which modify .spec files. We do
2222
# not want to affect PRs targeting other branches.
2323

2424
branches:
25-
- tomls/base/main
25+
- "4.0"
2626
paths:
27-
- '**/*.spec'
27+
- "**/*.spec"
2828

2929
permissions: {}
3030

@@ -38,7 +38,7 @@ jobs:
3838
if: github.repository == 'microsoft/azurelinux'
3939
# Intentionally branch-pinned to our own repo so the
4040
# reusable workflow picks up prompt/script/agent updates automatically.
41-
uses: microsoft/azurelinux/.github/workflows/spec-review.yml@tomls/base/main # zizmor: ignore[unpinned-uses]
41+
uses: microsoft/azurelinux/.github/workflows/spec-review.yml@4.0 # zizmor: ignore[unpinned-uses]
4242
permissions:
4343
contents: read
4444
pull-requests: write # Post review comments and inline annotations on PRs
@@ -47,6 +47,6 @@ jobs:
4747
pr-head-repo: ${{ github.event.pull_request.head.repo.full_name }}
4848
pr-number: ${{ github.event.pull_request.number }}
4949
repo: ${{ github.repository }}
50-
scripts-ref: tomls/base/main
50+
scripts-ref: 4.0
5151
secrets:
5252
COPILOT_TOKEN: ${{ secrets.COPILOT_TOKEN }}

CONTRIBUTING.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ We welcome documentation improvements. See [toolkit/docs](toolkit/docs) for the
9595

9696
## Pull Request Guidelines
9797

98-
Please direct pull requests to the desired development branch. Development changes to `3.0` should target `3.0-dev`. Development changes to `2.0` should target `main`. `1.0` is deprecated and should not be used.
98+
Please direct pull requests to the desired development branch. Development changes to `3.0` should target `3.0-dev`. `2.0` and `1.0` are deprecated and should not be used.
9999

100100
### Branch structure
101101

@@ -108,13 +108,6 @@ An overview of how the branches are structured can be seen below
108108
|3.0-preview |Tag |No |No | Publishing in progress
109109
|3.0-stable |Tag |No |Yes | Last published release
110110

111-
| Git Ref | Branch / Tag | For PRs | Published | Notes
112-
|:-------------|:-------------|:--------|:----------|:------------
113-
|main |Branch |Yes |No | **Primary development branch**
114-
|2.0 |Branch |No |Yes - eventually | Staging branch for publishing
115-
|2.0-preview |Tag |No |No | Publishing in progress
116-
|2.0-stable |Tag |No |Yes | Last published release
117-
118111
### PR Titles
119112

120113
PR titles should start with an action
@@ -134,7 +127,7 @@ Please avoid titles such as
134127
```bash
135128
- package: <whatever you did to the package>
136129
- CVE-XXXX-YYYY (leaving off what package was patched or upgraded)
137-
- [2.0] (prefixing with branch or other information)
130+
- [3.0] (prefixing with branch or other information)
138131
```
139132

140133
### PR Checklist

README-3.0.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Azure Linux 3.0
2+
3+
Azure Linux 3.0 is an internal Linux distribution for Microsoft’s cloud infrastructure and edge products and services. Azure Linux is designed to provide a consistent platform for these devices and services and will enhance Microsoft’s ability to stay current on Linux updates. This initiative is part of Microsoft’s increasing investment in a wide range of Linux technologies, such as [SONiC](https://azure.microsoft.com/en-us/blog/sonic-the-networking-switch-software-that-powers-the-microsoft-global-cloud/) and [Windows Subsystem for Linux (WSL)](https://docs.microsoft.com/en-us/windows/wsl/about). Azure Linux is being shared publicly as part of Microsoft’s commitment to Open Source and to contribute back to the Linux community. Azure Linux does not change our approach or commitment to any existing third-party Linux distribution offerings.
4+
5+
Azure Linux has been engineered with the notion that a small common core set of packages can address the universal needs of first party cloud and edge services while allowing individual teams to layer additional packages on top of the common core to produce images for their workloads. This is made possible by a simple build system that enables:
6+
7+
- **Package Generation:** This produces the desired set of RPM packages from SPEC files and source files.
8+
- **Image Generation:** This produces the desired image artifacts like ISOs or VHDs from a given set of packages.
9+
10+
Whether deployed as a container or a container host, Azure Linux consumes limited disk and memory resources. The lightweight characteristics of Azure Linux also provides faster boot times and a minimal attack surface. By focusing the features in the core image to just what is needed for our internal cloud customers there are fewer services to load, and fewer attack vectors.
11+
12+
When security vulnerabilities arise, Azure Linux supports both a package-based update model and an image based update model. Leveraging the common [RPM Package Manager](https://rpm.org/) system, Azure Linux makes the latest security patches and fixes available for download with the goal of fast turn-around times.
13+
14+
### Build
15+
16+
Instructions for building Azure Linux 3.0 may be found here: [Toolkit Documentation](./toolkit/README.md).
17+
18+
### ISO
19+
20+
To try Azure Linux Download the ISO here: [Azure Linux 3.0 x86_64 ISO](https://aka.ms/azurelinux-3.0-x86_64.iso) / [Azure Linux 3.0 aarch64 ISO](https://aka.ms/azurelinux-3.0-aarch64.iso)
21+
22+
Before using a downloaded ISO, [verify the checksum and signature of the image](toolkit/docs/security/iso-image-verification.md).
23+
24+
After downloading the ISO, use [the quickstart instructions](toolkit/docs/quick_start/quickstart.md) to install and use the image in a Hyper-V VM.
25+
26+
Note: Support for the ISO is community based. Before filing a new bug or feature request, please search the list of Github Issues. If you are unable to find a matching issue, please report new bugs by clicking [here](https://github.com/microsoft/azurelinux/issues) or create a new feature request by clicking [here](https://github.com/microsoft/azurelinux/issues/new). For additional information refer to the [support.md](https://github.com/microsoft/azurelinux/blob/3.0/SUPPORT.md) file.
27+
28+
29+
## Getting Help
30+
- Bugs, feature requests and questions can be filed as GitHub issues.
31+
- We are starting a public community call for Azure Linux users to get together and discuss new features, provide feedback, and learn more about how others are using Azure Linux. In each session, we will feature a new demo. The schedule for the upcoming community calls are:
32+
- 5/28/2026 from 8-9am (PST) [Click to join](https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZDcyZjRkYWMtOWQxYS00OTk3LWFhNmMtMTMwY2VhMTA4OTZi%40thread.v2/0?context=%7b%22Tid%22%3a%2272f988bf-86f1-41af-91ab-2d7cd011db47%22%2c%22Oid%22%3a%2271a6ce92-58a5-4ea0-96f4-bd4a0401370a%22%7d)
33+
- 7/23/2026 from 8-9am (PST) [Click to join](https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZDcyZjRkYWMtOWQxYS00OTk3LWFhNmMtMTMwY2VhMTA4OTZi%40thread.v2/0?context=%7b%22Tid%22%3a%2272f988bf-86f1-41af-91ab-2d7cd011db47%22%2c%22Oid%22%3a%2271a6ce92-58a5-4ea0-96f4-bd4a0401370a%22%7d)
34+
- 9/24/2026 from 8-9am (PST) [Click to join](https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZDcyZjRkYWMtOWQxYS00OTk3LWFhNmMtMTMwY2VhMTA4OTZi%40thread.v2/0?context=%7b%22Tid%22%3a%2272f988bf-86f1-41af-91ab-2d7cd011db47%22%2c%22Oid%22%3a%2271a6ce92-58a5-4ea0-96f4-bd4a0401370a%22%7d)
35+
- 11/19/2026 from 8-9am (PST) [Click to join](https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZDcyZjRkYWMtOWQxYS00OTk3LWFhNmMtMTMwY2VhMTA4OTZi%40thread.v2/0?context=%7b%22Tid%22%3a%2272f988bf-86f1-41af-91ab-2d7cd011db47%22%2c%22Oid%22%3a%2271a6ce92-58a5-4ea0-96f4-bd4a0401370a%22%7d)
36+
- 1/28/2027 from 8-9am (PST) [Click to join](https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZDcyZjRkYWMtOWQxYS00OTk3LWFhNmMtMTMwY2VhMTA4OTZi%40thread.v2/0?context=%7b%22Tid%22%3a%2272f988bf-86f1-41af-91ab-2d7cd011db47%22%2c%22Oid%22%3a%2271a6ce92-58a5-4ea0-96f4-bd4a0401370a%22%7d)
37+
- 3/25/2027 from 8-9am (PST) [Click to join](https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZDcyZjRkYWMtOWQxYS00OTk3LWFhNmMtMTMwY2VhMTA4OTZi%40thread.v2/0?context=%7b%22Tid%22%3a%2272f988bf-86f1-41af-91ab-2d7cd011db47%22%2c%22Oid%22%3a%2271a6ce92-58a5-4ea0-96f4-bd4a0401370a%22%7d)
38+
39+
## Trademarks
40+
41+
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow [Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
42+
43+
## Acknowledgments
44+
45+
Any Linux distribution, including Azure Linux, benefits from contributions by the open software community. We gratefully acknowledge all contributions made from the broader open source community, in particular:
46+
47+
1) [GNU](https://www.gnu.org/) and the [Free Software Foundation](https://www.fsf.org/)
48+
49+
2) [The Fedora Project](https://start.fedoraproject.org/) for SPEC files, particularly with respect to Qt, DNF and content in the SPECS-EXTENDED folder.
50+
51+
3) The [Photon OS Project](https://vmware.github.io/photon/) for SPEC files originating from the Photon distribution.
52+
53+
4) [Linux from Scratch](http://www.linuxfromscratch.org)
54+
55+
5) And other open source projects as referenced [here](LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md)

0 commit comments

Comments
 (0)