mirror of
https://github.com/amitbet/vncproxy.git
synced 2025-08-03 14:59:43 +00:00
remove steps in circleCI config
This commit is contained in:
parent
0ba10fab76
commit
c7ac36d15f
@ -39,33 +39,33 @@ jobs: # basic units of work in a run
|
|||||||
PACKAGE_NAMES=$(go list ./... | circleci tests split --split-by=timings --timings-type=classname)
|
PACKAGE_NAMES=$(go list ./... | circleci tests split --split-by=timings --timings-type=classname)
|
||||||
gotestsum --junitfile ${TEST_RESULTS}/gotestsum-report.xml -- $PACKAGE_NAMES
|
gotestsum --junitfile ${TEST_RESULTS}/gotestsum-report.xml -- $PACKAGE_NAMES
|
||||||
|
|
||||||
- run: make # pull and build dependencies for the project
|
# - run: make # pull and build dependencies for the project
|
||||||
|
|
||||||
- save_cache:
|
# - save_cache:
|
||||||
key: go-mod-v4-{{ checksum "go.sum" }}
|
# key: go-mod-v4-{{ checksum "go.sum" }}
|
||||||
paths:
|
# paths:
|
||||||
- "/go/pkg/mod"
|
# - "/go/pkg/mod"
|
||||||
|
|
||||||
- run:
|
# - run:
|
||||||
name: Start service
|
# name: Start service
|
||||||
environment:
|
# environment:
|
||||||
CONTACTS_DB_URL: "postgres://circleci-demo-go@localhost:5432/circle_test?sslmode=disable"
|
# CONTACTS_DB_URL: "postgres://circleci-demo-go@localhost:5432/circle_test?sslmode=disable"
|
||||||
CONTACTS_DB_MIGRATIONS: /home/circleci/project/db/migrations
|
# CONTACTS_DB_MIGRATIONS: /home/circleci/project/db/migrations
|
||||||
command: ./workdir/contacts
|
# command: ./workdir/contacts
|
||||||
background: true # keep service running and proceed to next step
|
# background: true # keep service running and proceed to next step
|
||||||
|
|
||||||
- run:
|
# - run:
|
||||||
name: Validate service is working
|
# name: Validate service is working
|
||||||
command: |
|
# command: |
|
||||||
sleep 5
|
# sleep 5
|
||||||
curl --retry 10 --retry-delay 1 -X POST --header "Content-Type: application/json" -d '{"email":"test@example.com","name":"Test User"}' http://localhost:8080/contacts
|
# curl --retry 10 --retry-delay 1 -X POST --header "Content-Type: application/json" -d '{"email":"test@example.com","name":"Test User"}' http://localhost:8080/contacts
|
||||||
|
|
||||||
- store_artifacts: # upload test summary for display in Artifacts
|
# - store_artifacts: # upload test summary for display in Artifacts
|
||||||
path: /tmp/test-results
|
# path: /tmp/test-results
|
||||||
destination: raw-test-output
|
# destination: raw-test-output
|
||||||
|
|
||||||
- store_test_results: # upload test results for display in Test Summary
|
# - store_test_results: # upload test results for display in Test Summary
|
||||||
path: /tmp/test-results
|
# path: /tmp/test-results
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build-workflow:
|
build-workflow:
|
||||||
|
Loading…
Reference in New Issue
Block a user