@spinnaker/kayenta 2.3.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.
@@ -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 score="stage.context.overallScore"
8
- health="stage.context.overallHealth"
9
- result="stage.context.overallResult"></kayenta-canary-score>
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 class="horizontal flex-1"
17
- canary-runs="kayentaStageDetailsCtrl.canaryRuns"
18
- first-scope-name="kayentaStageDetailsCtrl.firstScopeName"></canary-run-summaries>
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 stage="stage"
23
- is-failed="stage.exceptions.length > 0"
24
- messages="stage.exceptions"></stage-failure-message>
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">{{ stage.context.canaryConfig.scopes[0].startTimeIso | dateToMillis | timestamp}}</div>
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">{{stage.context.canaryConfig.scopes[0].endTimeIso | dateToMillis | timestamp}}</div>
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 href ui-sref="home.applications.application.canary.canaryConfig.configDetail({id: stage.context.canaryConfig.canaryConfigId})">
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>
@@ -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 }}
package/.husky/pre-commit DELETED
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env bash
2
- # CHECK THIS FILE INTO SOURCE CONTROL!
3
-
4
- . "$(dirname "$0")/_/husky.sh"
5
-
6
- [[ -e deck-kayenta/node_modules/.bin/lint-staged ]] && cd deck-kayenta; ./node_modules/.bin/lint-staged -p false