Skip to content

Commit

Permalink
chore: updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Nov 22, 2024
1 parent 9560da6 commit 2b3473d
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 15 deletions.
6 changes: 5 additions & 1 deletion backend/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
module crawlab

go 1.22
go 1.22.9

replace (
github.com/crawlab-team/crawlab/core => ../core
)

require github.com/crawlab-team/crawlab/core v0.0.0-20241119103250-dc9f62dfd09a

Expand Down
2 changes: 1 addition & 1 deletion db/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/crawlab-team/crawlab/db

go 1.22
go 1.22.9

replace github.com/crawlab-team/crawlab/trace => ../trace

Expand Down
2 changes: 1 addition & 1 deletion docker/base-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN bash /app/install/deps/deps.sh && \
bash /app/install/python/python.sh && \
bash /app/install/go/go.sh && \
bash /app/install/node/node.sh && \
bash /app/install/chromedriver/chromedriver.sh
bash /app/install/browser/browser.sh

# Final stage
FROM ubuntu:22.04
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,14 @@ apt-get install -y \
npm install -g @puppeteer/browsers

# Install chrome with auto-yes
npx -y @puppeteer/browsers install chrome@${version}
npx -y @puppeteer/browsers install chrome@${version} \
--install-deps \
--path=/chrome

# Add Chrome to PATH
CHROME_PATH="/chrome/linux-*/chrome-linux64"
if [ -d "$CHROME_PATH" ]; then
CHROME_BIN=$(find "$CHROME_PATH" -name "chrome")
if [ -n "$CHROME_BIN" ]; then
ln -sf "$CHROME_BIN" /usr/local/bin/google-chrome
chmod +x /usr/local/bin/google-chrome
fi
fi
CHROME_PATH="/chrome/linux-${version}/chrome-linux64"
CHROME_BIN="$CHROME_PATH/chrome"
ln -s "$CHROME_BIN" /usr/local/bin/google-chrome

# Verify chrome is installed (with more detailed error message)
if ! command -v google-chrome &> /dev/null; then
Expand Down
2 changes: 1 addition & 1 deletion grpc/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/crawlab-team/crawlab/grpc

go 1.22
go 1.22.9

require (
google.golang.org/grpc v1.68.0
Expand Down
1 change: 1 addition & 0 deletions grpc/go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
golang.org/x/net v0.31.0 h1:68CPQngjLL0r2AlUKiSxtQFKvzRVbnzLwMUn5SzcLHo=
Expand Down
2 changes: 1 addition & 1 deletion trace/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/crawlab-team/crawlab/trace

go 1.22
go 1.22.9

require github.com/ztrue/tracerr v0.4.0
2 changes: 1 addition & 1 deletion vcs/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/crawlab-team/crawlab/vcs

go 1.22
go 1.22.9

require (
github.com/apex/log v1.9.0
Expand Down

0 comments on commit 2b3473d

Please sign in to comment.