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

Ka kaldi #7

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

Merge branch 'main' into Ka-kaldi

60e3f51
Select commit
Loading
Failed to load commit list.
Open

Ka kaldi #7

Merge branch 'main' into Ka-kaldi
60e3f51
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Dec 2, 2024 in 3m 43s

Build Passed

The build passed, just like the previous build.

Details

This is a normal build for the Ka-kaldi branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build has five jobs, running in two sequential stages.

Stage 1: test

This stage passed.

Job Python OS State
64.1 Check YAML format 3.10 Linux passed
64.2 pymarkdown 3.10 Linux passed
64.3 flake8 3.10 Linux passed
64.4 Check Bash format 3.10 Linux passed

Stage 2: deploy

This stage passed.

Job Python OS State
64.5 deploy 3.10 Linux passed

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Jammy)
Python Version 3.10
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "services": [
    "docker"
  ],
  "python": [
    "3.10"
  ],
  "before_install": [
    "pip install --upgrade pip setuptools"
  ],
  "branches": {
    "only": [
      "main",
      "Ka-kaldi"
    ]
  },
  "jobs": {
    "include": [
      {
        "name": "Check YAML format",
        "install": [
          "pip install tox"
        ],
        "script": [
          "tox -e yamllint"
        ]
      },
      {
        "name": "pymarkdown",
        "install": [
          "pip install tox"
        ],
        "script": [
          "tox -e pymarkdown"
        ]
      },
      {
        "name": "flake8",
        "install": [
          "pip install tox"
        ],
        "script": [
          "tox -e flake8"
        ]
      },
      {
        "name": "Check Bash format",
        "install": [
          "pip install tox"
        ],
        "script": [
          "tox -e shellcheck"
        ]
      },
      {
        "stage": "deploy",
        "name": "deploy",
        "if": "(type = push or type = cron) and (branch = main or branch = Ka-kaldi)",
        "install": [
          "pip install ansible"
        ],
        "before_script": [
          "mkdir -p \"${HOME}/.ssh/\"",
          "TRAVIS_TSUKI_SSH_KEY_PATH=\"${HOME}/.ssh/id_ed25519_travis\"",
          "echo \"${DEPLOY_HOST} ssh-ed25519 ${DEPLOY_HOST_SSH_PUBLICKEY}\" >> ${HOME}/.ssh/known_hosts",
          "echo \"${DEPLOY_HOST_USER_SSH_KEY}\" | base64 --decode > \"${TRAVIS_TSUKI_SSH_KEY_PATH}\"",
          "chmod 400 \"${TRAVIS_TSUKI_SSH_KEY_PATH}\""
        ],
        "script": [
          " ansible-playbook -i deploy/inventory_travis deploy/deploy.yaml --extra-vars \"tsuanan_repo=`basename ${TRAVIS_REPO_SLUG}`\" --extra-vars \"branch=${TRAVIS_BRANCH}\" --extra-vars \"DEPLOY_HOST=${DEPLOY_HOST}\" --extra-vars \"DEPLOY_HOST_USER=${DEPLOY_HOST_USER}\" --extra-vars \"TRAVIS_TSUKI_SSH_KEY_PATH=${TRAVIS_TSUKI_SSH_KEY_PATH}\" --extra-vars \"ASR_VIRTUAL_HOST=${ASR_VIRTUAL_HOST}\" --extra-vars \"ASR_KALDI_VIRTUAL_HOST=${ASR_KALDI_VIRTUAL_HOST}\" --extra-vars \"TTS_VIRTUAL_HOST=${TTS_VIRTUAL_HOST}\" --extra-vars \"SENTRY_DSN=${SENTRY_DSN}\" "
        ]
      }
    ]
  }
}