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

ci: Don't install java and iproute unnecessarily #392

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,17 +187,15 @@ executors:
docker:
- image: cimg/ruby:3.3-node
commands:
setup:
setup_iproute2:
steps:
- run:
name: Install iproute2
command: |
sudo apt-get update
sudo apt-get install iproute2
- run:
name: Install Java
command: |
sudo apt-get install openjdk-11-jdk
setup:
steps:
- run:
name: Update RubyGems
command: |
Expand Down Expand Up @@ -239,7 +237,7 @@ commands:
environment:
BUNDLE_GEMFILE: './Gemfile'
- run:
name: Run SonarQube to capture coverage
name: Run SonarQube to report the coverage
command: |
wget -O /tmp/sonar-scanner-cli.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.8.1.3023.zip
unzip -d /tmp /tmp/sonar-scanner-cli.zip
Expand Down Expand Up @@ -298,6 +296,7 @@ jobs:
executor: << parameters.stack >>
steps:
- checkout
- setup_iproute2
- setup
- run_tests
test_apprisal:
Expand Down
Loading