Skip to content

Unable to enforce custom image tags  #769

@Mulan-94

Description

@Mulan-94

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions