Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to enforce custom image tags #769

Open
Mulan-94 opened this issue Dec 16, 2022 · 0 comments
Open

Unable to enforce custom image tags #769

Mulan-94 opened this issue Dec 16, 2022 · 0 comments

Comments

@Mulan-94
Copy link
Collaborator

I'm trying to use a specific cab image tag different from the default specified in the cab parameters. However it seems the default version is still use. This is what I was trying:

recipe = stimela.Recipe(
                     "Testing spimple imconv",
                     msdir=MSDIR, JOB_TYPE="singularity",
                     singularity_image_dir="stimelarity",
                    cabspecs={"tag": "1.7.2b", "force": True}

Not sure if this is related, but this issue seems to cause an issue in caracal for @francescaLoi, whereby one is unable to specify a specific image tag. Here are some sections of the logfile showing this behaviour:

2022-12-12 13:49:10 CARACal INFO:   general:
2022-12-12 13:49:10 CARACal INFO:     backend:                      docker
2022-12-12 13:49:10 CARACal INFO:     cabs:                         [{'name': 'spimple', 'tag': '1.7.2b'}]
2022-12-12 13:49:10 CARACal INFO:
.
.
.
2022-12-12 13:49:12 CARACal INFO: Configuring cab specification overrides
2022-12-12 13:49:12 CARACal INFO:   spimple: forcing tag 1.7.2b for all invocations
2022-12-12 13:49:12 CARACal INFO: Configuring worker getdata
.
.
.
2022-12-12 13:50:21 CARACal.Stimela.polimg INFO: Recipe executed successfully
2022-12-12 13:50:22 CARACal.Stimela.polimg INFO: Adding cab 'quay.io/stimela/spimple:1.7.1' (x.x.x) to recipe, container name 'make-convolved-Q-cubes'
2022-12-12 13:50:22 CARACal.Stimela.make-convolved-Q-cubes INFO: job started at 2022-12-12 13:50:22.421004
2022-12-12 13:50:22 CARACal.Stimela.polimg INFO: STEP 1 :: make-convolved-Q-cubes:: Make convolved Q cubes
2022-12-12 13:50:22 CARACal.Stimela INFO: Validating parameters for cab spimple imconv (stimela/spimple:1.7.1)
Mulan-94 added a commit to Mulan-94/Stimela that referenced this issue Dec 16, 2022
All the specified cabspecs seemed to be getting ignored in previous setup
Attempt at fixing ratt-ru#769
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant