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

chore(ci): use jammy in Travis CI #1694

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

chore(ci): use jammy in Travis CI

3569951
Select commit
Loading
Failed to load commit list.
Draft

chore(ci): use jammy in Travis CI #1694

chore(ci): use jammy in Travis CI
3569951
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Dec 2, 2024 in 8h 38m 18s

Build Failed

The build failed. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #1694 chore(ci): use jammy in Travis CI.
Any changes that have been made to the main branch before the build ran are also included.

Jobs and Stages

This build has 13 jobs, running in parallel.

Job ENV OS State
3312.1 QUAY_USERNAME=[secure] Linux passed
3312.2 QUAY_USERNAME=[secure] Linux passed
3312.3 QUAY_USERNAME=[secure] Linux passed
3312.4 QUAY_USERNAME=[secure] Linux passed
3312.5 QUAY_USERNAME=[secure] Linux passed
3312.6 QUAY_USERNAME=[secure] Linux passed
3312.7 QUAY_USERNAME=[secure] Linux failed
3312.8 QUAY_USERNAME=[secure] Linux passed
3312.9 QUAY_USERNAME=[secure] Linux passed
3312.10 QUAY_USERNAME=[secure] Linux failed
3312.11 QUAY_USERNAME=[secure] Linux failed
3312.12 QUAY_USERNAME=[secure] Linux passed
3312.13 QUAY_USERNAME=[secure] Linux passed

Build Configuration

Build Option Setting
Language C
Operating System Linux (Jammy)
Build Configuration
{
  "language": "c",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "addons": {
    "apt": {
      "packages": [
        "docker-buildx"
      ]
    }
  },
  "services": [
    "docker"
  ],
  "branches": {
    "except": [
      "/^update-dependencies-pr/"
    ]
  },
  "cache": {
    "directories": [
      "${HOME}/buildx-cache/"
    ]
  },
  "env": [
    "global=QUAY_USERNAME=[secure]=QUAY_PASSWORD=[secure]"
  ],
  "jobs": {
    "include": [
      {
        "arch": "arm64-graviton2",
        "virt": "vm",
        "group": "edge",
        "env": [
          {
            "POLICY": "\"manylinux2014\"",
            "PLATFORM": "\"aarch64\""
          }
        ]
      },
      {
        "arch": "s390x",
        "env": [
          {
            "POLICY": "\"manylinux2014\"",
            "PLATFORM": "\"s390x\""
          }
        ]
      },
      {
        "arch": "ppc64le",
        "env": [
          {
            "POLICY": "\"manylinux2014\"",
            "PLATFORM": "\"ppc64le\""
          }
        ]
      },
      {
        "arch": "arm64-graviton2",
        "virt": "vm",
        "group": "edge",
        "env": [
          {
            "POLICY": "\"manylinux_2_28\"",
            "PLATFORM": "\"aarch64\""
          }
        ]
      },
      {
        "arch": "s390x",
        "env": [
          {
            "POLICY": "\"manylinux_2_28\"",
            "PLATFORM": "\"s390x\""
          }
        ]
      },
      {
        "arch": "ppc64le",
        "env": [
          {
            "POLICY": "\"manylinux_2_28\"",
            "PLATFORM": "\"ppc64le\""
          }
        ]
      },
      {
        "arch": "arm64-graviton2",
        "virt": "vm",
        "group": "edge",
        "env": [
          {
            "POLICY": "\"manylinux_2_34\"",
            "PLATFORM": "\"aarch64\""
          }
        ]
      },
      {
        "arch": "s390x",
        "env": [
          {
            "POLICY": "\"manylinux_2_34\"",
            "PLATFORM": "\"s390x\""
          }
        ]
      },
      {
        "arch": "ppc64le",
        "env": [
          {
            "POLICY": "\"manylinux_2_34\"",
            "PLATFORM": "\"ppc64le\""
          }
        ]
      },
      {
        "arch": "arm64-graviton2",
        "virt": "vm",
        "group": "edge",
        "env": [
          {
            "POLICY": "\"musllinux_1_2\"",
            "PLATFORM": "\"aarch64\""
          }
        ]
      },
      {
        "arch": "arm64-graviton2",
        "virt": "vm",
        "group": "edge",
        "env": [
          {
            "POLICY": "\"musllinux_1_2\"",
            "PLATFORM": "\"armv7l\""
          }
        ]
      },
      {
        "arch": "s390x",
        "env": [
          {
            "POLICY": "\"musllinux_1_2\"",
            "PLATFORM": "\"s390x\""
          }
        ]
      },
      {
        "arch": "ppc64le",
        "env": [
          {
            "POLICY": "\"musllinux_1_2\"",
            "PLATFORM": "\"ppc64le\""
          }
        ]
      }
    ]
  },
  "before_install": [
    "if [ -d \"${HOME}/buildx-cache/.buildx-cache-${POLICY}_${PLATFORM}\" ]; then cp -rlf ${HOME}/buildx-cache/.buildx-cache-${POLICY}_${PLATFORM} ./; fi"
  ],
  "install": [
    "docker version",
    "docker buildx version",
    "docker buildx create --name builder-manylinux --driver docker-container --use",
    "docker buildx inspect --bootstrap --builder builder-manylinux 2>&1 | tee /dev/null"
  ],
  "script": [
    "BUILD_STATUS=success\n(while true; do echo \"travis_wait\"; docker stats --no-stream; free; df -h; sleep 30; done) &\nWAIT_PID=$!\nCOMMIT_SHA=${TRAVIS_COMMIT} ./build.sh || BUILD_STATUS=failed\nkill -9 ${WAIT_PID}\nif [ \"${BUILD_STATUS}\" != \"success\" ]; then\n  exit 1\nfi\nif [ -d \"${HOME}/buildx-cache\" ]; then\n  rm -rf ${HOME}/buildx-cache\nfi\nmkdir ${HOME}/buildx-cache\nif [ \"${MANYLINUX_BUILD_FRONTEND}\" != \"docker\" ]; then\n  cp -rlf ./.buildx-cache-* ${HOME}/buildx-cache/\nfi\n"
  ],
  "deploy": [
    {
      "dpl_version": "1.10.16",
      "provider": "script",
      "script": "COMMIT_SHA=${TRAVIS_COMMIT} ./deploy.sh",
      "on": {
        "branch": [
          "main"
        ],
        "repo": "pypa/manylinux"
      }
    }
  ]
}