Skip to content

Commit

Permalink
Merge pull request #65 from bitholla/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
abeikverdi authored Jan 5, 2022
2 parents eb1fd0b + ade7118 commit e156cc9
Show file tree
Hide file tree
Showing 14 changed files with 1,352 additions and 2,949 deletions.
59 changes: 59 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
kind: pipeline
type: docker
name: slack_notify

steps:
- name: partymaker_version_tag_testnet
image: alpine
commands:
- export PACKAGE_VERSION="$(grep version package.json | cut -c 14- | rev | cut -c 3- | rev)" && echo "$PACKAGE_VERSION" > .tags
- echo "Current version tag is :" && cat .tags
when:
branch: master

- name: partymaker_version_tag
image: alpine
commands:
- export PACKAGE_VERSION="$(grep version package.json | cut -c 14- | rev | cut -c 3- | rev)" && echo "$PACKAGE_VERSION-testnet" > .tags
- echo "Current version tag is :" && cat .tags
when:
branch: testnet

- name: create_github_release
image: bitholla/devops-tools:drone_github_hub-2004241546
environment:
GITHUB_TOKEN:
from_secret: github_oauth2_token_for_releases
commands:
- apt-get update && apt-get install -y hub git
- hub release create -m "HollaEx Kit v$(cat .tags) Release" -t ${DRONE_BRANCH} $(cat .tags)
when:
branch: master

- name: slack_noti_to_releases
image: bitholla/devops-tools:drone_partymaker-0.1.4
environment:
WEBHOOK_URL:
from_secret: webhook_url
when:
status: [success]

- name: notify_to_discord_releases
image: bitholla/devops-tools:drone_partymaker-0.1.5
channel: deployment
settings:
target: discord
release_name: hollaex-node-lib
environment:
WEBHOOK_URL:
from_secret: discord_webhook_url
when:
status: [ success, failure ]
branch: master

trigger:
branch:
- master
- testnet
event:
- push
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true

[*.{js,json}]
indent_style = tab
indent_size = 4
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"indent": ["error", "tab"],
"arrow-parens": ["error", "always"],
"object-curly-spacing": ["error", "always"],
"no-console": 0
}
}
1 change: 0 additions & 1 deletion .prettierignore.json

This file was deleted.

8 changes: 0 additions & 8 deletions .prettierrc.json

This file was deleted.

Loading

0 comments on commit e156cc9

Please sign in to comment.