Create HPP Direct CRDs always #1206
Open
Travis CI / Travis CI - Branch
succeeded
Nov 8, 2024 in 12m 56s
Build Passed
The build passed. This is a change from the previous build, which failed.
Details
This is a normal build for the hpp-crd branch. You should be able to reproduce it by checking out the branch locally.
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 (Jammy) |
Python Version | 3.9 |
Build Configuration
{
"language": "python",
"os": [
"linux"
],
"dist": "jammy",
"env": [
"global={:DEFAULT_BRANCH=>\"master\"}={:GOPROXY=>\"https://proxy.golang.org,https://goproxy.io,direct\"}"
],
"python": [
"3.9"
],
"jobs": {
"include": [
{
"stage": "run-unit-tests",
"if": "tag IS NOT present",
"install": [
"pip install flake8 coverage coveralls",
"pip install ./provision"
],
"script": [
"cd provision",
"coverage run --source=. -m pytest acc_provision",
"coveralls"
]
},
{
"stage": "push-package",
"if": "tag IS present",
"go": "1.22.x",
"go_import_path": "github.com/noironetworks/aci-containers",
"before_script": [
"export UPSTREAM_ID=81c2369",
"eval \"$(GIMME_GO_VERSION=1.22.5 gimme)\"",
"export TRAVIS_GO_VERSION=1.22.5",
"export TRAVIS_GO_IMPORT_PATH=github.com/noironetworks/aci-containers",
"export TRAVIS_BUILD_USER=\"$(curl -s \"https://api.travis-ci.com/v3/build/$TRAVIS_BUILD_ID\" | jq -r .created_by.login)\"",
"go version"
],
"script": [
"echo \"Skip running UTs\"",
"git clone http://www.github.com/noironetworks/cicd -b main /tmp/cicd",
"pip install jq pyyaml pytz || travis_terminate 1",
"/tmp/cicd/travis/show-image-tags.sh || travis_terminate 1",
"/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",
"pip install ./provision || travis_terminate 1",
"/tmp/cicd/travis/clone-aci-containers-repo.sh || travis_terminate 1",
"pushd /tmp/noironetworks/aci-containers",
"git checkout -qf ${TRAVIS_TAG}",
"/tmp/cicd/travis/show-git-repo-status.sh",
"make -C . dist-static/acikubectl || travis_terminate 1",
"popd",
"cp /tmp/noironetworks/aci-containers/dist-static/acikubectl provision/bin/acikubectl || travis_terminate 1",
"/tmp/cicd/travis/build-acc-provision.sh || travis_terminate 1",
"git add --all",
"git commit -m \"Changes added by travis build\"",
"pip install -U twine",
"/tmp/cicd/travis/push-to-pypi.sh"
]
}
]
}
}
Loading