Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CIF
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
AI-Dojo
CIF
Commits
12062d1b
Commit
12062d1b
authored
3 months ago
by
Jiří Rája
🔥
Browse files
Options
Downloads
Plain Diff
Merge branch '6-empty-repository-throws-error' into 'master'
Do not allow an empty repository Closes
#6
See merge request
!7
parents
7e6ae3b0
4e893270
No related branches found
Branches containing commit
Tags
0.7.0
Tags containing commit
1 merge request
!7
Do not allow an empty repository
Pipeline
#536676
passed with stage
in 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cif/cli.py
+4
-0
4 additions, 0 deletions
cif/cli.py
with
4 additions
and
0 deletions
cif/cli.py
+
4
−
0
View file @
12062d1b
...
...
@@ -91,6 +91,10 @@ def main():
pp
(
available_actions
())
return
if
not
image_repository
:
print
(
"
Repository mustn
'
t be empty
"
)
return
parsed_image_variables
=
parse_image_variables
(
variables
)
parsed_actions
=
parse_actions
(
actions
)
...
...
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