This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree 2 files changed +23
-22
lines changed
2 files changed +23
-22
lines changed Original file line number Diff line number Diff line change @@ -62,24 +62,24 @@ jobs:
62
62
- name : Clear
63
63
run : make ci-clear
64
64
65
- # healthcheck:
66
- # runs-on: ubuntu-latest
67
- # needs: build
68
- # steps:
69
- # - name: Checkout code
70
- # uses: actions/checkout@v4
71
-
72
- # - name: Prepare
73
- # run: cp ./.env.example ./.env
74
-
75
- # - name: Download image
76
- # uses: actions/download-artifact@v4
77
- # with:
78
- # name: bmstu_2024-app
79
- # path: /tmp
80
-
81
- # - name: Load container
82
- # run: docker load --input /tmp/bmstu_2024-app.tar
65
+ healthcheck :
66
+ runs-on : ubuntu-latest
67
+ needs : build
68
+ steps :
69
+ - name : Checkout code
70
+ uses : actions/checkout@v4
71
+
72
+ - name : Prepare
73
+ run : cp ./.env.example ./.env
74
+
75
+ - name : Download image
76
+ uses : actions/download-artifact@v4
77
+ with :
78
+ name : bmstu_2024-app
79
+ path : /tmp
80
+
81
+ - name : Load container
82
+ run : docker load --input /tmp/bmstu_2024-app.tar
83
83
84
- # - name: Healthcheck
85
- # run: make ci-up-healthy
84
+ - name : Healthcheck
85
+ run : make ci-up-healthy
Original file line number Diff line number Diff line change @@ -43,8 +43,9 @@ RUN adduser -D rails --shell /bin/bash
43
43
RUN mkdir -p /usr/local/bundle/ruby/3.2.0/cache
44
44
RUN chown -R rails:rails \
45
45
db log storage tmp \
46
- /usr/local/bundle/ruby/3.2.0/cache
47
- RUN chmod -R 777 /usr/local/bundle/ruby/3.2.0/cache
46
+ /usr/local/bundle/ruby/3.2.0/cache \
47
+ /rails/log
48
+ RUN chmod -R 777 /usr/local/bundle/ruby/3.2.0/cache /rails/log
48
49
49
50
USER rails:rails
50
51
You can’t perform that action at this time.
0 commit comments