Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Azure Pipeline

giginet
April 16, 2019

Azure Pipeline

giginet

April 16, 2019
Tweet

More Decks by giginet

Other Decks in Programming

Transcript

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

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

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

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

  5. 9

  6. 10

  7. 11

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

    task: Xcode@5 inputs: scheme: '' sdk: 'iphoneos' configuration: 'Release' xcodeVersion: 'default' 12
  9. ͦͷଞiOS޲͚ͷTask • Install Provisioning Profile / Cer3ficates • App Store

    • αϒϛοτ • TestFlight • Test with App Center 14
  10. Install Provisioning Profile / Cer2ficates • Provisioning Profile΍ূ໌ॻΛΞοϓϩʔυͯ͠ΠϯετʔϧͰ ͖Δ •

    Developer Center͔Βऔ͖ͬͯͨΓɺࣗಈͰߋ৽ͨ͠Γ͸ͯ͠ ͘Εͳ͍ • ͦ͜·Ͱ΍Δʹ͸fastlaneΛ࢖͏ 15
  11. App Store • App Store΁ͷαϒϛοτ͕ߦ͑Δ • ಺෦తʹ͸fastlaneୟ͍ͯΔ • ҰԠΦʔϓϯιʔε h0ps:/

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

  13. 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