mjm-backup-cluster Create chart for regularly backing up the cluster's etcd DB

Push event #279.1 passed

  • Ran for
AMD64
Ruby
Git
language: ruby
dist: xenial
addons:
  snaps:
  - name: helm
    classic: true

before_install:
- openssl aes-256-cbc -K $encrypted_8a2a23268e29_key -iv $encrypted_8a2a23268e29_iv
  -in gcs-credentials.json.enc -out gcs-credentials.json -d

before_script:
- helm init --client-only

before_deploy:
- ls dist

deploy:
  provider: gcs
  edge:
    branch: gcs-ng
  project_id: eco-emissary-99515
  credentials: gcs-credentials.json
  bucket: travis-ci-helm-charts
  local_dir: dist
  skip_cleanup: true
  acl: publicRead
  on:
    repo: travis-ci/kubernetes-config

after_success:
- "./shared/update-staging.sh"

branches:
  except:
  - flux-sync
  - flux-write-check
.travis.yml
language: python
python:
  # We don't actually use the Travis Python, but this keeps it organized.
  - "3.4"
  - "3.5"
install:
  # We do this conditionally because it saves us some downloading if the
  # version is the same.
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
    else
      wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
    fi
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda

  # Useful for debugging any issues with conda
  - conda info -a

  # Install Python, py.test, and required packages.
  - pip install pytest
  - conda env create -f build-env.yml
  - source activate build
  - python setup.py install

script:
  # Your test script goes here
  - py.test
Build Config
{
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "addons": {
    "snaps": [
      {
        "name": "helm",
        "classic": true
      }
    ]
  },
  "deploy": [
    {
      "on": {
        "repo": "travis-ci/kubernetes-config"
      },
      "acl": "publicRead",
      "edge": {
        "branch": "gcs-ng"
      },
      "bucket": "travis-ci-helm-charts",
      "provider": "gcs",
      "local_dir": "dist",
      "project_id": "eco-emissary-99515",
      "credentials": "gcs-credentials.json",
      "skip_cleanup": true
    }
  ],
  "branches": {
    "except": [
      "flux-sync",
      "flux-write-check"
    ]
  },
  "language": "ruby",
  "after_success": [
    "./shared/update-staging.sh"
  ],
  "before_deploy": [
    "ls dist"
  ],
  "before_script": [
    "helm init --client-only"
  ],
  "before_install": [
    "openssl aes-256-cbc -K $encrypted_8a2a23268e29_key -iv $encrypted_8a2a23268e29_iv -in gcs-credentials.json.enc -out gcs-credentials.json -d"
  ]
}