Skip to content

Commit

Permalink
[CI/CD] precompile with legacy openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelrealwri committed Apr 5, 2024
1 parent 3998a7a commit 211e9dc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
DB_USER: postgres
DISABLE_SPRING: true
SYSTEM_TEST_STRATEGY: container_headless_chrome
NODE_OPTIONS: "--openssl-legacy-provider"

services:
postgres:
Expand Down Expand Up @@ -74,7 +73,7 @@ jobs:
run: bundle exec rails db:reset db:setup db:migrate

- name: precompile assets
run: bundle exec rails assets:precompile
run: NODE_OPTIONS=--openssl-legacy-provider bundle exec rails assets:precompile

- name: Run tests
run: |
Expand Down
26 changes: 13 additions & 13 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ services:
ports:
- '5432:5432'

chrome:
image: browserless/chrome:1-puppeteer-15.5.0-slim
ports:
- "3333:3333"
# Mount application source code to support file uploading
# (otherwise Chrome won't be able to find files).
# NOTE: Make sure you use absolute paths in `#attach_file`.
environment:
# By default, it uses 3000, which is typically used by Rails.
PORT: 3333
# Set connection timeout to avoid timeout exception during debugging
# https://docs.browserless.io/docs/docker.html#connection-timeout
CONNECTION_TIMEOUT: 600000
# chrome:
# image: browserless/chrome:1-puppeteer-15.5.0-slim
# ports:
# - "3333:3333"
# # Mount application source code to support file uploading
# # (otherwise Chrome won't be able to find files).
# # NOTE: Make sure you use absolute paths in `#attach_file`.
# environment:
# # By default, it uses 3000, which is typically used by Rails.
# PORT: 3333
# # Set connection timeout to avoid timeout exception during debugging
# # https://docs.browserless.io/docs/docker.html#connection-timeout
# CONNECTION_TIMEOUT: 600000

volumes:
dbdata:

0 comments on commit 211e9dc

Please sign in to comment.