Skip to content

Commit 21d2d42

Browse files
github-migration/poplar/r2.6/release (#2)
'Auto Generated PR for github-migration/poplar/r2.6/release. See https://graphcore.atlassian.net/l/cp/qD91gp3B' --------- Co-authored-by: Dan Hewitt <danh@graphcore.ai>
1 parent f971ece commit 21d2d42

File tree

7 files changed

+53
-99
lines changed

7 files changed

+53
-99
lines changed

.arcconfig

Lines changed: 0 additions & 10 deletions
This file was deleted.

.arclint

Lines changed: 0 additions & 89 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@Library('sw-jenkins-library@view-component-trigger') _
2+
3+
viewComponentTrigger(jobsFilepath: '.ci/view_component_trigger/jobs.groovy')
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[
2+
[job: '/tensorflow/tensorflow_pr', parameters: [string(name: 'GCCI_BRANCH', value: 'poplar/r2/release')]],
3+
[job: '/tensorflow_serving/tensorflow_serving_pr', parameters: [string(name: 'GCCI_BRANCH', value: 'poplar/r2/release')]],
4+
]

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @Software-GCAI/tensorflow

.github/workflows/pre-commit.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: pre-commit
2+
3+
on:
4+
pull_request:
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
pre-commit:
12+
runs-on: ["self-hosted", "linux"]
13+
steps:
14+
- uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 0 # Required for us to have a valid ref to the target branch
17+
- uses: actions/setup-python@v3
18+
- uses: actions/cache@v3
19+
with:
20+
path: ~/.cache/pre-commit/
21+
key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
22+
- uses: webfactory/ssh-agent@v0.8.0
23+
with:
24+
ssh-private-key: ${{ secrets.PRE_COMMIT_SCRIPTS_DEPLOY_KEY }}
25+
- name: SSH Keys and known_hosts
26+
run: |
27+
mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts
28+
ssh-keyscan github.com >> ~/.ssh/known_hosts
29+
- uses: pre-commit/action@v3.0.0
30+
with:
31+
extra_args: "--from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}"

.pre-commit-config.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v3.2.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-json
10+
- id: check-added-large-files
11+
- repo: ssh://git@github.com/Software-GCAI/precommit-scripts
12+
rev: v1.0.1
13+
hooks:
14+
- id: gc-copyright

0 commit comments

Comments
 (0)