Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
version: 2.1
jobs:

test:
working_directory: ~/ci
docker:
# Primary container image where all steps run.
- image: 487920318758.dkr.ecr.us-west-2.amazonaws.com/cljs-web3-ci:node-16.15.1
# Secondary container images on common network.
- image: trufflesuite/ganache:v7.6.0
command: [-v -m "easy leave proof verb wait patient fringe laptop intact opera slab shine", -p 8549, -l 8000000, -b 0, --chain.allowUnlimitedContractSize=true]
steps:
- checkout
- restore_cache:
name: Restore npm package cache
keys:
- npm-packages-{{ checksum "yarn.lock" }}
- run:
name: Install node modules
command: yarn install
- save_cache:
name: Save npm package cache
key: npm-packages-{{ checksum "yarn.lock" }}
paths:
- ./node_modules/
- run: npx truffle migrate --network development --reset
- run: npx shadow-cljs compile test-node
- run: node out/node-tests.js

deploy:
working_directory: ~/ci

docker:
- image: 487920318758.dkr.ecr.us-west-2.amazonaws.com/cljs-web3-ci:latest
aws_auth:
aws_access_key_id: $AWS_ACCESS_KEY_ID
aws_secret_access_key: $AWS_SECRET_ACCESS_KEY
steps:
- checkout
- run:
name: Build JAR
command: clojure -T:build jar
- run:
name: Release to clojars
command: clojure -T:build deploy

workflows:
version: 2
test_and_deploy:
jobs:
- test:
context: district0x
- deploy:
context: district0x
requires:
- test
filters:
branches:
only: master
30 changes: 0 additions & 30 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

61 changes: 0 additions & 61 deletions .github/ISSUE_TEMPLATE/full-bug-report.md

This file was deleted.

13 changes: 0 additions & 13 deletions .github/pull_request_template.md

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/hadolint.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/production.yml

This file was deleted.

75 changes: 0 additions & 75 deletions .github/workflows/qa.yml

This file was deleted.

Loading