Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bitia-cli
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bitia
bitia-cli
Commits
3d0703e7
Commit
3d0703e7
authored
2 years ago
by
dilawar
Browse files
Options
Downloads
Plain Diff
Merge branch 'devel' of gitlab.subcom.tech:bitia/bitia-cli into devel
parents
3aae3071
c702f502
No related branches found
No related tags found
1 merge request
!2
version 0.2.0
Pipeline
#3696
failed with stages
in 1 minute and 50 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+18
-0
18 additions, 0 deletions
README.md
bitia/__main__.py
+1
-1
1 addition, 1 deletion
bitia/__main__.py
with
19 additions
and
1 deletion
README.md
+
18
−
0
View file @
3d0703e7
...
@@ -9,6 +9,24 @@ python -m pip install bitia --user
...
@@ -9,6 +9,24 @@ python -m pip install bitia --user
python -m bitia --help
python -m bitia --help
```
```
## Configuration
TODO: Order of searching configuration file.
### Unix like systems
1.
`./bitia.toml`
2.
`~/.bitia.toml`
3.
`$HOME/.config/bitia.toml`
3.
`/etc/bitia.toml`
### Windows
1.
`bitia.toml`
2.
`%APPDATA%\bitia.toml`
3.
`%PROGRAMDATA%\bitia.toml`
## BiTIA runner
## BiTIA runner
If you are self-hosting the BiTIA server, you need
`bitia-runner`
as well. See
If you are self-hosting the BiTIA server, you need
`bitia-runner`
as well. See
...
...
This diff is collapsed.
Click to expand it.
bitia/__main__.py
+
1
−
1
View file @
3d0703e7
...
@@ -184,7 +184,7 @@ def create_pipeline_from_command(cmd: str) -> Path:
...
@@ -184,7 +184,7 @@ def create_pipeline_from_command(cmd: str) -> Path:
pipeline_file
=
pipeline_dir
/
BITIA_MAIN_SCRIPT_NAME
pipeline_file
=
pipeline_dir
/
BITIA_MAIN_SCRIPT_NAME
with
pipeline_file
.
open
(
"
w
"
,
newline
=
"
\n
"
)
as
outf
:
with
pipeline_file
.
open
(
"
w
"
,
newline
=
"
\n
"
)
as
outf
:
outf
.
write
(
f
"
#!/bin/sh
\n\n
{
cmd
}
"
)
outf
.
write
(
f
"
#!/bin/sh
\n\n
{
cmd
}
"
)
logg
ing
.
info
(
"
Wrote pipeline %s
"
,
pipeline_file
.
read_text
())
logg
er
.
info
(
"
Wrote pipeline %s
"
,
pipeline_file
.
read_text
())
return
prepare_archive
(
pipeline_dir
)
return
prepare_archive
(
pipeline_dir
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment