chore: delete circle config

This commit is contained in:
Ron de las Alas 2023-12-08 14:25:21 -05:00
parent 1b9a9b36c2
commit 0859d89cde

View file

@ -1,73 +0,0 @@
version: "2.1"
orbs:
slack: circleci/slack@4.1
eb: circleci/aws-elastic-beanstalk@2.0.1
executors:
sapi-executor:
docker:
- image: "cimg/node:16.16.0"
resource_class: medium
aliases:
- &setup
steps:
- checkout
- run: sudo apt-get update
- run:
name: Install deps
command: npm install
- run:
name: Run ci
command: npm ci
- run:
name: Run tests
command: npm test
- &deploy
steps:
- checkout
- run:
name: Publish package
command: npx semantic-release
- slack/notify:
channel: circleci-backend-deploys
event: fail
template: basic_fail_1
- slack/notify:
channel: circleci-backend-deploys
event: pass
template: success_tagged_deploy_1
jobs:
build-and-test:
executor: sapi-executor
<<: *setup
publish-package:
executor: sapi-executor
<<: *deploy
workflows:
build-and-test-analysis:
jobs:
- build-and-test:
context:
- scratch-analysis
- slack-notifications
when:
not:
equal: [ tsm/circleci-updates, <<pipeline.git.branch>> ]
build-and-publish-package:
when:
equal: [ tsm/circleci-updates, << pipeline.git.branch >> ]
jobs:
- build-and-test:
context:
- scratch-analysis
- slack-notifications
- publish-package:
context:
- scratch-analysis
- slack-notifications
requires:
- build-and-test