• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wooga / atlas-build-unity
80%
master: 78%

Build:
Build:
LAST BUILD BRANCH: PR-154
DEFAULT BRANCH: master
Repo Added 06 Jun 2018 07:51AM UTC
Files 71
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH PR-71
branch: PR-71
CHANGE BRANCH
x
Reset
  • PR-71
  • 2692491593e162389c4d535c3a47d57a34e23640
  • PR-10
  • PR-100
  • PR-101
  • PR-102
  • PR-103
  • PR-104
  • PR-106
  • PR-107
  • PR-11
  • PR-111
  • PR-113
  • PR-114
  • PR-115
  • PR-117
  • PR-118
  • PR-119
  • PR-12
  • PR-120
  • PR-122
  • PR-124
  • PR-125
  • PR-126
  • PR-127
  • PR-128
  • PR-129
  • PR-13
  • PR-130
  • PR-131
  • PR-133
  • PR-134
  • PR-135
  • PR-136
  • PR-137
  • PR-139
  • PR-14
  • PR-140
  • PR-141
  • PR-143
  • PR-144
  • PR-145
  • PR-146
  • PR-147
  • PR-148
  • PR-150
  • PR-152
  • PR-154
  • PR-16
  • PR-17
  • PR-18
  • PR-20
  • PR-21
  • PR-24
  • PR-25
  • PR-26
  • PR-27
  • PR-28
  • PR-29
  • PR-30
  • PR-31
  • PR-32
  • PR-35
  • PR-36
  • PR-37
  • PR-39
  • PR-40
  • PR-42
  • PR-44
  • PR-45
  • PR-46
  • PR-48
  • PR-49
  • PR-50
  • PR-53
  • PR-54
  • PR-55
  • PR-56
  • PR-57
  • PR-58
  • PR-59
  • PR-6
  • PR-60
  • PR-61
  • PR-62
  • PR-63
  • PR-64
  • PR-65
  • PR-66
  • PR-67
  • PR-68
  • PR-7
  • PR-70
  • PR-72
  • PR-73
  • PR-74
  • PR-75
  • PR-76
  • PR-77
  • PR-78
  • PR-79
  • PR-8
  • PR-80
  • PR-81
  • PR-82
  • PR-84
  • PR-85
  • PR-86
  • PR-87
  • PR-88
  • PR-89
  • PR-9
  • PR-90
  • PR-91
  • PR-92
  • PR-93
  • PR-94
  • PR-95
  • PR-96
  • PR-97
  • PR-98
  • PR-99
  • master
  • release/1.x

pending completion
2

push

jenkins

Improve internal keychain handling

Description
===========

The `KeychainLookupList` first added to this project missused an
undocumented feature in macOS to implement all keychain additions and
removals without the need to execute the `security` commandline tool.
The logic worked by altering the config plist for the security tool:
`com.apple.security.plist`. This worked great and allowed to run the
tests on a mocked config file without altering the state of the
executing machine.

Since macOS 10.15 this solution became more and more brittle as	this
file was no longer created by default and is sometimes deleted. Multiple
issues came up over the last few month so I decided to move the logic
back to the `security` cli tool.

There is a huge drawback when it comes to tests. We would like to test
the logic in isolation but there is only one global keychain lookup
mechanims on macOS. So altering this under test means to leave a broken
state. To limit issues with broken/failing or forced closed tests I
decided to implement the tests with a simple reset function.

Before and After each test we reset the keychain lookup list to a
default state. This state is by default the login keychain + the
configured default keychain. One can also provide a list of keychains
via a custom environment variable
`ATLAS_BUILD_UNITY_IOS_DEFAULT_KEYCHAINS`. This variable should provide
a list separated by `:` (unix) or `;` (windows) to the default user
keychains. The `KeychainLookupListSpec` is also not running by default
to not break any system configs. To opt in declare the
`ATLAS_BUILD_UNITY_IOS_EXECUTE_KEYCHAIN_SPEC` environment variable.

The implementation of the tests and the changed `KeychainLookupList` has
one minor breaking behavior change. The method `clear` will do an
internal `reset` instead of removing all keychains.

Changes
=======

! *[IMPROVE] internal keychain handling

740 of 923 relevant lines covered (80.17%)

1.27 hits per line

Relevant lines Covered
Build:
Build:
923 RELEVANT LINES 740 COVERED LINES
1.27 HITS PER LINE
Source Files on PR-71
  • Tree
  • List 20
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
2 PR-71 Improve internal keychain handling Description =========== The `KeychainLookupList` first added to this project missused an undocumented feature in macOS to implement all keychain additions and removals without the need to execute the `security`... push 19 Oct 2020 03:49PM UTC jenkins pending completion  
See All Builds (473)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc