Linux Integrity Measurement development
 help / color / mirror / Atom feed
From: Vitaly Chikunov <vt@altlinux.org>
To: Mimi Zohar <zohar@linux.ibm.com>
Cc: linux-integrity@vger.kernel.org, Petr Vorel <pvorel@suse.cz>
Subject: Re: [PATCH ima-evm-utils] travis: use alt:sisyphus from docker.io
Date: Wed, 3 Nov 2021 02:23:54 +0300	[thread overview]
Message-ID: <20211102232354.a7y64ogsjs23beja@altlinux.org> (raw)
In-Reply-To: <20211102231742.191215-1-zohar@linux.ibm.com>

Mimi,

On Tue, Nov 02, 2021 at 07:17:42PM -0400, Mimi Zohar wrote:
> Instead of returning an image, it prompts for a response.  Hardcode
> to use docker.io.
> 
>  Please select an image:
>   ▸ docker.io/library/alt:sisyphus
>     quay.io/alt:sisyphus
> 
> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
> ---
>  .travis.yml | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index 42853e16bfee..3836befe0bae 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -68,7 +68,7 @@ matrix:
>            compiler: gcc
>  
>          - os: linux
> -          env: DISTRO=alt:sisyphus TSS=libtpm2-tss-devel CONTAINER=podman CONTAINER_ARGS="--runtime=/usr/bin/crun --network=host"
> +          env: REPO="docker.io/library" DISTRO=${REPO}/alt:sisyphus TSS=libtpm2-tss-devel CONTAINER=podman CONTAINER_ARGS="--runtime=/usr/bin/crun --network=host"

I wonder why podman is used in this case.

Thanks,

>            compiler: gcc
>  
>  before_install:
> @@ -92,6 +92,7 @@ before_install:
>      - $CONTAINER build $CONTAINER_ARGS -t ima-evm-utils .
>  
>  script:
> -    - INSTALL="${DISTRO%%:*}"
> +    - INSTALL="${DISTRO#${REPO}/}"
> +    - INSTALL="${INSTALL%%:*}"
>      - INSTALL="${INSTALL%%/*}"
>      - $CONTAINER run $CONTAINER_ARGS -t ima-evm-utils /bin/sh -c "if [ \"$VARIANT\" ]; then ARCH=\"$ARCH\" ./ci/$INSTALL.$VARIANT.sh; fi && ARCH=\"$ARCH\" CC=\"$CC\" TSS=\"$TSS\" ./ci/$INSTALL.sh && if [ "$COMPILE_SSL" ]; then COMPILE_SSL="$COMPILE_SSL" ./tests/install-openssl3.sh; fi && if [ ! \"$VARIANT\" ]; then which tpm_server || which swtpm || if which tssstartup; then ./tests/install-swtpm.sh; fi; fi && CC=\"$CC\" VARIANT=\"$VARIANT\" ./build.sh"
> -- 
> 2.27.0

  reply	other threads:[~2021-11-02 23:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-02 23:17 [PATCH ima-evm-utils] travis: use alt:sisyphus from docker.io Mimi Zohar
2021-11-02 23:23 ` Vitaly Chikunov [this message]
2021-11-03  0:32   ` Mimi Zohar
2021-11-03  1:09     ` Mimi Zohar
2021-11-03 15:03     ` Vitaly Chikunov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211102232354.a7y64ogsjs23beja@altlinux.org \
    --to=vt@altlinux.org \
    --cc=linux-integrity@vger.kernel.org \
    --cc=pvorel@suse.cz \
    --cc=zohar@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox