Skip to content

Commit dad4454

Browse files
restore yamls
1 parent a0dab7b commit dad4454

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+5879
-0
lines changed

.github/workflows/artifacts.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: 'Delete old artifacts'
2+
on:
3+
schedule:
4+
- cron: '0 * * * *' # every hour
5+
6+
concurrency:
7+
group: ${{ github.workflow }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
delete-artifacts:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: kolpav/purge-artifacts-action@v1
15+
with:
16+
token: ${{ secrets.GITHUB_TOKEN }}
17+
expire-in: 14days

.github/workflows/bloat_check.yaml

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Copyright (c) 2020 Project CHIP Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Bloat Check
16+
on:
17+
schedule:
18+
- cron: "*/5 * * * *"
19+
20+
concurrency:
21+
group: ${{ github.workflow }}
22+
# Don't cancel an already-running bloat check just because it took more
23+
# than 5 minutes to run and our cron job is trying to schedule a new one.
24+
cancel-in-progress: false
25+
26+
jobs:
27+
pull_request_update:
28+
name: Report on pull requests
29+
30+
# Don't run on forked repos
31+
if: github.repository_owner == 'project-chip'
32+
33+
runs-on: ubuntu-latest
34+
35+
container:
36+
image: ghcr.io/project-chip/chip-build:35
37+
38+
steps:
39+
- name: Checkout
40+
uses: actions/checkout@v4
41+
- name: Report
42+
run: |
43+
scripts/tools/memory/gh_report.py \
44+
--verbose \
45+
--report-increases 0.2 \
46+
--report-pr \
47+
--github-comment \
48+
--github-limit-artifact-pages 50 \
49+
--github-limit-artifacts 500 \
50+
--github-limit-comments 20 \
51+
--github-repository project-chip/connectedhomeip \
52+
--github-api-token "${{ secrets.GITHUB_TOKEN }}"
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Build Certification Image
2+
on:
3+
workflow_call:
4+
workflow_dispatch:
5+
jobs:
6+
build-cert-bin:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@master
10+
- name: Set up Docker Buildx
11+
uses: docker/setup-buildx-action@v3
12+
- name: Publish to Registry
13+
uses: elgohr/Publish-Docker-Github-Action@v5
14+
with:
15+
name: ghcr.io/project-chip/chip-cert-bins
16+
tags: latest
17+
dockerfile: ./integrations/docker/images/chip-cert-bins/Dockerfile
18+
username: ${{ github.actor }}
19+
password: ${{ secrets.GITHUB_TOKEN }}
20+
registry: ghcr.io
21+
platforms: linux/amd64,linux/arm64,linux/arm

0 commit comments

Comments
 (0)