Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gitlab CI configs #1075

Merged
merged 5 commits into from
Nov 27, 2018
Merged

Add Gitlab CI configs #1075

merged 5 commits into from
Nov 27, 2018

Conversation

ashwinimurt
Copy link

  • Adds build configs for required platforms
  • Adds a run_all build trigger
  • Uses bee to get artifacts from stevedore instead of closing mono-build-deps in ono (this seems significantly faster!)

I want to get this out to review. I will only merge after pipeline succeeds and after I test the builds.zip in Unity.

This is branched from @joncham's original gitlab ci changes on unity-master-gitlab-ci branch.

.gitlab-ci.yml Outdated
- darwin
script:
- git submodule update --init --recursive
- echo -e "[auth]\nono.schemes=https\nono.prefix=ono.unity3d.com\nono.username=$GITLAB_UNITY_META_ONO_USER\nono.password=$GITLAB_UNITY_META_ONO_PASS\n" >> ~/.hgrc
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we only needed this for mono-build-deps clone from Ono. Can maybe be removed?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

build_android:
stage: build
tags:
- buildfarm
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I started with build farm runners since we needed to access Ono. We might not need to use them going forward.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will change to use bokken in next PR

@ashwinimurt
Copy link
Author

Passing pipeline at 2b7dbb2 : https://gitlab.internal.unity3d.com/vm/mono/pipelines/163747

Collate_builds artifacts contains the builds.7z

@ashwinimurt
Copy link
Author

Re-triggered pipeline because artifacts got deleted after a week.
builds.7z in collate_builds stage looks good.
https://gitlab.internal.unity3d.com/vm/mono/pipelines/163978

@ashwinimurt ashwinimurt merged commit 00c4e9b into unity-master Nov 27, 2018
@ashwinimurt ashwinimurt deleted the use-stevedore-gitlab-ci branch November 28, 2018 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants