Exception: DeployError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/spout/commands/deploy.rb

Overview

  • **User Authorization**

    • User authenticates via token, the user must be a dataset editor

  • **Version Check**

    • “v#VERSION” matches HEAD git tag annotation

    • ‘CHANGELOG.md` top line should include version, ex: `## 0.1.0`

    • Git Repo should have zero uncommitted changes

  • **Tests Pass**

    • ‘spout t` passes for RC and FINAL versions (Include .rc, does not include .beta)

    • ‘spout c` passes for RC and FINAL versions (Include .rc, does not include .beta)

  • **Graph Generation**

    • ‘spout g` is run

    • Graphs are pushed to server

  • **Dataset Uploads**

    • Dataset CSV data dictionary is generated (variables, domains, forms)

    • Dataset and data dictionary CSVs uploaded to files section of dataset

  • **Server-Side Updates**

    • Server checks out branch of specified tag

    • Server runs ‘load_data_dictionary!` for specified dataset slug

    • Server refreshes dataset folder to reflect new dataset and data dictionaries