Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Commits
c9429230
Commit
c9429230
authored
1 year ago
by
Sam Kagan
Committed by
Charlotte Hausman
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Refactored ws_annihilator to permit acceptance tests
parent
83f53772
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1618
update vlass templates for pimscache python3.10 upgrade
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/cli/executables/pexable/ws_annihilator/ws_annihilator/annihilator.py
+12
-9
12 additions, 9 deletions
...bles/pexable/ws_annihilator/ws_annihilator/annihilator.py
with
12 additions
and
9 deletions
apps/cli/executables/pexable/ws_annihilator/ws_annihilator/annihilator.py
+
12
−
9
View file @
c9429230
...
...
@@ -561,15 +561,7 @@ class ImageAnnihilator(WorkflowAnnihilator):
return
stales
def
main
():
"""
run the annihilator based on provided args
:return:
"""
args
=
_arg_parser
().
parse_args
()
settings
=
_get_settings
(
args
.
profile
)
def
run_annihilator
(
args
:
Namespace
,
settings
:
Settings
):
if
args
.
all
:
logger
.
info
(
f
"
Starting cleaning of Workspaces Staging for profile
{
args
.
profile
}
"
)
StagingAnnihilator
(
args
,
settings
).
annihilate
()
...
...
@@ -612,3 +604,14 @@ def main():
logger
.
info
(
f
"
Starting cleaning of Workspaces Spool for profile
{
args
.
profile
}
"
)
SpoolAnnihilator
(
args
,
settings
).
annihilate
()
logger
.
info
(
f
"
Finished cleaning Workspaces Spool for profile
{
args
.
profile
}
!
"
)
def
main
():
"""
run the annihilator based on provided args
:return:
"""
args
=
_arg_parser
().
parse_args
()
settings
=
_get_settings
(
args
.
profile
)
run_annihilator
(
args
,
settings
)
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