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

feat(ci-utils): add a command for CI stuff we use in multiple repos #274

Merged
merged 3 commits into from
Aug 8, 2020

Conversation

Thomaash
Copy link
Member

@Thomaash Thomaash commented Aug 8, 2020

At the moment it's only for installing dependencies, but it's modular so adding anything new will be as simple as adding a new command to src/ci-utils/index.ts. This will come in handy especially if we decide to implement E2E interop tests (which seems doable to me if #272 gets merged) so that I won't have to copy paste the same apt-install … commands all over the place and also manually copy paste the same fix everywhere in case the dependencies change at some point (which is quite likely because CircleCI is rolling out “next-generation” Ubuntu based images with fewer preinstalled packages, they may discontinue the chunkier Debian based ones we've been using so far).

I also removed some dependencies that seem unnecessary (it runs just fine without them), I'm not sure anymore where I got the list originally, it probably lists a lot of dependencies that are installed anyway or maybe dependencies of dependencies, dependencies for functionality we don't use etc.

PS: CircleCI has orbs to achieve this. However I have no idea how to create an orb whereas this was easy for me to do, it's easy to use and CI provider agnostic, if we decide to switch at any point in the future.

At the moment it's only for installing dependencies.
@Thomaash Thomaash requested a review from a team August 8, 2020 12:15
@Thomaash Thomaash merged commit 1a116cb into master Aug 8, 2020
@Thomaash Thomaash deleted the ci-install-commands branch August 8, 2020 17:25
@vis-bot
Copy link
Collaborator

vis-bot commented Aug 8, 2020

🎉 This PR is included in version 2.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants