Skip to content

Commit 2b69285

Browse files
authored
Merge pull request #64 from elasticio/revert-62-update-sailor
Revert "Update sailor"
2 parents 05913db + 4e81e84 commit 2b69285

File tree

6 files changed

+632
-647
lines changed

6 files changed

+632
-647
lines changed

.circleci/config.yml

Lines changed: 50 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -13,62 +13,63 @@ commands:
1313
event: fail
1414
custom: |
1515
{
16-
"blocks": [
17-
{
18-
"type": "section",
19-
"fields": [
20-
{
21-
"type": "mrkdwn",
22-
"text": ":red_circle: *$CIRCLE_PROJECT_REPONAME*:*$CIRCLE_TAG* build failed"
23-
}
24-
]
25-
},
26-
{
27-
"type": "actions",
28-
"elements": [
29-
{
30-
"type": "button",
31-
"text": {
32-
"type": "plain_text",
33-
"text": "View Job"
34-
},
35-
"url": "${CIRCLE_BUILD_URL}"
36-
}
37-
]
38-
}
39-
]
16+
"blocks": [
17+
{
18+
"type": "section",
19+
"fields": [
20+
{
21+
"type": "mrkdwn",
22+
"text": ":red_circle: *$CIRCLE_PROJECT_REPONAME*:*$CIRCLE_TAG* build failed"
23+
}
24+
]
25+
},
26+
{
27+
"type": "actions",
28+
"elements": [
29+
{
30+
"type": "button",
31+
"text": {
32+
"type": "plain_text",
33+
"text": "View Job"
34+
},
35+
"url": "${CIRCLE_BUILD_URL}"
36+
}
37+
]
38+
}
39+
]
4040
}
4141
notify_on_pass:
4242
steps:
4343
- slack/notify:
4444
event: pass
4545
custom: |
4646
{
47-
"blocks": [
48-
{
49-
"type": "section",
50-
"fields": [
51-
{
52-
"type": "mrkdwn",
53-
"text": ":tada: *$CIRCLE_PROJECT_REPONAME*:*$CIRCLE_TAG* was successfully built and published"
54-
}
55-
]
56-
},
57-
{
58-
"type": "actions",
59-
"elements": [
60-
{
61-
"type": "button",
62-
"text": {
63-
"type": "plain_text",
64-
"text": "View Job"
65-
},
66-
"url": "${CIRCLE_BUILD_URL}"
67-
}
68-
]
69-
}
70-
]
47+
"blocks": [
48+
{
49+
"type": "section",
50+
"fields": [
51+
{
52+
"type": "mrkdwn",
53+
"text": ":tada: *$CIRCLE_PROJECT_REPONAME*:*$CIRCLE_TAG* was successfully built and published"
54+
}
55+
]
56+
},
57+
{
58+
"type": "actions",
59+
"elements": [
60+
{
61+
"type": "button",
62+
"text": {
63+
"type": "plain_text",
64+
"text": "View Job"
65+
},
66+
"url": "${CIRCLE_BUILD_URL}"
67+
}
68+
]
69+
}
70+
]
7171
}
72+
7273
jobs:
7374
test:
7475
docker: # run the steps with Docker
@@ -80,12 +81,10 @@ jobs:
8081
- node/install-packages:
8182
cache-path: ./node_modules
8283
override-ci-command: npm install
83-
- run:
84-
name: Audit Dependencies
85-
command: npm audit --production --audit-level=high
8684
- run:
8785
name: test
8886
command: npm test
87+
8988
build:
9089
docker:
9190
- image: cimg/base:stable

CHANGELOG.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
## 1.2.8 (April 08, 2022)
2-
3-
* Update Sailor version to 2.6.27
4-
* Get rid of vulnerabilities in dependencies
5-
* Add component pusher job to Circle.ci config
6-
71
## 1.2.7 (February 15, 2022)
82

93
* Updated Node engine to 15.8.0

circle.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
machine:
2+
services:
3+
- docker
4+
5+
dependencies:
6+
override:
7+
- docker pull elasticio/appbuilder
8+
9+
test:
10+
override:
11+
- chmod 700 .circleci/build_slug.sh
12+
- .circleci/build_slug.sh

component.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"title": "Node.js Code",
3+
"version": "1.2.8",
34
"description": "You can write your own code and deploy it as part of integration process.",
45
"docsUrl": "http://go2.elastic.io/code-component",
56
"fields": {

0 commit comments

Comments
 (0)