Skip to content

Commit

Permalink
Merge pull request #4007 from nulib/deploy/staging
Browse files Browse the repository at this point in the history
Deploy v9.3.9 to production
  • Loading branch information
mbklein authored Jun 14, 2024
2 parents 140b04b + 185941e commit 8de60ce
Show file tree
Hide file tree
Showing 8 changed files with 78 additions and 63 deletions.
102 changes: 51 additions & 51 deletions app/assets/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions app/assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"esbuild-plugin-svgr": "^2.1.0",
"faker": "^5.5.3",
"file-saver": "^2.0.5",
"graphql": "^16.8.1",
"graphql": "^16.8.2",
"graphql-tag": "^2.12.6",
"hls.js": "^1.5.11",
"inflection": "^3.0.0",
Expand Down Expand Up @@ -73,14 +73,14 @@
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
"@babel/plugin-transform-async-to-generator": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.23.3",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@babel/runtime": "^7.24.7",
"@creativebulma/bulma-divider": "^1.1.0",
"@creativebulma/bulma-tooltip": "^1.2.0",
"@elastic/elasticsearch-mock": "^2.0.0",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/client-preset": "^4.2.6",
"@graphql-codegen/client-preset": "^4.3.0",
"@graphql-typed-document-node/core": "^3.2.0",
"@nulib/dcapi-types": "^2.3.1",
"@nulib/prettier-config": "^1.2.0",
Expand Down Expand Up @@ -109,7 +109,7 @@
"react-dom": "^18.3.1",
"react-router-dom": "^5.3.0",
"react-router-prop-types": "^1.0.5",
"sass": "^1.77.4",
"sass": "^1.77.5",
"ts-node": "^10.9.2",
"typescript": "^5.4.2",
"use-phoenix-channel": "^1.1.1"
Expand Down
7 changes: 5 additions & 2 deletions app/config/releases.exs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,11 @@ config :meadow, Meadow.Scheduler,
overlap: false,
timezone: "America/Chicago",
jobs: [
# Runs daily at 2AM Central Time
{"0 2 * * *", {Meadow.Data.PreservationChecks, :start_job, []}}
# Runs daily at the configured time (default: 2AM Central)
{
aws_secret("meadow", dig: ["scheduler", "preservation_check"], default: "0 2 * * *"),
{Meadow.Data.PreservationChecks, :start_job, []}
}
]

config :ueberauth, Ueberauth,
Expand Down
7 changes: 5 additions & 2 deletions app/lib/meadow/search/index.ex
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,11 @@ defmodule Meadow.Search.Index do

defp embedding_model_name(model_id) do
case HTTP.get(["_plugins", "_ml", "models", model_id]) do
{:ok, %{status_code: 200, body: %{"name" => name}}} -> name
_ -> nil
{:ok, %{status_code: 200, body: %{"name" => name}}} ->
Regex.replace(~r[^.+/huggingface/], name, "")

_ ->
nil
end
end

Expand Down
2 changes: 1 addition & 1 deletion app/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Code.require_file("lib/env.ex")
defmodule Meadow.MixProject do
use Mix.Project

@app_version "9.3.8"
@app_version "9.3.9"

def project do
[
Expand Down
Loading

0 comments on commit 8de60ce

Please sign in to comment.