Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Export Build from Cloud Build to Amazon S3

Discussion in 'Unity Build Automation' started by Uli_Okm, Sep 4, 2018.

  1. Uli_Okm

    Uli_Okm

    Joined:
    Jul 10, 2012
    Posts:
    94
    Hello,
    I'm trying to setup Unity Cloud Build as my CI and CD.
    I have successfully linked my external repository (Gitlab) to Unity Cloud build triggering with commits in a specific branch.
    I would like to after the Build process is done, export the generated build to an Amazon S3 storage. Someone can point how could I do that?
    I was thinking in maybe using the Post-export methods to try to upload to the S3 using REST or maybe setting up a webhook to do that, but I'm not so sure about how to do that.
    If someone can help me, thanks!
     
  2. Tigerslug

    Tigerslug

    Joined:
    Jun 20, 2019
    Posts:
    1
    Any updates here?
     
  3. rie_unity

    rie_unity

    Joined:
    Mar 15, 2022
    Posts:
    11
    I would like to know an answer about this too.
     
  4. atomikm

    atomikm

    Joined:
    Feb 8, 2020
    Posts:
    20
    4 years later and still no answer for this?
     
  5. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,022
  6. RedBeardMan

    RedBeardMan

    Joined:
    Jun 13, 2022
    Posts:
    4
    Upping post

    No news on this one? Would be nice at least to have AWS CLI on the build workers. So we could run and upload to S3 using a post build script.

    Trying to hook our webGL build to auto deploy on AWS S3

    In the Advanced Config there is a option to upload addressables to CDN, but no option to upload the WebGL build :(
     
    rgonsalv likes this.
  7. mshem

    mshem

    Joined:
    Nov 30, 2016
    Posts:
    4
    im gonna be trying the following:
    1 post build shell script
    - coulndt install aws-cli in unity cloud build, is there another library? fastlane also doesnt seem to be present but i did use it for an android build.
    2 pre/post export method
    - i have the aws sdk in the code, maybe i can use it in the build?
    3 webhook to either a server or lambda
    - i have a server but this would be a bit of work.
    4 ci/cd?
     
  8. Benjamin-Gooding

    Benjamin-Gooding

    Unity Technologies

    Joined:
    Apr 12, 2022
    Posts:
    246
    Fastlane should be around. It is installed on all of our machines.