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

Python rewrite #14

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

docs: update readme

5394443
Select commit
Loading
Failed to load commit list.
Open

Python rewrite #14

docs: update readme
5394443
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Oct 29, 2024 in 1m 4s

Build Passed

The build passed, just like the previous build.

Details

This is a normal build for the cc-py-rewrite 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 Ruby
Operating System Linux (Jammy)
Build Configuration
{
  "language": "ruby",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "addons": {
    "apt": {
      "sources": [
        {
          "sourceline": "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable",
          "key_url": "https://download.docker.com/linux/ubuntu/gpg"
        }
      ]
    }
  },
  "services": [
    "docker"
  ],
  "env": [
    "global={:QUAY_REPO=>\"\\\"quay.io/opentargets/ot-ai-api\\\"\"}={:LOCAL_IMAGE_NAME=>\"\\\"ot-ai-api\\\"\"}"
  ],
  "before_install": [
    "docker version",
    "docker-compose version"
  ],
  "script": [
    "docker build . -t \"${LOCAL_IMAGE_NAME}\""
  ],
  "after_success": [
    "set -ev",
    "docker login -u=\"$QUAY_USER\" -p=\"$QUAY_PASSWORD\" quay.io",
    "docker tag \"${LOCAL_IMAGE_NAME}\" \"${QUAY_REPO}:${TRAVIS_COMMIT}\"",
    "docker push \"${QUAY_REPO}:${TRAVIS_COMMIT}\"",
    "if [ \"${TRAVIS_TAG}\" != \"\"  ]; then docker tag \"${LOCAL_IMAGE_NAME}\" \"${QUAY_REPO}:${TRAVIS_TAG}\"; docker push \"${QUAY_REPO}:${TRAVIS_TAG}\"; fi",
    "if [ \"${TRAVIS_BRANCH}\" == \"main\" ]; then docker tag \"${LOCAL_IMAGE_NAME}\" \"${QUAY_REPO}:latest\"; docker push \"${QUAY_REPO}:latest\"; fi"
  ]
}