Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit fa52ab1

Browse files
committed
ci: 🎡 OS が変わったことによる MySQL のアクセス方法の変更に対応
1 parent 0545e23 commit fa52ab1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.circleci/config.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
version: 2
2+
23
jobs:
34
build:
45
docker:
@@ -11,7 +12,7 @@ jobs:
1112
- MYSQL_USERNAME: root
1213
- MYSQL_PASSWORD: root
1314
- MYSQL_DATABASE: suikoden_election_2017_test
14-
- image: circleci/mysql:5.7.22
15+
- image: cimg/mysql:5.7.38
1516
environment:
1617
MYSQL_USER: root
1718
MYSQL_ROOT_PASSWORD: root
@@ -22,7 +23,6 @@ jobs:
2223
- checkout
2324
- restore_cache:
2425
keys:
25-
# - v1-dependencies-{{ checksum "Gemfile.lock" }}-{{ checksum "yarn.lock" }}
2626
- v1-dependencies-{{ checksum "Gemfile.lock" }}
2727
- v1-dependencies-
2828
- run:
@@ -52,14 +52,11 @@ jobs:
5252
bundle install --jobs=4 --retry=3 --path vendor/bundle
5353
- run:
5454
name: Execute yarn install
55-
# TODO: 調整の必要あり
5655
command: yarn install
5756
- save_cache:
58-
# key: v1-dependencies-{{ checksum "Gemfile.lock" }}-{{ checksum "yarn.lock" }}
5957
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
6058
paths:
6159
- vendor/bundle
62-
# - node_modules
6360
- run:
6461
name: Wait for booting DBMS
6562
command: dockerize -wait tcp://127.0.0.1:3306 -timeout 10s

0 commit comments

Comments
 (0)