Skip to content

Commit 764a93e

Browse files
committed
more infra
1 parent 3b38fb8 commit 764a93e

10 files changed

+450
-4
lines changed

.aicoe-ci.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
check: []

.github/workflows/build_job.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy Operate First GH Pages
1+
name: Deploy Operate First Blog
22
on:
33
push:
44
branches:
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Node
1919
uses: actions/setup-node@v2
2020
with:
21-
node-version: "12"
21+
node-version: "17"
2222

2323
- name: Dependencies
2424
uses: actions/cache@v2

.pre-commit-config.yaml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
repos:
3+
- repo: https://github.com/Lucas-C/pre-commit-hooks
4+
rev: v1.1.10
5+
hooks:
6+
- id: remove-tabs
7+
exclude: Makefile
8+
9+
- repo: https://github.com/pre-commit/mirrors-eslint
10+
rev: "v8.0.0-beta.0"
11+
hooks:
12+
- id: eslint
13+
args:
14+
- --fix
15+
additional_dependencies:
16+
- eslint
17+
- eslint-config-prettier
18+
- eslint-config-stylelint
19+
- eslint-plugin-prettier
20+
- babel-eslint
21+
- prettier
22+
- eslint-plugin-react
23+
24+
- repo: https://github.com/pre-commit/pre-commit-hooks
25+
rev: v4.0.1
26+
hooks:
27+
- id: trailing-whitespace
28+
- id: check-merge-conflict
29+
- id: end-of-file-fixer
30+
- id: check-added-large-files
31+
- id: check-case-conflict
32+
- id: check-json
33+
- id: check-symlinks
34+
- id: detect-private-key
35+
36+
- repo: https://github.com/adrienverge/yamllint.git
37+
rev: v1.26.2
38+
hooks:
39+
- id: yamllint
40+
files: \.(yaml|yml)$
41+
types: [file, yaml]
42+
entry: yamllint --strict -c yamllint-config.yaml

.prettierignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.cache
2+
package.json
3+
package-lock.json
4+
public

.prow.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
presubmits:
2+
- name: pre-commit
3+
decorate: true
4+
skip_report: false
5+
always_run: true
6+
context: aicoe-ci/prow/pre-commit
7+
spec:
8+
containers:
9+
- image: quay.io/operate-first/opf-toolbox:v0.4.2
10+
command:
11+
- "pre-commit"
12+
- "run"
13+
- "--all-files"
14+
env:
15+
- name: HOME
16+
value: "."
17+
resources:
18+
requests:
19+
memory: "1Gi"
20+
cpu: "300m"
21+
limits:
22+
memory: "1.5Gi"
23+
cpu: "500m"

OWNERS

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# See the OWNERS docs at https://go.k8s.io/owners
2+
3+
approvers:
4+
- durandom
5+
- cfchase
6+
- oindrillac
7+
- tumido
8+
- HumairAK
9+
- quaid
10+
- schwesig
11+
reviewers:
12+
- hemajv
13+
- durandom
14+
- oindrillac
15+
- tumido
16+
- quaid

gatsby-config.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module.exports = {
2+
pathPrefix: "/website-ng",
23
siteMetadata: {
34
title: `Operate First`,
45
siteUrl: `https://www.yourdomain.tld`,

0 commit comments

Comments
 (0)