@spinnaker/kayenta 2.2.0 → 2025.0.0
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/build/dist/index-70b2ac83.js +2 -0
- package/build/dist/{index-3a07fee8.js.map → index-70b2ac83.js.map} +1 -1
- package/build/dist/index.js +1 -1
- package/build/dist/kayenta/edit/changeMetricGroupModal.d.ts.map +1 -1
- package/build/dist/kayenta/edit/configDetailHeader.d.ts +1 -0
- package/build/dist/kayenta/edit/configDetailHeader.d.ts.map +1 -1
- package/build/dist/kayenta/edit/copyConfigButton.d.ts +1 -1
- package/build/dist/kayenta/edit/copyConfigButton.d.ts.map +1 -1
- package/build/dist/kayenta/edit/createConfigButton.d.ts +1 -1
- package/build/dist/kayenta/edit/createConfigButton.d.ts.map +1 -1
- package/build/dist/kayenta/edit/editMetricEffectSizes.d.ts.map +1 -1
- package/build/dist/kayenta/edit/editMetricModal.d.ts.map +1 -1
- package/build/dist/kayenta/edit/filterTemplateSelector.d.ts.map +1 -1
- package/build/dist/kayenta/edit/groupName.d.ts.map +1 -1
- package/build/dist/kayenta/edit/groupTabs.d.ts.map +1 -1
- package/build/dist/kayenta/edit/groupWeight.d.ts.map +1 -1
- package/build/dist/kayenta/edit/inlineTemplateEditor.d.ts.map +1 -1
- package/build/dist/kayenta/edit/judgeSelect.d.ts.map +1 -1
- package/build/dist/kayenta/edit/metricList.d.ts.map +1 -1
- package/build/dist/kayenta/edit/metricStoreSelector.d.ts.map +1 -1
- package/build/dist/kayenta/edit/nameAndDescription.d.ts.map +1 -1
- package/build/dist/kayenta/edit/openDeleteModalButton.d.ts.map +1 -1
- package/build/dist/kayenta/edit/saveConfigButton.d.ts.map +1 -1
- package/build/dist/lazy-1f6a42b8.js +2 -0
- package/build/dist/lazy-1f6a42b8.js.map +1 -0
- package/build/dist/{semioticGraph-a3ef25d3.js → semioticGraph-d687462f.js} +2 -2
- package/build/dist/{semioticGraph-a3ef25d3.js.map → semioticGraph-d687462f.js.map} +1 -1
- package/build.gradle +67 -0
- package/gradle.properties +0 -0
- package/package.json +6 -3
- package/src/kayenta/edit/changeMetricGroupModal.tsx +2 -0
- package/src/kayenta/edit/configDetailHeader.tsx +19 -2
- package/src/kayenta/edit/configJsonModal.tsx +2 -2
- package/src/kayenta/edit/copyConfigButton.tsx +3 -1
- package/src/kayenta/edit/createConfigButton.tsx +2 -1
- package/src/kayenta/edit/editMetricEffectSizes.tsx +3 -1
- package/src/kayenta/edit/editMetricModal.tsx +13 -3
- package/src/kayenta/edit/filterTemplateSelector.tsx +4 -0
- package/src/kayenta/edit/groupName.tsx +2 -0
- package/src/kayenta/edit/groupTabs.tsx +12 -4
- package/src/kayenta/edit/groupWeight.tsx +2 -0
- package/src/kayenta/edit/inlineTemplateEditor.tsx +2 -0
- package/src/kayenta/edit/judgeSelect.tsx +2 -0
- package/src/kayenta/edit/metricList.tsx +22 -5
- package/src/kayenta/edit/metricStoreSelector.tsx +2 -0
- package/src/kayenta/edit/nameAndDescription.tsx +9 -1
- package/src/kayenta/edit/openDeleteModalButton.tsx +3 -2
- package/src/kayenta/edit/saveConfigButton.tsx +3 -2
- package/src/kayenta/reducers/app.ts +1 -1
- package/src/kayenta/stages/kayentaStage/kayentaStage.html +254 -212
- package/src/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.html +25 -12
- package/.github/workflows/ci.yml +0 -75
- package/.github/workflows/publish_lib.yml +0 -26
- package/.husky/pre-commit +0 -6
- package/build/dist/index-3a07fee8.js +0 -2
- package/build/dist/lazy-330960fa.js +0 -2
- package/build/dist/lazy-330960fa.js.map +0 -1
- package/build_scripts/assert_package_bump.sh +0 -93
- package/build_scripts/publish_github_actions.sh +0 -40
|
@@ -4,24 +4,30 @@
|
|
|
4
4
|
<div class="row">
|
|
5
5
|
<div class="col-md-2 canary-summary">
|
|
6
6
|
<div class="score score-large">
|
|
7
|
-
<kayenta-canary-score
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
<kayenta-canary-score
|
|
8
|
+
score="stage.context.overallScore"
|
|
9
|
+
health="stage.context.overallHealth"
|
|
10
|
+
result="stage.context.overallResult"
|
|
11
|
+
></kayenta-canary-score>
|
|
10
12
|
</div>
|
|
11
13
|
</div>
|
|
12
14
|
</div>
|
|
13
15
|
|
|
14
16
|
<div class="row">
|
|
15
17
|
<div class="col-md-12 horizontal">
|
|
16
|
-
<canary-run-summaries
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
<canary-run-summaries
|
|
19
|
+
class="horizontal flex-1"
|
|
20
|
+
canary-runs="kayentaStageDetailsCtrl.canaryRuns"
|
|
21
|
+
first-scope-name="kayentaStageDetailsCtrl.firstScopeName"
|
|
22
|
+
></canary-run-summaries>
|
|
19
23
|
</div>
|
|
20
24
|
</div>
|
|
21
25
|
|
|
22
|
-
<stage-failure-message
|
|
23
|
-
|
|
24
|
-
|
|
26
|
+
<stage-failure-message
|
|
27
|
+
stage="stage"
|
|
28
|
+
is-failed="stage.exceptions.length > 0"
|
|
29
|
+
messages="stage.exceptions"
|
|
30
|
+
></stage-failure-message>
|
|
25
31
|
</div>
|
|
26
32
|
|
|
27
33
|
<div class="step-section-details" ng-if="detailsSection === 'canaryConfig'">
|
|
@@ -43,11 +49,15 @@
|
|
|
43
49
|
</div>
|
|
44
50
|
<div class="row" ng-if="stage.context.canaryConfig.scopes[0].startTimeIso">
|
|
45
51
|
<div class="col-md-4 sm-label-right compact">Start Time</div>
|
|
46
|
-
<div class="col-md-8" style="word-wrap: break-word">
|
|
52
|
+
<div class="col-md-8" style="word-wrap: break-word">
|
|
53
|
+
{{ stage.context.canaryConfig.scopes[0].startTimeIso | dateToMillis | timestamp}}
|
|
54
|
+
</div>
|
|
47
55
|
</div>
|
|
48
56
|
<div class="row" ng-if="stage.context.canaryConfig.scopes[0].endTimeIso">
|
|
49
57
|
<div class="col-md-4 sm-label-right compact">End Time</div>
|
|
50
|
-
<div class="col-md-8" style="word-wrap: break-word">
|
|
58
|
+
<div class="col-md-8" style="word-wrap: break-word">
|
|
59
|
+
{{stage.context.canaryConfig.scopes[0].endTimeIso | dateToMillis | timestamp}}
|
|
60
|
+
</div>
|
|
51
61
|
</div>
|
|
52
62
|
</div>
|
|
53
63
|
<div class="col-md-12 canary-config-section">
|
|
@@ -56,7 +66,10 @@
|
|
|
56
66
|
<div class="row">
|
|
57
67
|
<div class="col-md-4 sm-label-right compact">Config Name</div>
|
|
58
68
|
<div class="col-md-8" style="word-wrap: break-word">
|
|
59
|
-
<a
|
|
69
|
+
<a
|
|
70
|
+
href
|
|
71
|
+
ui-sref="home.applications.application.canary.canaryConfig.configDetail({id: stage.context.canaryConfig.canaryConfigId})"
|
|
72
|
+
>
|
|
60
73
|
{{kayentaStageDetailsCtrl.canaryConfigName}}
|
|
61
74
|
</a>
|
|
62
75
|
</div>
|
package/.github/workflows/ci.yml
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
name: Branch Build
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
push:
|
|
6
|
-
branches:
|
|
7
|
-
- master
|
|
8
|
-
- release-*
|
|
9
|
-
|
|
10
|
-
env:
|
|
11
|
-
NODE_VERSION: 12.16.0
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
ci:
|
|
15
|
-
# Meta-job that depends on the other job statuses. Branch protection then checks this job status.
|
|
16
|
-
name: Kayenta CI
|
|
17
|
-
if: startsWith(github.repository, 'spinnaker/')
|
|
18
|
-
needs: [test, build]
|
|
19
|
-
runs-on: ubuntu-latest
|
|
20
|
-
steps:
|
|
21
|
-
- run: echo test, build successful
|
|
22
|
-
|
|
23
|
-
test:
|
|
24
|
-
name: Unit tests
|
|
25
|
-
runs-on: ubuntu-latest
|
|
26
|
-
steps:
|
|
27
|
-
- uses: actions/checkout@v2
|
|
28
|
-
|
|
29
|
-
- uses: actions/setup-node@v1
|
|
30
|
-
with:
|
|
31
|
-
node-version: ${{ env.NODE_VERSION }}
|
|
32
|
-
|
|
33
|
-
- name: Get yarn cache
|
|
34
|
-
id: yarn-cache
|
|
35
|
-
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
36
|
-
|
|
37
|
-
- uses: actions/cache@v1
|
|
38
|
-
with:
|
|
39
|
-
path: ${{ steps.yarn-cache.outputs.dir }}
|
|
40
|
-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
41
|
-
restore-keys: |
|
|
42
|
-
${{ runner.os }}-yarn-
|
|
43
|
-
|
|
44
|
-
- name: Install Dependencies
|
|
45
|
-
run: yarn --frozen-lockfile
|
|
46
|
-
|
|
47
|
-
- name: Unit Tests
|
|
48
|
-
run: yarn test
|
|
49
|
-
|
|
50
|
-
build:
|
|
51
|
-
name: Production Build
|
|
52
|
-
runs-on: ubuntu-latest
|
|
53
|
-
steps:
|
|
54
|
-
- uses: actions/checkout@v2
|
|
55
|
-
|
|
56
|
-
- uses: actions/setup-node@v1
|
|
57
|
-
with:
|
|
58
|
-
node-version: ${{ env.NODE_VERSION }}
|
|
59
|
-
|
|
60
|
-
- name: Get yarn cache
|
|
61
|
-
id: yarn-cache
|
|
62
|
-
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
63
|
-
|
|
64
|
-
- uses: actions/cache@v1
|
|
65
|
-
with:
|
|
66
|
-
path: ${{ steps.yarn-cache.outputs.dir }}
|
|
67
|
-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
68
|
-
restore-keys: |
|
|
69
|
-
${{ runner.os }}-yarn-
|
|
70
|
-
|
|
71
|
-
- name: Install Dependencies
|
|
72
|
-
run: yarn --frozen-lockfile
|
|
73
|
-
|
|
74
|
-
- name: Yarn Build
|
|
75
|
-
run: yarn build
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
name: Publish to NPM
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- 'master'
|
|
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 }}
|