Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary steps from deployment #611

Merged
merged 1 commit into from
Sep 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 7 additions & 19 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ steps:
when:
event:
- push
branch:
exclude: [prod]
depends_on:
- setup
commands:
Expand All @@ -38,21 +40,6 @@ steps:
- yarn build
- yarn build:cli

# - name: test
# image: node:16-alpine
# when:
# event:
# - push
# depends_on:
# - build
# commands:
# - yarn coverage
# environment:
# MONGO_URL: mongodb://mongodb:27017/vote-test
# REDIS_URL: redis
# VITEST_MAX_THREADS: 8
# VITEST_MIN_THREADS: 1

# - name: coverage
# image: node:16-alpine
# when:
Expand All @@ -75,6 +62,8 @@ steps:
when:
event:
- push
branch:
exclude: [prod]
depends_on:
- build
commands:
Expand All @@ -92,6 +81,8 @@ steps:
when:
event:
- push
branch:
exclude: [prod]
depends_on:
- build
commands:
Expand All @@ -116,7 +107,6 @@ steps:
status: success
depends_on:
- lint
# - test
- cypress
- build
settings:
Expand Down Expand Up @@ -167,6 +157,4 @@ volumes:

---
kind: signature
hmac: a87c2dbaf34e697a6a4850e33bbb1768086b0982d91a7aad1e92f85b10f4b4dd

...
hmac: 0aae33caf8b82ea0895715cb844b6c58dc67c3a3b0c909ada1035ecd941908aa