Skip to content

Commit 90a2673

Browse files
committed
deploy: 2449a08
patch ci Signed-off-by: CSE CI <[email protected]>
1 parent f9e0579 commit 90a2673

File tree

12 files changed

+750
-0
lines changed

12 files changed

+750
-0
lines changed

.github/CODEOWNERS

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This document lists the code owners for all Linux repo sources, and it is
2+
# used automatically whenever Pull Requests are created, in next way:
3+
# - People listed as CODEOWNERS are automatically added as reviewers to all
4+
# PRs open to branches containing this file.
5+
# - In addition to Code Owners, other reviewers can be added.
6+
# - There can be different code owners for different branches.
7+
# - PRs will require the approval of at least one code owner.
8+
#
9+
# For more details, you can refer [GitHub CodeOwners Documentation](ttps://github.blog/2017-07-06-introducing-code-owners/)
10+
#
11+
# The format of CODEOWNERS is: <pattern> + <mail address of one/more owners>
12+
#
13+
# In case of multiple matches, the last pattern matched will take precedence.
14+
15+
##### Global code owners (for folders with no later match) #####
16+
17+

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
## PR Description
2+
3+
- Please replace this comment with a summary of your changes, and add any context
4+
necessary to understand them. List any dependencies required for this change.
5+
- To check the checkboxes below, insert a 'x' between square brackets (without
6+
any space), or simply check them after publishing the PR.
7+
- If you changes include a breaking change, please specify dependent PRs in the
8+
description and try to push all related PRs simultaneously.
9+
10+
## PR Type
11+
- [ ] Bug fix (a change that fixes an issue)
12+
- [ ] New feature (a change that adds new functionality)
13+
- [ ] Breaking change (a change that affects other repos or cause CIs to fail)
14+
15+
## PR Checklist
16+
- [ ] I have conducted a self-review of my own code changes
17+
- [ ] I have compiled my changes, including the documentation
18+
- [ ] I have tested the changes on the relevant hardware
19+
- [ ] I have updated the documentation outside this repo accordingly
20+
- [ ] I have provided links for the relevant upstream lore

.github/issue_template

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Thank you for reporting an issue with us for this repository.
2+
3+
We typically recommend using our forum (EngineerZone) for reporting issues.
4+
That is where you may also find some resolutions to some questions you may have.
5+
6+
The link is:
7+
https://ez.analog.com/linux-device-drivers/linux-software-drivers
8+
9+
You are still free to open an issue on Github, in case you prefer it here.
10+
There are various other use-cases where this issue tracker is better suited than
11+
the forum, such as punctual issues/items related to driver code, or keeping track
12+
of certain tasks/items related to a particular driver changeset.
13+
14+
Thank you
15+
Analog Devices, Inc. Linux Group
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Synchronization cron
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
remote_name:
7+
# jic23/iio
8+
required: true
9+
type: string
10+
fetch_url:
11+
# https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git
12+
required: true
13+
type: string
14+
branch:
15+
# testing
16+
required: true
17+
type: string
18+
19+
jobs:
20+
mirror:
21+
uses: analogdevicesinc/linux/.github/workflows/mirror.yml@ci
22+
secrets: inherit
23+
permissions:
24+
contents: write
25+
actions: write
26+
with:
27+
remote_name: ${{ inputs.remote_name }}
28+
fetch_url: ${{ inputs.fetch_url }}
29+
branch: ${{ inputs.branch }}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Synchronization sync ci
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
branches:
7+
# '["oran-6.12-y","oran-6.12.38-y","adsp-6.12.38-y"]'
8+
required: true
9+
type: string
10+
11+
jobs:
12+
sync_ci:
13+
uses: analogdevicesinc/linux/.github/workflows/sync-ci.yml@ci
14+
secrets: inherit
15+
permissions:
16+
contents: write
17+
actions: write
18+
strategy:
19+
matrix:
20+
branch: ${{ fromJSON(inputs.branches) }}
21+
with:
22+
branch: ${{ matrix.branch }}

.github/workflows/doc.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Build documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'docs/**'
9+
pull_request:
10+
paths:
11+
- 'docs/**'
12+
13+
jobs:
14+
build-doc:
15+
runs-on: [self-hosted, repo-only]
16+
permissions:
17+
contents: read
18+
19+
steps:
20+
- uses: analogdevicesinc/doctools/checkout@action
21+
22+
- name: Install pip packages
23+
run: |
24+
python3 -m venv ~/venv
25+
source ~/venv/bin/activate
26+
pip3 install -r docs/requirements.txt --upgrade
27+
28+
- name: Build doc
29+
working-directory: docs
30+
run: |
31+
source ~/venv/bin/activate
32+
make html SPHINXOPTS='-W --keep-going'
33+
34+
- name: Store the generated doc
35+
uses: actions/upload-artifact@v4
36+
with:
37+
name: html
38+
path: docs/_build/html
39+
40+
deploy-doc:
41+
runs-on: [self-hosted, repo-only]
42+
permissions:
43+
contents: write
44+
needs: build-doc
45+
46+
steps:
47+
- uses: analogdevicesinc/doctools/gh-pages-deploy@action
48+
with:
49+
name: html
50+

.github/workflows/main.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Maintenance
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
cherry_pick_adi:
10+
uses: analogdevicesinc/linux/.github/workflows/cherry-pick.yml@ci
11+
secrets: inherit
12+
permissions:
13+
contents: write
14+
actions: write
15+
with:
16+
branch: adi-6.12.0
17+
if: ${{ github.repository_owner == 'analogdevicesinc' }}
18+
cherry_pick_rpi:
19+
uses: analogdevicesinc/linux/.github/workflows/cherry-pick.yml@ci
20+
secrets: inherit
21+
permissions:
22+
contents: write
23+
actions: write
24+
with:
25+
branch: rpi-6.12.y
26+
filter: |
27+
.github/*
28+
if: ${{ github.repository_owner == 'analogdevicesinc' }}
29+
30+
assert:
31+
runs-on: [self-hosted, repo-only]
32+
permissions:
33+
contents: read
34+
needs:
35+
- cherry_pick_adi
36+
- cherry_pick_rpi
37+
38+
steps:
39+
- name: Assert checks
40+
env:
41+
job_warn_cherry_pick_adi: ${{needs.cherry_pick_adi.outputs.warn}}
42+
job_warn_cherry_pick_rpi: ${{needs.cherry_pick_rpi.outputs.warn}}
43+
job_fail_cherry_pick_adi: ${{needs.cherry_pick_adi.outputs.fail}}
44+
job_fail_cherry_pick_rpi: ${{needs.cherry_pick_rpi.outputs.fail}}
45+
run: |
46+
curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" -L -o runner_env.sh \
47+
https://raw.githubusercontent.com/analogdevicesinc/linux/ci/ci/runner_env.sh
48+
source ./runner_env.sh
49+
assert_labels

.github/workflows/pr-closed.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
on:
2+
pull_request:
3+
types: [closed]
4+
5+
jobs:
6+
clean-gh-pages:
7+
runs-on: [self-hosted, repo-only]
8+
permissions:
9+
contents: write
10+
11+
steps:
12+
- uses: analogdevicesinc/doctools/gh-pages-rm-path@action
13+
with:
14+
path: pull/${{ github.event.number }}

0 commit comments

Comments
 (0)