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

Update .travis.yml to use lmr-6.0.4 branch from cicd #571

Merged
merged 1 commit into from
Jun 17, 2024

Update .travis.yml to use lmr-6.0.4 branch from cicd

857394e
Select commit
Loading
Failed to load commit list.
Merged

Update .travis.yml to use lmr-6.0.4 branch from cicd #571

Update .travis.yml to use lmr-6.0.4 branch from cicd
857394e
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Jun 14, 2024 in 50m 28s

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 #571 Update .travis.yml to use lmr-6.0.4 branch from cicd.
Any changes that have been made to the lmr-6.0.4 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 C++
Operating System Linux (Jammy)
Compiler Version gcc
Build Configuration
{
  "language": "cpp",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "compiler": [
    "gcc"
  ],
  "services": [
    "docker"
  ],
  "jobs": {
    "include": [
      {
        "stage": "check",
        "if": "tag IS NOT present",
        "addons": {
          "apt": {
            "packages": [
              "libuv1-dev",
              "libboost-all-dev",
              "rapidjson-dev",
              "autoconf",
              "openjdk-11-jdk-headless",
              "maven",
              "lcov",
              "cmake",
              "libunbound8",
              "libunbound-dev"
            ]
          }
        },
        "install": [
          "bash ./.travis/install-dependencies.sh"
        ],
        "before_script": [
          "sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';"
        ],
        "env": [
          {
            "TEST_SUITE": "travis-build.sh"
          }
        ],
        "script": [
          "bash ./.travis/$TEST_SUITE"
        ],
        "after_success": [
          "bash ./.travis/coveralls-deploy.sh"
        ]
      },
      {
        "stage": "build-images",
        "if": "tag IS present",
        "before_install": [
          "mkdir -vp ~/.docker/cli-plugins/",
          "curl --silent -L \"https://github.com/docker/buildx/releases/download/v0.3.0/buildx-v0.3.0.linux-amd64\" > ~/.docker/cli-plugins/docker-buildx",
          "chmod a+x ~/.docker/cli-plugins/docker-buildx"
        ],
        "install": [
          "pip install pyyaml pytz"
        ],
        "before_script": [
          "export DOCKER_BUILDKIT=1",
          "export UPSTREAM_ID=81c2369"
        ],
        "script": [
          "echo \"Skip running UTs\"",
          "git clone http://www.github.com/noironetworks/cicd -b lmr-6.0.4 /tmp/cicd",
          "/tmp/cicd/travis/check-git-tag.sh; RETURN_CODE=$? ; if [ $RETURN_CODE -eq 140 ]; then travis_terminate 0; elif [ $RETURN_CODE -ne 0 ]; then travis_terminate $RETURN_CODE; fi",
          "/tmp/cicd/travis/build-push-opflex-images.sh || travis_terminate 1"
        ]
      }
    ]
  },
  "cache": {
    "directories": [
      "../grpc",
      "$HOME/.m2"
    ]
  }
}