Skip to content
Snippets Groups Projects
Commit 895aeea8 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

make install.py aware of material scan branch

parent d152a516
No related branches found
No related tags found
1 merge request!161make install.py aware of material scan branch
......@@ -232,7 +232,11 @@ if __name__ == "__main__":
version_docker = None
version_gitlab = None
build_job = '{}:singularity:default'.format(args.container)
if args.version in ('master', 'testing'):
## firs tlook for spacialty containers
if args.container == 'acts_material_scan':
version_docker = args.version
version_gitlab = args.container
elif args.version in ('master', 'testing'):
version_docker = 'testing'
version_gitlab = 'master'
elif re.search('[0-9]+\.[0-9]+\.[0-9]|[0-9]+\.[0-9]-stable', args.version) is not None:
......@@ -254,6 +258,10 @@ if __name__ == "__main__":
print('Unknown requested version:', args.version)
raise UnknownVersionError()
## 'master' is always docker-tagged as testing
if version_docker == 'master':
version_docker = testing
## when working with the old container, the build job is just 'singularity'
if args.container == 'eic':
build_job = 'singularity'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment