AnCh7 / sweetshot

HTTP client for Steepshot API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

todo

  • get voters tests
  • additional tests
  • recheck ditch
  • recheck userinfo class and postingkey in ditch
  • recheck ditch upload
  • remerge
  • run tests

sweetshot

HTTP client for Steepshot API

useful

sudo shutdown -r now docker-compose restart agent_mono

teamcity setup

  1. Create directory structure /opt/teamcity/ ├── agent ├── config ├── data ├── log └── docker-compose.yml

  2. copy docker-compose.yml

  3. firewal sudo ufw allow ssh sudo ufw allow https sudo ufw allow http sudo ufw allow 8111 sudo ufw enable sudo ufw status

  4. docker-compose up -d

  5. http://45.55.190.241:8111

  6. Agents -> Authorize

  7. Add project from github

  8. Setup build steps:

    • git clean -> Command Line -> Custom script: git reset --hard && git clean -f -d -x
    • nuget restore -> Command Line -> Custom script: nuget restore
    • get-nunit -> Command Line -> Custom script: nuget install NUnit.Console -version 3.6.0 -o ~/home/nunit/
    • msbuild -> Command Line -> Custom script: msbuild
    • change-config (for QA) -> Command Line -> Custom script: sed -i 's/<steem_url>/steem_url_prod/g' src/Sweetshot.Tests/bin/Debug/Sweetshot.Tests.dll.config sed -i 's/<steem_url_qa>/steem_url/g' src/Sweetshot.Tests/bin/Debug/Sweetshot.Tests.dll.config sed -i 's/<golos_url>/golos_url_prod/g' src/Sweetshot.Tests/bin/Debug/Sweetshot.Tests.dll.config sed -i 's/<golos_url_qa>/golos_url/g' src/Sweetshot.Tests/bin/Debug/Sweetshot.Tests.dll.config
    • run-nunit -> Command Line -> Custom script: mono ~/home/nunit/NUnit.ConsoleRunner.3.6.0/tools/nunit3-console.exe src/Sweetshot.Tests/bin/Debug/Sweetshot.Tests.dll

About

HTTP client for Steepshot API

License:The Unlicense


Languages

Language:Python 86.5%Language:C# 13.5%Language:Shell 0.0%