Skip to content

Commit 7074017

Browse files
refactor CircleCI configuration: remove unused jobs and notifications, update workflows
1 parent cf471ef commit 7074017

File tree

4 files changed

+2
-331
lines changed

4 files changed

+2
-331
lines changed

.circleci/config.yml

Lines changed: 2 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
version: 2.1
22
orbs:
3-
node: circleci/[email protected]
43
utils: ethereum-optimism/[email protected]
5-
slack: circleci/[email protected]
64

75
executors:
86
node20:
@@ -18,39 +16,6 @@ executors:
1816
working_directory: ~/project
1917

2018
commands:
21-
notify_slack_on_failure:
22-
steps:
23-
- slack/notify:
24-
event: fail
25-
channel: ${SLACK_DEFAULT_CHANNEL}
26-
template: BASIC_FAIL_1
27-
custom: |
28-
{
29-
"blocks": [
30-
{
31-
"type": "header",
32-
"text": {
33-
"type": "plain_text",
34-
"text": "❌ Job Failed: ${CIRCLE_JOB}",
35-
"emoji": true
36-
}
37-
},
38-
{
39-
"type": "section",
40-
"text": {
41-
"type": "mrkdwn",
42-
"text": "*Workflow:* ${CIRCLE_WORKFLOW_ID}\n*Job:* ${CIRCLE_JOB}\n*Branch:* ${CIRCLE_BRANCH}"
43-
}
44-
},
45-
{
46-
"type": "section",
47-
"text": {
48-
"type": "mrkdwn",
49-
"text": "<${CIRCLE_BUILD_URL}|View Job Details>"
50-
}
51-
}
52-
]
53-
}
5419
setup-node:
5520
steps:
5621
- run:
@@ -184,42 +149,6 @@ jobs:
184149
issue-labels: "monthly-report"
185150
assignees: "sbvegan"
186151

187-
cross-dom-bridge-eth:
188-
executor: ubuntu
189-
steps:
190-
- checkout
191-
- setup-node
192-
- run:
193-
name: Run tutorial
194-
command: node ./public/tutorials/cross-dom-bridge-eth.js
195-
environment:
196-
TUTORIAL_PRIVATE_KEY: ${TUTORIAL_PRIVATE_KEY}
197-
- notify_slack_on_failure
198-
199-
send-tx-from-eth:
200-
executor: ubuntu
201-
steps:
202-
- checkout
203-
- setup-node
204-
- run:
205-
name: Run tutorial
206-
command: node ./public/tutorials/send-tx-from-eth.js
207-
environment:
208-
TUTORIAL_PRIVATE_KEY: ${TUTORIAL_PRIVATE_KEY}
209-
- notify_slack_on_failure
210-
211-
sdk-estimate-costs:
212-
executor: ubuntu
213-
steps:
214-
- checkout
215-
- setup-node
216-
- run:
217-
name: Run tutorial
218-
command: node ./public/tutorials/sdk-estimate-costs.js
219-
environment:
220-
TUTORIAL_PRIVATE_KEY: ${TUTORIAL_PRIVATE_KEY}
221-
- notify_slack_on_failure
222-
223152
workflows:
224153
merge-workflow:
225154
jobs:
@@ -235,22 +164,8 @@ workflows:
235164
- links
236165
- lint
237166
monthly-workflow:
238-
# when:
239-
# equal: [build_monthly, <<pipeline.schedule.name>>]
167+
when:
168+
equal: [build_monthly, <<pipeline.schedule.name>>]
240169
jobs:
241170
- developer-metrics:
242171
context: circleci-repo-docs
243-
nightly-workflow:
244-
when:
245-
equal: [build_nightly, <<pipeline.schedule.name>>]
246-
jobs:
247-
- cross-dom-bridge-eth:
248-
context: [tutorial-keys, slack]
249-
- send-tx-from-eth:
250-
context: [tutorial-keys, slack]
251-
requires:
252-
- cross-dom-bridge-eth
253-
- sdk-estimate-costs:
254-
context: [tutorial-keys, slack]
255-
requires:
256-
- send-tx-from-eth

.github/workflows/monthly-issue-metircs.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.github/workflows/monthly-pr-metrics.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.github/workflows/tutorials.yml

Lines changed: 0 additions & 124 deletions
This file was deleted.

0 commit comments

Comments
 (0)