Running with gitlab-runner 15.4.0 (43b2dc3d)
  on EC2AMAZ-2QGE9HD mM-kR9iN
section_start:1678436456:prepare_executor
Preparing the "shell" executor
Using Shell executor...
section_end:1678436456:prepare_executor
section_start:1678436456:prepare_script
Preparing environment
Running on EC2AMAZ-2QGE9HD...
section_end:1678436457:prepare_script
section_start:1678436457:get_sources
Getting source from Git repository
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in C:/gitlab-runner/builds/mM-kR9iN/0/bitia/bitia-cli/.git/
Checking out 78a2de96 as v0.2.3...
Removing bitia/__pycache__/
git-lfs/3.2.0 (GitHub; windows amd64; go 1.18.2)

Skipping Git submodules setup
section_end:1678436460:get_sources
section_start:1678436460:step_script
Executing "step_script" stage of the job script
$ choco.exe install -y python
Chocolatey v1.1.0
Installing the following packages:
python
By installing, you accept licenses for the packages.
python v3.11.0 already installed.
 Use --force to reinstall, specify a version to install, or try upgrade.

Chocolatey installed 0/1 packages. 
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Warnings:
 - python - python v3.11.0 already installed.
 Use --force to reinstall, specify a version to install, or try upgrade.
$ python -m pip install .
Processing c:\gitlab-runner\builds\mm-kr9in\0\bitia\bitia-cli
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: pyparsing<4.0.0,>=3.0.9 in c:\python311\lib\site-packages (from bitia==0.2.3) (3.0.9)
Requirement already satisfied: requests<3.0.0,>=2.28.1 in c:\python311\lib\site-packages (from bitia==0.2.3) (2.28.1)
Requirement already satisfied: rich<13.0.0,>=12.5.1 in c:\python311\lib\site-packages (from bitia==0.2.3) (12.6.0)
Requirement already satisfied: typer<0.7.0,>=0.6.1 in c:\python311\lib\site-packages (from bitia==0.2.3) (0.6.1)
Requirement already satisfied: validators<0.21.0,>=0.20.0 in c:\python311\lib\site-packages (from bitia==0.2.3) (0.20.0)
Requirement already satisfied: charset-normalizer<3,>=2 in c:\python311\lib\site-packages (from requests<3.0.0,>=2.28.1->bitia==0.2.3) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in c:\python311\lib\site-packages (from requests<3.0.0,>=2.28.1->bitia==0.2.3) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\python311\lib\site-packages (from requests<3.0.0,>=2.28.1->bitia==0.2.3) (1.26.12)
Requirement already satisfied: certifi>=2017.4.17 in c:\python311\lib\site-packages (from requests<3.0.0,>=2.28.1->bitia==0.2.3) (2022.9.24)
Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in c:\python311\lib\site-packages (from rich<13.0.0,>=12.5.1->bitia==0.2.3) (0.9.1)
Requirement already satisfied: pygments<3.0.0,>=2.6.0 in c:\python311\lib\site-packages (from rich<13.0.0,>=12.5.1->bitia==0.2.3) (2.13.0)
Requirement already satisfied: click<9.0.0,>=7.1.1 in c:\python311\lib\site-packages (from typer<0.7.0,>=0.6.1->bitia==0.2.3) (8.1.3)
Requirement already satisfied: decorator>=3.4.0 in c:\python311\lib\site-packages (from validators<0.21.0,>=0.20.0->bitia==0.2.3) (5.1.1)
Requirement already satisfied: colorama in c:\python311\lib\site-packages (from click<9.0.0,>=7.1.1->typer<0.7.0,>=0.6.1->bitia==0.2.3) (0.4.6)
Building wheels for collected packages: bitia
  Building wheel for bitia (pyproject.toml): started
  Building wheel for bitia (pyproject.toml): finished with status 'done'
  Created wheel for bitia: filename=bitia-0.2.3-py3-none-any.whl size=24363 sha256=47ddc418953be4cccff4eaf3570d1ea2dffa9ac02d8f9cd9f45e8484bd2df134
  Stored in directory: c:\windows\system32\config\systemprofile\appdata\local\pip\cache\wheels\22\4c\22\3407c8d41cd142a68d4375e5057ff497f84a1176d4b1901ba1
Successfully built bitia
Installing collected packages: bitia
  Attempting uninstall: bitia
    Found existing installation: bitia 0.2.3
    Uninstalling bitia-0.2.3:
      Successfully uninstalled bitia-0.2.3
Successfully installed bitia-0.2.3

[notice] A new release of pip is available: 23.0 -> 23.0.1
[notice] To update, run: python.exe -m pip install --upgrade pip
$ python -m bitia --help
                                                                               
 Usage: python -m bitia [OPTIONS] COMMAND [ARGS]...                            
                                                                               
 Callback                                                                      
                                                                               
+- Options -------------------------------------------------------------------+
| --verbose                            [debug|info|warni  [default:           |
|                                      ng]                VerbosityLevel.war� |
| --plain                --no-plain                       [default: no-plain] |
| --server                             TEXT               [default: None]     |
| --install-completi�                  [bash|zsh|fish|po  Install completion  |
|                                      wershell|pwsh]     for the specified   |
|                                                         shell.              |
|                                                         [default: None]     |
| --show-completion                    [bash|zsh|fish|po  Show completion for |
|                                      wershell|pwsh]     the specified       |
|                                                         shell, to copy it   |
|                                                         or customize the    |
|                                                         installation.       |
|                                                         [default: None]     |
| --help                                                  Show this message   |
|                                                         and exit.           |
+-----------------------------------------------------------------------------+
+- Commands ------------------------------------------------------------------+
| artifacts                                                                   |
| checksum                                                                    |
| create-container  Create container for the pipeline. The container starts   |
|                   running immediately on the server. Use command `logs` to  |
|                   stream the output.                                        |
| list-container    List the remote server associated with the pipeline.      |
| logs              Stream logs for the most recent run of a given pipeline.  |
| run               Run a pipeline                                            |
| submit            Submit your pipelin (url, directory, zip_file).           |
| version           version information                                       |
+-----------------------------------------------------------------------------+

$ python -m bitia run "ls -ltrh /"
Using server https://subcom.bitia.link/api/v1
BiTIA is setting up required infra... ----------------------------- 14.2 it/s 
total 52K
lrwxrwxrwx   1 root root    7 Jan 31 20:51 sbin -> usr/bin
drwxr-xr-x   2 root root 4.0K Jan 31 20:51 opt
lrwxrwxrwx
 1 root root    7 Jan 31 20:51 lib64 -> usr/lib
lrwxrwxrwx   1 root root    7 Jan 31 20:51 lib -> usr/lib
drwxr-xr-x   2 root ro
ot 4.0K Jan 31 20:51 home
drwxr-xr-x   2 root root 4.0K Jan 31 20:51 boot
lrwxrwxrwx   1 root root    7 Jan 31 20:51 bin -> usr/
bin
drwxr-xr-x   4 root root 4.0K Mar  5 00:05 srv
drwxr-xr-x   1 root root 4.0K Mar  5 00:05 var
dr-xr-xr-x  13 root root    0
Mar  8 10:33 sys
drwxr-xr-x   1 root root 4.0K Mar 10 06:59 usr
drwxr-xr-x   1 root root 4.0K Mar 10 06:59 run
drwxr-x---   1 ro
ot root 4.0K Mar 10 07:01 root
drwxrwxrwt  15 root root 4.0K Mar 10 07:42 tmp
drwxr-xr-x   4 root root 4.0K Mar 10 08:21 app
drw
xr-xr-x   1 root root 4.0K Mar 10 08:21 etc
dr-xr-xr-x 204 root root    0 Mar 10 08:21 proc
drwxr-xr-x   1 root root 4.0K Mar 10
 08:21 mnt
drwxr-xr-x   5 root root  340 Mar 10 08:21 dev
section_end:1678436472:step_script
section_start:1678436472:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1678436473:cleanup_file_variables
Job succeeded