When a new chrome or chromedriver version is available, the CI build
updates it. In fact, each of the 32 rspec processes will try to download
the new version and then run chromedriver. This leads to problems as the
chromedriver binary being run may still be downloaded by another rspec
process. This leads to the following error: "Text file busy".
This commit adds a step to the CI build that downloads the binaries
before the tests are run.
* Use dockerfile build cache
* Improve entrypoint to speed up test setup
* Fix asset helper
* Disable angular cache until webpack fixes dangling caches. Also experiment with max-old-space-size
* No need for maintaining test schema under CI. Saves ~30s of db:test:prepare stuff
* DOCKER_BUILDKIT: 1 for AWS
* turbo_tests verbose
* PostgreSQL conf for CI
* Add comment on how to switch back to AWS self-hosted runners
Legacy specs is using fixtures, which leaves some data in the database
and leads to errors if the database is used again without having
truncated the tables.
Using different databases for legacy and parallel test ensures we run
all tests with a blank state.
* Reexport PGVERSION and PGBIN according to existing install
* Display message if PostgreSQL version deprecated
* Do not launch postgres if using external URI
* Add script to auto-upgrade postgres database for all-in-one dockerfile
* Add documentation for packages and all-in-one docker image
* Let GitHub integration show changes in a separate tab
* added new github integration icons to icon font
* add tab content: working tab-header and copy-menu
* modernise github_integrations ruby code
* refactored some code to be more modern ruby (if wrote most of it 7
years ago and couldn't look at some parts without squinting too much)
* make some intended-to-be-private module methods actually private
* fixed all rubocop errors in the /modules/github_integration
* re-organized tests a little
* gave our rubocop.yml some RSpec-related defaults -- happy to discuss
these, but I think we can live with these as a good starting point
👆 all without actually (intentionally) changing the behaviour
* removed dead angular template code
* codeclimate found more things than rubocop :)
* removed create-pr-button since we decided against implementing that feature
* added missing translations
* properly cache the github related part of the wp api
* lower case pull requests in translations
* fix specs
* Fix some ium stylings
* Extend create service to also test with empty names
* Add PrincipalLike type to pass around non-created placeholder refs
* Add icon-context
* Move principal rendering to its own module
* Fix emit create new placeholder to principals
* Revert op-principal for now
* Add memberships form API to properly post
* Fix types for returned principals
* Move untilDestroyed in role
* Filter input if not string in role-search
* Pass correct inputs to success component
* Return principal after saving membership
* Fix small stuff around the ium
* Fix the way HalResources are selected and passed
* Move principal module to be exported by common
* Disable quotemark in tslint until eslint is enabled
* Fix image path in success
* Adapt modal to run all steps in one within the modal helper component
* Several fixes to modals
* Fix ium success component styles,
* Registration modal y-overflow
* Add SMTP parameters to .env.example
* Add disabled option to op-option-list, disabled placeholder users for non-ee instances
* Add correct ee link to placeholder user option
* Fix build
* Removed unused sass files
* Fix principal search not found indicator, added placeholder add image
* Fix enterprise edition url, use dirty instead of touched check
* Use backend class names for frontend principal types
* Fix duplicate import and principal type usage
* Also disable banners if with_ee is present in test
* Extend specs for placeholders
* Fix disabled attribute
* Extend spec WIP
* Improved inline-validation styles, fixed more PrincipalType usages
* Add group happy path test, fix more PrincipalType usage
* Fix a translation
* Revert line deletion
* Rewrite same spec examples into shared examples
* Fix name of shared example
* Dont run assets:clean to remove angular assets
* Output whether assets are there at all
* Update user-avatar usages to principal
* Fix some op-principal usages
* Fix principal typing
* Remove ls of non-existent directory
* Rename more user-avatar instances
* Avatars now render correctly
* Fix an op-principal instance, default to avatar class for avatars
* Always add principal id to default principal tag
* Small fixes to op-principal
* Fix multiline user display
* Dirty fix for capybara click events
* Update avatar sizing
* Fixed some specs
* Fix unit specs
* Added op-link styles
* Fix add placeholder image link
* Remove byebug debugger statements
Co-authored-by: Oliver Günther <mail@oliverguenther.de>