This repository was archived by the owner on Nov 15, 2023. It is now read-only.
File tree 4 files changed +11
-12
lines changed
4 files changed +11
-12
lines changed Original file line number Diff line number Diff line change 1
1
version : 2
2
+
2
3
jobs :
3
4
build :
4
5
docker :
5
- - image : circleci /ruby:2.6 .6-node- browsers-legacy
6
+ - image : cimg /ruby:2.7 .6-browsers
6
7
environment :
7
8
- RAILS_ENV : test
8
9
- SELENIUM_CHROME_HEADLESS : true
@@ -11,23 +12,24 @@ jobs:
11
12
- MYSQL_USERNAME : root
12
13
- MYSQL_PASSWORD : root
13
14
- MYSQL_DATABASE : suikoden_election_2017_test
14
- - image : circleci /mysql:5.7.22
15
+ - image : cimg /mysql:5.7.38
15
16
environment :
16
- MYSQL_USER : root
17
- MYSQL_ROOT_PASSWORD : root
17
+ MYSQL_USER : gss2017
18
+ MYSQL_PASSWORD : gss2017_pasword
19
+ MYSQL_ROOT_PASSWORD : root_password
18
20
MYSQL_PORT : 3306
19
21
MYSQL_DATABASE : suikoden_election_2017_test
20
22
working_directory : ~/repo
21
23
steps :
22
24
- checkout
23
25
- restore_cache :
24
26
keys :
25
- # - v1-dependencies-{{ checksum "Gemfile.lock" }}-{{ checksum "yarn.lock" }}
26
27
- v1-dependencies-{{ checksum "Gemfile.lock" }}
27
28
- v1-dependencies-
28
29
- run :
29
30
name : Install system dependencies
30
31
command : |
32
+ sudo apt update
31
33
sudo apt install -y fonts-migmix
32
34
- run :
33
35
name : Install Chrome
@@ -51,14 +53,11 @@ jobs:
51
53
bundle install --jobs=4 --retry=3 --path vendor/bundle
52
54
- run :
53
55
name : Execute yarn install
54
- # TODO: 調整の必要あり
55
56
command : yarn install
56
57
- save_cache :
57
- # key: v1-dependencies-{{ checksum "Gemfile.lock" }}-{{ checksum "yarn.lock" }}
58
58
key : v1-dependencies-{{ checksum "Gemfile.lock" }}
59
59
paths :
60
60
- vendor/bundle
61
- # - node_modules
62
61
- run :
63
62
name : Wait for booting DBMS
64
63
command : dockerize -wait tcp://127.0.0.1:3306 -timeout 10s
Original file line number Diff line number Diff line change 14
14
runs-on : ubuntu-latest
15
15
strategy :
16
16
matrix :
17
- ruby-version : ['2.6 .6', '2.7.6 ', '3.1.2']
17
+ ruby-version : ['2.7 .6', '3.0.4 ', '3.1.2']
18
18
steps :
19
19
- name : コードをチェックアウトする
20
20
uses : actions/checkout@v3
Original file line number Diff line number Diff line change 1
- 2.6 .6
1
+ 2.7 .6
Original file line number Diff line number Diff line change 29
29
<< : *default
30
30
host : <%= ENV['MYSQL_HOST_TEST'] || '127.0.0.1' %>
31
31
port : <%= ENV['MYSQL_PORT_TEST'] || 3306 %>
32
- username : <%= ENV['MYSQL_USERNAME_TEST'] || 'root ' %>
33
- password : <%= ENV['MYSQL_PASSWORD_TEST'] || 'root ' %>
32
+ username : <%= ENV['MYSQL_USERNAME_TEST'] || 'gss2017 ' %>
33
+ password : <%= ENV['MYSQL_PASSWORD_TEST'] || 'gss2017_pasword ' %>
34
34
database : <%= ENV['MYSQL_DATABASE_TEST'] || 'suikoden_election_2017_test' %>
You can’t perform that action at this time.
0 commit comments