mirror of
https://github.com/valitydev/swag-analytics.git
synced 2024-11-06 08:45:28 +00:00
6d5fae7dce
* CAPI-381: Port SWAG CAPI V3 to SWAG YAPI * CAPI-381: Clean up unused definitions * CAPI-381: Rename YAPI to Dashboard API * CAPI-381: Remove wsd folder and review fixes * Update spec/definitions/ContinuationToken.yaml Co-Authored-By: Andrew Mayorov <a.mayorov@rbkmoney.com> * CAPI-381: Update rebillyMerge script * CAPI-381: Change copyright and remove wercker deploy * CAPI-381: Fix `npm start` * CAPI-381: Remove ExternalIDConflictError * CAPI-381: Change error message example to one that can actually occur * CAPI-381: Remove redundant error description * CAPI-381: Rename x-rebillyMerge to x-merge-properties * CAPI-381: Rename dashboard api to analytics api * CAPI-381: Return copyright * CAPI-381: Review fix * CAPI-381: Remove ReadOnly fields * CAPI-381: Remove `analytics` from paths * CAPI-381: Correct API description
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
box: node:7
|
|
|
|
build:
|
|
steps:
|
|
- npm-install
|
|
- npm-test
|
|
- script:
|
|
name: build docsite
|
|
code: npm run build -- ${WERCKER_OUTPUT_DIR}
|
|
after-steps:
|
|
- slack-notifier:
|
|
url: ${SLACK_WEBHOOK_URL}
|
|
username: "wercker"
|
|
|
|
dev:
|
|
steps:
|
|
- npm-install
|
|
- npm-test
|
|
- internal/shell
|
|
|
|
release-epic:
|
|
steps:
|
|
- script:
|
|
name: prepare release artifacts for epic/* branch
|
|
code: mkdir -p out && cp ./swagger.{yaml,json} out/
|
|
- lordlothar99/git-push:
|
|
gh_oauth: ${GITHUB_API_TOKEN}
|
|
branch: release/${WERCKER_GIT_BRANCH}
|
|
basedir: out
|
|
message: Epic release ${WERCKER_GIT_OWNER}/${WERCKER_GIT_REPOSITORY}@${WERCKER_GIT_COMMIT}
|
|
after-steps:
|
|
- slack-notifier:
|
|
url: ${SLACK_WEBHOOK_URL}
|
|
username: "wercker"
|
|
|
|
release-v:
|
|
steps:
|
|
- script:
|
|
name: prepare release artifacts for branch v1, v2, etc.
|
|
code: mkdir -p out && cp ./swagger.{yaml,json} out/
|
|
- lordlothar99/git-push:
|
|
gh_oauth: ${GITHUB_API_TOKEN}
|
|
branch: release/${WERCKER_GIT_BRANCH}
|
|
basedir: out
|
|
message: Release ${WERCKER_GIT_OWNER}/${WERCKER_GIT_REPOSITORY}@${WERCKER_GIT_COMMIT}
|
|
after-steps:
|
|
- slack-notifier:
|
|
url: ${SLACK_WEBHOOK_URL}
|
|
username: "wercker"
|