Uploaded image for project: 'Airship'
  1. Airship
  2. AIRSHIP-25

Create an Airship deployment container

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None

      Airship deployment forces the users to apply operations by hand as prerequisites (currently linked to OPNFV Jumphost preconfigurations).

      A new container should ease differentiating true entries (ssh config and keys, site definitions, etc.) and deployment requirements included in the docker image.

      This enhancement/bug should be considered as mandatory for CNTT RI Cookbook (Michael.Fix fuqiao shostak).

      Here is a first try failing when cloning airship (once again?)

      + sudo -E treasuremap/tools/airship pegleg site -r /target/airship collect -s collect intel-pod17
      2019-12-23 07:51:54,038 ERROR pegleg.engine.util.git:normalize_repo_path [497] The repo_path=/target/airship is not a valid Git repo

       

      FROM ubuntu:xenial
      ARG OPNFV_TAG=stable/hunter
      ARG OPENSTACK_TAG=stable/rocky
      RUN apt-get update && apt-get install -y docker.io git ipmitool python3-yaml sudo openssh-client python3-pip && \
       git init /src/airship && \
       (cd /src/airship && \
       git fetch --tags https://gerrit.opnfv.org/gerrit/airship $BRANCH && \
       git checkout FETCH_HEAD) && \
       pip3 install --no-cache-dir \
       -c https://opendev.org/openstack/requirements/raw/branch/$OPENSTACK_TAG/upper-constraints.txt \
       -c https://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \
       xtesting
      

       

       

            jamesgu James Gu
            ollivier Cedric Ollivier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: