Skip to content

Commit

Permalink
Merge pull request #612 from kufu/use-mirror-gcr-io
Browse files Browse the repository at this point in the history
イメージの取得にはcimgを使う
  • Loading branch information
s-arikawa authored Sep 19, 2024
2 parents b7bfa1c + d3040a7 commit 4982090
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
26 changes: 7 additions & 19 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,13 @@ executors:
working_directory: /root/jpostcode-rb
ruby_3_2:
docker:
- image: rubylang/ruby:3.2-dev-jammy
auth:
username: smarthrinc
password: $DOCKER_HUB_ACCESS_TOKEN
- image: cimg/ruby:3.2
ruby_3_1:
docker:
- image: rubylang/ruby:3.1-dev-focal
auth:
username: smarthrinc
password: $DOCKER_HUB_ACCESS_TOKEN
- image: cimg/ruby:3.1
ruby_3_0:
docker:
- image: rubylang/ruby:3.0-dev-focal
auth:
username: smarthrinc
password: $DOCKER_HUB_ACCESS_TOKEN
- image: cimg/ruby:3.0

commands:
install_system_dependencies:
Expand All @@ -28,7 +19,7 @@ commands:
- run:
name: Install System Dependencies
# https://circleci.com/docs/2.0/custom-images/#required-tools-for-primary-containers
command: apt-get update -y && apt-get install -y ssh
command: sudo apt-get update -y && sudo apt-get install -y ssh

submodule_sync:
description: "git submodule init & update"
Expand Down Expand Up @@ -86,9 +77,6 @@ workflows:
version: 2
test:
jobs:
- run_tests_on_ruby_3_2:
context: smarthr-dockerhub
- run_tests_on_ruby_3_1:
context: smarthr-dockerhub
- run_tests_on_ruby_3_0:
context: smarthr-dockerhub
- run_tests_on_ruby_3_2
- run_tests_on_ruby_3_1
- run_tests_on_ruby_3_0
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
/spec/reports/
/tmp/
/vendor/

# RubyMine project files
.idea

0 comments on commit 4982090

Please sign in to comment.