Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Adding secure information to UCB without pushing it to repository

Discussion in 'Unity Build Automation' started by tea42, Oct 31, 2018.

  1. tea42

    tea42

    Joined:
    Jul 10, 2013
    Posts:
    18
    I would like to push assets created during a cloud build to a secure server requiring a username/password (i.e. do build, create zip of assets, push to remote bucket, unzip assets). It will work fine if I push the account details required to create the connection to our git repository, but I obviously don't want to do that... Is there any current best practice for this sort of set up, or a way of adding data like this to the cloud build panel (something like the environment variables section on circle ci)?

    Thanks in advance for any help
     
  2. victorw

    victorw

    Joined:
    Sep 14, 2016
    Posts:
    459
    Env variables are supported by Unity Cloud Build on both Project and Build Target level but you can only set them via the API - currently the frontend hasn't been implemented since they have had very limited testing and are primarily used to support internal teams. You're welcome to try them out for yourself and send me a message if you find any issues.
     
    tea42 likes this.
  3. tea42

    tea42

    Joined:
    Jul 10, 2013
    Posts:
    18
    Thanks for getting back to me so quickly, that looks just what I'm looking for!