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
89b228a7
Commit
89b228a7
authored
2 years ago
by
dilawar
Browse files
Options
Downloads
Patches
Plain Diff
chore: updates to server.
parent
13ae19f8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!12
Resolve "Implement first version of BiTIA DSL parser"
Pipeline
#4125
passed with stages
Stage:
Stage:
in 4 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bitia/pipeline.py
+3
-0
3 additions, 0 deletions
bitia/pipeline.py
with
3 additions
and
0 deletions
bitia/pipeline.py
+
3
−
0
View file @
89b228a7
...
...
@@ -11,6 +11,7 @@ from pathlib import Path
# from datetime import datetime
import
validators
from
bitia
import
version
import
bitia.config
as
bconfig
from
bitia.common
import
sha256sum
,
dir_info
from
bitia.logger
import
logger
...
...
@@ -71,6 +72,8 @@ class Pipeline:
pipeline_file
=
pipeline_dir
/
bconfig
.
BITIA_MAIN_SCRIPT_NAME
lines
:
T
.
List
[
str
]
=
[]
lines
.
append
(
"
#!/bin/sh
"
)
lines
.
append
(
f
"
# generated by bitia-cli version:
{
version
()
}
"
)
lines
.
append
(
"
# (c) 2022-, Subconscious Compute
"
)
assert
"
\n
"
not
in
comment
,
"
An eol char is found in comment
"
lines
.
append
(
f
"
#
{
comment
}
"
)
lines
.
append
(
f
"
{
cmd
}
"
)
...
...
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