Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
osc-plugins
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
Container Registry
Model registry
Operate
Environments
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
mpcdf
obs
osc-plugins
Commits
44fbdf5b
Commit
44fbdf5b
authored
6 years ago
by
Lorenz Huedepohl
Browse files
Options
Downloads
Patches
Plain Diff
Fix CI issues
parent
f3bf3a59
No related branches found
No related tags found
No related merge requests found
Pipeline
#67046
passed
6 years ago
Stage: test
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
mpcdf_enable_repositories.py
+2
-2
2 additions, 2 deletions
mpcdf_enable_repositories.py
mpcdf_info.py
+3
-3
3 additions, 3 deletions
mpcdf_info.py
mpcdf_push.py
+2
-0
2 additions, 0 deletions
mpcdf_push.py
with
9 additions
and
7 deletions
.gitlab-ci.yml
+
2
−
2
View file @
44fbdf5b
job-flake8-2
:
image
:
gitlab-registry.mpcdf.mpg.de/mpcdf/osc-plugins/python2:flake8
script
:
-
flake8 --filename=*.py --count --ignore=E501 .
-
flake8 --filename=*.py --count --ignore=E501
,W503
.
job-flake8-3
:
image
:
gitlab-registry.mpcdf.mpg.de/mpcdf/osc-plugins/python3:flake8
script
:
-
flake8 --filename=*.py --count --ignore=E501 .
-
flake8 --filename=*.py --count --ignore=E501
,W503
.
This diff is collapsed.
Click to expand it.
mpcdf_enable_repositories.py
+
2
−
2
View file @
44fbdf5b
...
...
@@ -80,8 +80,8 @@ def do_mpcdf_enable_repositories(self, subcmd, opts, *args):
print
(
"
Removing attribute
"
,
attribute_name
,
"
from package
"
)
mpcdf_common
.
remove_attribute
(
api_url
,
project
,
package
,
attribute_name
)
set_or_remove
(
opts
.
mpi_modules
,
"
MPCDF:mpi_modules
"
)
set_or_remove
(
opts
.
cuda_modules
,
"
MPCDF:cuda_modules
"
)
set_or_remove
(
opts
.
mpi_modules
,
"
MPCDF:mpi_modules
"
)
set_or_remove
(
opts
.
cuda_modules
,
"
MPCDF:cuda_modules
"
)
set_or_remove
(
opts
.
compiler_modules
,
"
MPCDF:compiler_modules
"
)
if
opts
.
recreate
or
opts
.
set
or
opts
.
disable
:
...
...
This diff is collapsed.
Click to expand it.
mpcdf_info.py
+
3
−
3
View file @
44fbdf5b
...
...
@@ -74,9 +74,9 @@ def do_mpcdf_info(self, subcmd, opts, *args):
return
""
print
(
"
"
+
pkg_name_fmt
.
format
(
package
),
"
--set=
"
+
(
"
,
"
.
join
(
enabled_repos
)),
subset
(
"
--compiler-modules
"
,
"
MPCDF:compiler_modules
"
)
+
subset
(
"
--mpi-modules
"
,
"
MPCDF:mpi_modules
"
)
+
subset
(
"
--cuda-modules
"
,
"
MPCDF:cuda_modules
"
))
subset
(
"
--compiler-modules
"
,
"
MPCDF:compiler_modules
"
)
+
subset
(
"
--mpi-modules
"
,
"
MPCDF:mpi_modules
"
)
+
subset
(
"
--cuda-modules
"
,
"
MPCDF:cuda_modules
"
))
print
()
if
unmanaged
:
...
...
This diff is collapsed.
Click to expand it.
mpcdf_push.py
+
2
−
0
View file @
44fbdf5b
...
...
@@ -39,6 +39,8 @@ def do_mpcdf_push(self, subcmd, opts, *args):
${cmd_option_list}
"""
import
sys
if
len
(
args
)
<
1
:
raise
osc
.
oscerr
.
WrongArgs
(
"
Not enough arguments
"
)
elif
len
(
args
)
==
1
:
...
...
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