Push apps to Hockey with Concourse CI
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
script
spec
Dockerfile
Gemfile
Gemfile.lock
LICENSE.md
README.md

README.md

Hockey Resource

A resource for pushing (and pulling) versions of an app from Hockey App.

Source configuration

  • app_id: Required. The alphanumeric identifier for your app. Found on your app's page in Hockey.
  • token: Required. Your API token for Hockey. Can be found generated here (login required).

Behaviour

out: Upload an app binary to Hockey as a new version

Uploads a new version of the app specified in the resource's source configuration. Requires a path to the binary to be uploaded.

Parameters

  • path: Required. Path to the binary to upload.
  • downloadable: Optional. If true the new version will be made available for download.

in: Download an app binary for a given version

Under construction...

check: Check for new versions

Under construction...

Pipeline example

resource_types:
  - name: hockey
    type: docker-image
    source:
      repository: seadowg/hockey-resource
      tag: 0.1.0

resources:
  - name: app-repo
    type: git
    source:
      uri: https://github.com/user/app.git
      branch: master

  - name: hockey
    type: hockey
    source:
      app_id: APP_ID
      token: TOKEN

jobs:
  - name: package
    plan:
      - get: app-repo
        trigger: true
      - task: package
        file: app-repo/concourse/tasks/package.yml
      - put: hockey
        params:
          path: package/app.apk