@spinnaker/kayenta 1.0.5 → 2.1.0-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci-branch.yml +73 -0
- package/.github/workflows/publish_lib_test.yml +26 -0
- package/.husky/pre-commit +6 -0
- package/.lintstagedrc.json +4 -0
- package/build/dist/index-6aa5a1a4.js +2 -0
- package/build/dist/index-6aa5a1a4.js.map +1 -0
- package/build/dist/index.d.ts +1 -0
- package/build/dist/index.d.ts.map +1 -1
- package/build/dist/index.js +1 -38
- package/build/dist/index.js.map +1 -1
- package/build/dist/kayenta/canary.dataSource.bridge.d.ts +2 -0
- package/build/dist/kayenta/canary.dataSource.bridge.d.ts.map +1 -0
- package/build/dist/kayenta/canary.dataSource.stub.d.ts +9 -0
- package/build/dist/kayenta/canary.dataSource.stub.d.ts.map +1 -0
- package/build/dist/kayenta/edit/copyConfigButton.d.ts +1 -1
- package/build/dist/kayenta/edit/createConfigButton.d.ts +1 -1
- package/build/dist/kayenta/index.d.ts +0 -1
- package/build/dist/kayenta/index.d.ts.map +1 -1
- package/build/dist/kayenta/navigation/canary.states.d.ts +5 -1
- package/build/dist/kayenta/navigation/canary.states.d.ts.map +1 -1
- package/build/dist/kayenta/navigation/canary.states.stub.d.ts +4 -0
- package/build/dist/kayenta/navigation/canary.states.stub.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/metricSetPairGraph.service.d.ts +1 -1
- package/build/dist/kayenta/report/detail/graph/metricSetPairGraph.service.d.ts.map +1 -1
- package/build/dist/kayenta/report/detail/graph/semiotic/index.d.ts.map +1 -1
- package/build/dist/kayenta/stages/kayentaStage/kayentaStage.d.ts +28 -1
- package/build/dist/kayenta/stages/kayentaStage/kayentaStage.d.ts.map +1 -1
- package/build/dist/kayenta/stages/kayentaStage/kayentaStage.transformer.d.ts +0 -1
- package/build/dist/kayenta/stages/kayentaStage/kayentaStage.transformer.d.ts.map +1 -1
- package/build/dist/lazy-94b6420d.js +2 -0
- package/build/dist/lazy-94b6420d.js.map +1 -0
- package/build/dist/lazy.d.ts +6 -0
- package/build/dist/lazy.d.ts.map +1 -0
- package/build/dist/semioticGraph-a9ade595.js +2 -0
- package/build/dist/semioticGraph-a9ade595.js.map +1 -0
- package/build/dist/stub.d.ts +15 -0
- package/build/dist/stub.d.ts.map +1 -0
- package/package.json +19 -16
- package/rollup.config.js +2 -0
- package/src/index.ts +1 -0
- package/src/kayenta/canary.dataSource.bridge.ts +53 -0
- package/src/kayenta/canary.dataSource.stub.ts +64 -0
- package/src/kayenta/index.ts +0 -1
- package/src/kayenta/navigation/canary.states.stub.ts +28 -0
- package/src/kayenta/navigation/canary.states.ts +158 -166
- package/src/kayenta/report/detail/graph/metricSetPairGraph.service.ts +1 -1
- package/src/kayenta/report/detail/graph/semiotic/index.tsx +19 -0
- package/src/kayenta/stages/kayentaStage/kayentaStage.transformer.ts +0 -4
- package/src/kayenta/stages/kayentaStage/kayentaStage.ts +150 -178
- package/src/lazy.ts +29 -0
- package/src/stub.ts +60 -0
- package/build/dist/kayenta/canary.dataSource.d.ts +0 -2
- package/build/dist/kayenta/canary.dataSource.d.ts.map +0 -1
- package/build/dist/kayenta/canary.module.d.ts +0 -5
- package/build/dist/kayenta/canary.module.d.ts.map +0 -1
- package/build/dist/kayenta/components/components.module.d.ts +0 -2
- package/build/dist/kayenta/components/components.module.d.ts.map +0 -1
- package/build/dist/kayenta/stages/stages.module.d.ts +0 -2
- package/build/dist/kayenta/stages/stages.module.d.ts.map +0 -1
- package/src/kayenta/canary.dataSource.ts +0 -131
- package/src/kayenta/canary.module.ts +0 -20
- package/src/kayenta/components/components.module.ts +0 -7
- package/src/kayenta/report/detail/graph/semiotic/index.ts +0 -10
- package/src/kayenta/stages/stages.module.ts +0 -6
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
name: Feature Branch Build
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- bump-version-plugin-system
|
|
7
|
+
|
|
8
|
+
env:
|
|
9
|
+
NODE_VERSION: 12.16.0
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
ci:
|
|
13
|
+
# Meta-job that depends on the other job statuses. Branch protection then checks this job status.
|
|
14
|
+
name: Kayenta CI
|
|
15
|
+
if: startsWith(github.repository, 'spinnaker/')
|
|
16
|
+
needs: [test, build]
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
steps:
|
|
19
|
+
- run: echo test, build successful
|
|
20
|
+
|
|
21
|
+
test:
|
|
22
|
+
name: Unit tests
|
|
23
|
+
runs-on: ubuntu-latest
|
|
24
|
+
steps:
|
|
25
|
+
- uses: actions/checkout@v2
|
|
26
|
+
|
|
27
|
+
- uses: actions/setup-node@v1
|
|
28
|
+
with:
|
|
29
|
+
node-version: ${{ env.NODE_VERSION }}
|
|
30
|
+
|
|
31
|
+
- name: Get yarn cache
|
|
32
|
+
id: yarn-cache
|
|
33
|
+
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
34
|
+
|
|
35
|
+
- uses: actions/cache@v1
|
|
36
|
+
with:
|
|
37
|
+
path: ${{ steps.yarn-cache.outputs.dir }}
|
|
38
|
+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
39
|
+
restore-keys: |
|
|
40
|
+
${{ runner.os }}-yarn-
|
|
41
|
+
|
|
42
|
+
- name: Install Dependencies
|
|
43
|
+
run: yarn --frozen-lockfile
|
|
44
|
+
|
|
45
|
+
- name: Unit Tests
|
|
46
|
+
run: yarn test
|
|
47
|
+
|
|
48
|
+
build:
|
|
49
|
+
name: Production Build
|
|
50
|
+
runs-on: ubuntu-latest
|
|
51
|
+
steps:
|
|
52
|
+
- uses: actions/checkout@v2
|
|
53
|
+
|
|
54
|
+
- uses: actions/setup-node@v1
|
|
55
|
+
with:
|
|
56
|
+
node-version: ${{ env.NODE_VERSION }}
|
|
57
|
+
|
|
58
|
+
- name: Get yarn cache
|
|
59
|
+
id: yarn-cache
|
|
60
|
+
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
61
|
+
|
|
62
|
+
- uses: actions/cache@v1
|
|
63
|
+
with:
|
|
64
|
+
path: ${{ steps.yarn-cache.outputs.dir }}
|
|
65
|
+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
66
|
+
restore-keys: |
|
|
67
|
+
${{ runner.os }}-yarn-
|
|
68
|
+
|
|
69
|
+
- name: Install Dependencies
|
|
70
|
+
run: yarn --frozen-lockfile
|
|
71
|
+
|
|
72
|
+
- name: Yarn Build
|
|
73
|
+
run: yarn build
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: Publish to NPM
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- 'bump-version-plugin-system'
|
|
7
|
+
paths:
|
|
8
|
+
- 'package.json'
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v1
|
|
16
|
+
- name: Use Node.js 12.16.0
|
|
17
|
+
uses: actions/setup-node@v1
|
|
18
|
+
with:
|
|
19
|
+
node-version: 12.16.0
|
|
20
|
+
- name: publish
|
|
21
|
+
run: |
|
|
22
|
+
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN
|
|
23
|
+
build_scripts/publish_github_actions.sh
|
|
24
|
+
env:
|
|
25
|
+
CI: true
|
|
26
|
+
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|