Skip to content

sillsdev/appbuilder-ci-ios

Repository files navigation

appbuilder-ci-ios

Description

The appbuilder-ci-ios is a CI build description for the Scriptoria project. This project provides a way for iOS apps to be be remotely signed after they have been built by appbuilder-buildengine-api on AWS CodeBuild using docker-appbuilder-agent.

Travis CI

To trigger a build using Travis, clone this repo and Trigger a build using the Travis API.

Sample Request

URL

https://api.travis-ci.org/repo/sillsdev%2Fappbuilder-ci-ios/requests

HEADER

Content-Type: application/json
Accept: application/json
Travis-API-Version: 3
Authorization: token $TOKEN

BODY

{
  "request" : {
    "branch":"master",
    "message":"Build Message",
    "config" : {
      "merge_mode" : "deep_merge_prepend",
      "env": {
        "global" : [
          "APPBUILDER_ASSET=WEB-1.4.ipa",
          "APPBUILDER_ASSET_DOWNLOAD_PATH=s3://sil-stg-aps-files/stg/jobs/build_scriptureappbuilder_0/1",
          "APPBUILDER_ASSET_RESULT_PATH=s3://sil-stg-aps-files/stg/jobs/build_scriptureappbuilder_0/1/signed",
          "APPBUILDER_SECRETS_PATH=s3://sil-stg-aps-secrets/jenkins/build/apple_app_store/bluevire"
        ]
      }
    }
  }
}

Circle CI

To trigger a build using Circle CI, clone this repo and Trigger a Job using the Circle CI API and Injecting Environment Variables with the API.

Sample Request

URL

https://circleci.com/api/v1.1/project/github/sillsdev/appbuilder-ci-ios/tree/master?circle-token=$TOKEN

HEADERS

Content-Type: application/json

BODY

{
  "build_parameters": {
    "APPBUILDER_ASSET": "WEB-1.4.ipa",
    "APPBUILDER_ASSET_DOWNLOAD_PATH": "s3://sil-stg-aps-files/stg/jobs/build_scriptureappbuilder_0/1",
    "APPBUILDER_ASSET_RESULT_PATH": "s3://sil-stg-aps-files/stg/jobs/build_scriptureappbuilder_0/1/signed",
    "APPBUILDER_SECRETS_PATH": "s3://sil-stg-aps-secrets/jenkins/build/apple_app_store/bluevire"
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages