Azure Pipeline

011714704c4a925e542d426d4cdaa4e3?s=47 giginet
April 16, 2019

Azure Pipeline

011714704c4a925e542d426d4cdaa4e3?s=128

giginet

April 16, 2019
Tweet

Transcript

  1. 4.

    Azure Pipelinesͱ͸ • Microso(͕ఏڙ͢ΔCI as a service • ڈ೥ͷळ͙Β͍ʹ࢝·ͬͨ •

    h0ps:/ /azure.microso(.com/ja-jp/services/devops/pipelines/ 4
  2. 5.

    5

  3. 6.

    ಛ௃ • GUIͰઃఆՄೳ • ͔ͳΓແྉͰ࢖͑Δ • OSS͸࣌ؒແ੍ݶͰ10ฒྻɻ࣮࣭ແྉ • Ϋϩʔζυ͸1ฒྻͷΈͰ݄1800෼ •

    ๛෋ͳλεΫ • Market Place • macOS/Linux/Windowsͷίϯςφ͕࢖͑Δ • ηϧϑϗεςΟϯά͕Մೳ 6
  4. 7.

    7

  5. 8.
  6. 9.

    9

  7. 10.

    10

  8. 11.

    11

  9. 12.

    • ઃఆϑΝΠϧ͸YAMLͰ΋ఆٛՄೳ • azure-pipelines.yml pool: vmImage: 'macOS 10.13' steps: -

    task: Xcode@5 inputs: scheme: '' sdk: 'iphoneos' configuration: 'Release' xcodeVersion: 'default' 12
  10. 14.

    ͦͷଞiOS޲͚ͷTask • Install Provisioning Profile / Cer3ficates • App Store

    • αϒϛοτ • TestFlight • Test with App Center 14
  11. 15.

    Install Provisioning Profile / Cer2ficates • Provisioning Profile΍ূ໌ॻΛΞοϓϩʔυͯ͠ΠϯετʔϧͰ ͖Δ •

    Developer Center͔Βऔ͖ͬͯͨΓɺࣗಈͰߋ৽ͨ͠Γ͸ͯ͠ ͘Εͳ͍ • ͦ͜·Ͱ΍Δʹ͸fastlaneΛ࢖͏ 15
  12. 16.

    App Store • App Store΁ͷαϒϛοτ͕ߦ͑Δ • ಺෦తʹ͸fastlaneୟ͍ͯΔ • ҰԠΦʔϓϯιʔε h0ps:/

    /github.com/Microso;/app-store-vsts- extension/tree/master/Tasks/app-store-release • ݱঢ়Ͱ͖Δ͜ͱ͕ݶఆత͗ͯ͢ݫ͍͠…… • ·ͱ΋ʹ࢖͏ͷ͸೉͍͠ͷͰ͸ɻ௚઀fastlane࢖ͬͨํ͕ྑ͍ 16
  13. 17.

    17

  14. 21.

    jobs: - job: macOS pool: vmImage: 'macOS-10.13' steps: - script:

    | export SWIFT_VERSION=4.2.4 # Install swiftenv eval "$(curl -sL \ https://gist.githubusercontent.com/kylef/ \ 5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/\ swiftenv-install.sh)" swift build 21