Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Paas CI
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
Container 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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
INFN Cloud
Paas CI
Commits
39e650f5
Commit
39e650f5
authored
1 year ago
by
Gioacchino Vino
Browse files
Options
Downloads
Patches
Plain Diff
Removed variable container Python script path
parent
5ae0b3c1
No related branches found
No related tags found
1 merge request
!86
Debug paas ci
Pipeline
#131689
passed
1 year ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
defaults/main.yml
+0
-1
0 additions, 1 deletion
defaults/main.yml
tasks/2-scan.yml
+5
-5
5 additions, 5 deletions
tasks/2-scan.yml
with
5 additions
and
6 deletions
defaults/main.yml
+
0
−
1
View file @
39e650f5
...
...
@@ -3,6 +3,5 @@
paas_ci_orchestrator_url
:
https://paas.cloud.infn.it/orchestrator
paas_ci_iam_group
:
admins/cicd
paas_ci_workdir
:
"
{{
lookup('env','WORKSPACE')
}}"
paas_ci_scan_script_path
:
"
{{
paas_ci_workdir
}}/scan.py"
n_timeout_ticks
:
60
endpoints_to_scan
:
None
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tasks/2-scan.yml
+
5
−
5
View file @
39e650f5
...
...
@@ -9,21 +9,21 @@
-
name
:
Copy scan script
copy
:
src
:
files/scan.py
dest
:
"
{{
paas_ci_
scan_script_path
}}"
dest
:
"
{{
paas_ci_
workdir
+
'/scan.py
}}"
-
name
:
Copy utilities module
copy
:
src
:
files/utilities.py
dest
:
"
{{
paas_ci_
scan_script_path
}}"
dest
:
"
{{
paas_ci_
workdir
+
'/utilities.py
}}"
-
name
:
Copy gvm_library module
copy
:
src
:
files/gvm_library.py
dest
:
"
{{
paas_ci_
scan_script_path
}}"
dest
:
"
{{
paas_ci_
workdir
+
'/gvm_library.py
}}"
-
name
:
Adding execution permission to scan script
file
:
dest
:
"
{{
paas_ci_
scan_script_path
+
'/scan.py
'
}}
"
dest
:
"
{{
paas_ci_
workdir
+
'/scan.py
}}"
mode
:
a+x
-
name
:
Show dep json file
...
...
@@ -32,7 +32,7 @@
with_items
:
"
{{
paas_ci_workdir
+
'/dep.json'}}"
-
name
:
Run scan
command
:
"
{{
paas_ci_
scan_script_path
}}
/scan.py
--endpoint-keys
{{
paas_ci_test.endpoints_to_scan
}}
--dep-json
{{
paas_ci_workdir
+
'/dep.json'}}
--output-dir
{{
paas_ci_workdir
}}"
command
:
"
{{
paas_ci_
workdir
+
'
/scan.py
}}
--endpoint-keys
{{
paas_ci_test.endpoints_to_scan
}}
--dep-json
{{
paas_ci_workdir
+
'/dep.json'}}
--output-dir
{{
paas_ci_workdir
}}"
register
:
scan_output
-
name
:
Scan logs
...
...
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