Fixes identified in ecp facilities hackathon fixes:

- improve mirror git repo management
- minio s3 implementation needs endpoint_url
- Remove image key from rebuild-index job
- Remove image, rely on tags instead
This commit is contained in:
Scott Wittenburg
2019-09-03 11:45:49 -06:00
committed by Todd Gamblin
parent 6d745a56fd
commit 1050fa5546
4 changed files with 21 additions and 33 deletions

View File

@@ -646,9 +646,8 @@ def release_jobs(parser, args):
'variables': {
'MIRROR_URL': mirror_urls[0],
},
'image': 'scottwittenburg/spack_ci_generator_alpine',
'script': './bin/rebuild-index.sh',
'tags': ['spack-k8s'] # may want a runner to handle this
'tags': ['spack-post-ci'] # may want a runner to handle this
}
output_object['rebuild-index'] = final_job
stage_names.append(final_stage)

View File

@@ -67,7 +67,7 @@ def get_s3_session(endpoint_url):
raise SpackError('boto3 module not available')
session = boto3.Session()
s3 = session.resource('s3')
s3 = session.resource('s3', endpoint_url=endpoint_url)
bucket_names = []
for bucket in s3.buckets.all():