Codebase list zonedb / 84dbb96
Remove CircleCI config Randy Reddig 3 years ago
1 changed file(s) with 0 addition(s) and 59 deletion(s). Raw diff Collapse all Expand all
+0
-59
.circleci-disabled/config.yml less more
0 version: 2
1 jobs:
2 build:
3 working_directory: ~/go/src/github.com/zonedb/zonedb
4 docker:
5 - image: domainr/ci:swan
6 steps:
7 - checkout
8 - run: go get -t -d -v ./...
9 - run: go build -v
10
11 # Run tests
12 - run: mkdir -p test-results
13 - run: |
14 trap "go-junit-report < test-results/go-test.log > test-results/go-test-report.xml" EXIT
15 go test -v -race -bench . ./... | tee test-results/go-test.log
16
17 # Report
18 - store_test_results:
19 path: test-results
20 - store_artifacts:
21 path: test-results
22 destination: results
23
24 # Deploy
25 - deploy:
26 command: |
27 if [ "${CIRCLE_BRANCH}" == "master" ]; then
28 make tag-version
29 fi
30
31 update:
32 working_directory: ~/go/src/github.com/zonedb/zonedb
33 docker:
34 - image: domainr/ci:swan
35 steps:
36 - checkout
37 - run: git checkout $CIRCLE_BRANCH && git reset --hard origin/$CIRCLE_BRANCH
38 - run: go get -t -d -v ./...
39 - run: make update
40 - run: git add -v --all .
41 - run: when-git-dirty commit-and-push
42
43 workflows:
44 version: 2
45 commit_workflow:
46 jobs:
47 - build
48 scheduled_workflow:
49 jobs:
50 - update:
51 context: org-global
52 triggers:
53 - schedule:
54 cron: "07 8 * * *" # 08:07 UTC, or 12:07 AM PST
55 filters:
56 branches:
57 only:
58 - master