Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Lines starting with '#' are comments.
# Each line is a file pattern followed by one or more owners.

# These owners will be the default owners for everything in the repo.
* @Houzz/integrations
32 changes: 32 additions & 0 deletions .github/workflows/test_sonarqube.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test SonarQube

on:
push:
branches:
- master
paths-ignore:
- 'build/**'
- 'example/**'
- 'oauth2example/**'
- 'test/**'
- 'catalog-info.yaml'

jobs:
build:
name: Build and analyze
runs-on: arc-scale-set

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
# If you wish to fail your job when the Quality Gate is red, uncomment the
# following lines. This would typically be used to fail a deployment.
# - uses: sonarsource/sonarqube-quality-gate-action@master
# timeout-minutes: 5
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
24 changes: 24 additions & 0 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: node-quickbooks
annotations:
github.com/project-slug: Houzz/node-quickbooks
backstage.io/kubernetes-id: node-quickbooks
backstage.io/techdocs-ref: dir:.
sonarqube.org/project-key: default/Houzz_node-quickbooks_e9e69879-8fd5-4dd6-87e6-bb6a51a02e20

tags:
- pro
links:
- url: https://engwiki.houzz.tools/s/1cccc7e6-0374-4367-8c7b-47a9bfd2ba62
title: Network Flows
icon: dashboard
- url: https://grafana.ivyco.net/d/WDIKpO74z/saas-pods-performance?orgId=1&var-interval=10s&var-cluster=gzucWflnz&var-node=All&var-namespace=All&var-controller_class=nginx&var-ingress_namespace=ingress-nginx&var-controller=All&var-service=node-quickbooks
title: Pods Health
icon: monitor
spec:
type: service
lifecycle: Production
owner: Integrations
system: default/houzz-pro
8 changes: 8 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
sonar.projectKey=Houzz_node-quickbooks_e9e69879-8fd5-4dd6-87e6-bb6a51a02e20
sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.coverage.exclusions = [
"/build/**",
"/example/**",
"/oauth2example/**",
"/test/**",
]