Skip to content

Commit

Permalink
Remove version from ci_load
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Neff <[email protected]>
  • Loading branch information
andyneff committed Nov 26, 2024
1 parent 02c0f93 commit 2a8c72d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions linux/ci_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ def _service_dict(cache_id=0, cache_loc=None):
services = dict()
for cache_id, cache_loc in enumerate([self.cache_repo] + self.other_repos):
services.update(_service_dict(cache_id, cache_loc))
self.pull_dict = {'version': '3.5', 'services': services}
self.pull_dict = {'services': services}

# push dictionary
self.push_dict = {'version': '3.5', 'services': _service_dict()}
self.push_dict = {'services': _service_dict()}

# 2 pull images
def pull_images(self):
Expand Down Expand Up @@ -150,7 +150,8 @@ def write_restore_recipe(self):

doc = {}
compose_yaml = yaml.safe_load(open(self.recipe_compose, 'r').read())
doc['version'] = compose_yaml['version']
if self.compose_version is not None:
doc['version'] = self.compose_version

services = {}

Expand Down

0 comments on commit 2a8c72d

Please sign in to comment.