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

OPENSTACK-2925: add some comments for agent member code #2154

Draft
wants to merge 1 commit into
base: 9.10-stable
Choose a base branch
from

OPENSTACK-2925: add some comments for agent member code

519ea1e
Select commit
Loading
Failed to load commit list.
Draft

OPENSTACK-2925: add some comments for agent member code #2154

OPENSTACK-2925: add some comments for agent member code
519ea1e
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Nov 20, 2023 in 7m 18s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #2154 OPENSTACK-2925: add some comments for agent member code.
Any changes that have been made to the 9.10-stable branch before the build ran are also included.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Xenial)
Python Version 2.7
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "sudo": true,
  "env": [
    "global={:DIST_REPO=>\"\\\"f5-openstack-agent-dist\\\"\"}={:PKG_VERSION=>\"`python -c \\\"import f5_openstack_agent; print(f5_openstack_agent.__version__)\\\"`\"}={:PKG_RELEASE=>\"$(python ${DIST_REPO}/scripts/get-version-release.py --release)\"}={:PKG_RELEASE_EL7=>\"${DIST_REPO}/rpms/build/f5-openstack-agent-${PKG_VERSION}-${PKG_RELEASE}.el7.noarch.rpm\"}={:PKG_RELEASE_1404=>\"${DIST_REPO}/deb_dist/python-f5-openstack-agent_${PKG_VERSION}-${PKG_RELEASE}_1404_all.deb\"}={:RELEASE_TAG=>\"v$(echo $PKG_VERSION | cut -d . -f 1,2)\"}"
  ],
  "services": [
    "docker"
  ],
  "python": [
    "2.7"
  ],
  "before_install": [
    "git config --global user.email \"[email protected]\"",
    "git config --global user.name \"Travis F5 Openstack\"",
    "wget https://github.com/F5Networks/docker-images/raw/master/centos:6.tar.gz",
    "wget https://github.com/F5Networks/docker-images/raw/master/centos:7.tar.gz",
    "wget https://github.com/F5Networks/docker-images/raw/master/f5devcentral_containthedocs:latest.tar.gz",
    "wget https://github.com/F5Networks/docker-images/raw/master/ubuntu:trusty.tar.gz",
    "docker load -i centos:6.tar.gz",
    "docker load -i centos:7.tar.gz",
    "docker load -i f5devcentral_containthedocs:latest.tar.gz",
    "docker load -i ubuntu:trusty.tar.gz"
  ],
  "install": [
    "python -m pip install pip==19.0.3",
    "pip install -Iv tox==3.25.1",
    "pip install -r requirements.style.txt"
  ],
  "script": [
    "pep257 ./test/functional/neutronless/esd/test_esd.py",
    "flake8 --ignore=H304 ./test/functional/neutronless/esd/test_esd.py",
    "pep257 ./test/functional/neutronless/esd/conftest.py",
    "flake8 --ignore=H304 ./test/functional/neutronless/esd/conftest.py",
    "pep257 ./test/functional/neutronless/esd/test_esd_pairs.py",
    "flake8 --ignore=H304 ./test/functional/neutronless/esd/test_esd_pairs.py",
    "flake8 ./f5_openstack_agent",
    "tox -e unit",
    "python f5-openstack-agent-dist/scripts/universal_truth.py",
    "echo \"setup.cfg:\"",
    "cat setup.cfg",
    "echo \"stdeb.cfg:\"",
    "cat f5-openstack-agent-dist/deb_dist/stdeb.cfg",
    "f5-openstack-agent-dist/scripts/package_agent.sh \"redhat\" \"7\"",
    "f5-openstack-agent-dist/scripts/package_agent.sh \"ubuntu\" \"14.04\"",
    "sudo chown -R travis:travis ${DIST_REPO}/rpms/build",
    "sudo chown -R travis:travis ${DIST_REPO}/deb_dist/*.deb",
    "f5-openstack-agent-dist/scripts/test_install.sh \"redhat\" \"7\" ${PKG_RELEASE_EL7}",
    "f5-openstack-agent-dist/scripts/test_install.sh \"ubuntu\" \"14.04\" ${PKG_RELEASE_1404}",
    "if [[ \"$TRAVIS_BRANCH\" =~ ^v[0-9]+\\.[0-9]+\\.[0-9]* ]]; then\n  va=( ${TRAVIS_BRANCH//./ } ) # replace decimals and split into array\n  export CTLR_VERSION=\"${va[0]}.${va[1]}.${va[2]}\"\nelse\n  export CTLR_VERSION=$TRAVIS_BRANCH\nfi\n"
  ],
  "after_success": [
    "md5sum ${PKG_RELEASE_EL7} > ${PKG_RELEASE_EL7}.md5 && md5sum --check ${PKG_RELEASE_EL7}.md5",
    "md5sum ${PKG_RELEASE_1404} > ${PKG_RELEASE_1404}.md5 && md5sum --check ${PKG_RELEASE_1404}.md5"
  ],
  "deploy": [
    {
      "provider": "releases",
      "file": [
        "${PKG_RELEASE_EL7}",
        "${PKG_RELEASE_EL7}.md5",
        "${PKG_RELEASE_1404}",
        "${PKG_RELEASE_1404}.md5"
      ],
      "skip_cleanup": true,
      "overwrite": true,
      "on": {
        "repo": "F5Networks/f5-openstack-agent",
        "tags": true
      },
      "token": {
        "secure": "iFpUAG1J8pnxL/lyIm4t18gQx0OaajpXWSEIQr0QeiKFKAj5mZ0rTr4XD4ditLKZ7Ar/ZcPlD+wJ6k4MEVjrkDs+SxSgMKoygXIu35m4pxNpUNPbyR1q0etfpnyMWr7KZWPhqzQw4FbQgAdNvA4l0CQi9ufaFIzE0gZl/uKW+CJbjRp+VrFKSeK1BuUSrjzS9iwwPy4DnxzOxmA8d3PLj/BCmh+rdjLHvdEAdVO5mRn6h2uTOTYsrYY+QBgI0Ibi1oiy6hkrW5snqEpaeg5w5fbcI9zds3QXWJucQSjBF8EFVgwcHHDM1Z339pnxbYHWZg683Q9tMjpUhgrc+CJxVW1O+vUaVkCa/6Js8B46RwgpZmBOWotxvYFfL/sxrvhh7mxnl/KSAHxMJ1NoReaS8SLBHqQu12/jyOQlblj+/jB/P/jAoj8R7S2p83FyNNuTg22zEV7oXIruaEsz4qfMNPR3RfVOTYzvKZPq6II67lHd5qNjAWNLpeDisBqHQ8dmE53Q10DtCLbzvzlLHbLtFExYToG1vwWNoe641vCa/ZEII2e0t0+tRIdXJ80Jgt2hHdTPpng0Xgsthf05SCwi2A9p0exVJt95ty7kEEUrpUZ9yEGFyO7H3kDvK7gk345BsMo7wIpoXgpp4uRwHy1Ylw3ZJPZG/J8Ju2D1eHtbF5Y="
      }
    },
    {
      "provider": "script",
      "skip_cleanup": true,
      "on": {
        "all_branches": true,
        "repo": "F5Networks/f5-openstack-agent",
        "condition": [
          "$TRAVIS_BRANCH =~ ^v[0-9]+\\.[0-9]+\\.[0-9]*"
        ]
      },
      "script": "./docs/scripts/docker-docs.sh ./docs/scripts/test-docs.sh && ./docs/scripts/deploy-docs.sh publish-product-docs-to-prod openstack/agent $CTLR_VERSION"
    }
  ],
  "notifications": {
    "slack": [
      {
        "rooms": [
          "f5openstackdev:$SLACK_TOKEN#f5-openstack-agent",
          "f5openstackdev:$SLACK_TOKEN#build_status"
        ],
        "on_success": "change",
        "on_failure": "always"
      }
    ]
  }
}