Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Nov 13, 2024
  2. Nov 12, 2024
    • Cam Saul's avatar
      Switch to Java 21 (#48854) · b1ad9a1a
      Cam Saul authored
      
      * Try snowflake 3.19.0
      
      * Deafault to java 21 for drivers
      
      * Trigger CI
      
      * Try running things with --add-opens to see if it solves our problems
      
      * Fix `update-view-dashboard-timestamp-test`
      
      * Try snowflake 3.19.0
      
      * Deafault to java 21 for drivers
      
      * Try running things with --add-opens to see if it solves our problems
      
      * Fix `update-view-dashboard-timestamp-test`
      
      * Update deps.edn
      
      * Switch to Java 21
      
      * Docker image needs to use --add-opens option
      
      * Add note about change to Java 21 to driver changelog
      
      ---------
      
      Co-authored-by: default avatarNemanja <31325167+nemanjaglumac@users.noreply.github.com>
      Co-authored-by: default avatarLuis Paolini <paoliniluis@gmail.com>
      Unverified
      b1ad9a1a
  3. Jul 19, 2024
  4. Jan 31, 2024
  5. Dec 05, 2023
  6. Nov 15, 2023
  7. Nov 14, 2023
  8. Jun 29, 2023
  9. Jun 20, 2023
  10. May 29, 2023
  11. Mar 31, 2023
  12. Mar 01, 2023
    • Cam Saul's avatar
      Build script overhaul 2023 (#28767) · 3c980639
      Cam Saul authored
      * Build Script overhaul
      
      * Remove stray deps.edn
      
      * Include :ci profile for build and release tests
      
      * Fix release script
      
      * Update markdown dox
      
      * Update another dox
      
      * Tweakz
      
      * Don't pin new version of data.xml to core project, just for build scripts
      
      * Ignore unrecognized options
      
      * Fix i18n/enumerate
      Unverified
      3c980639
  13. Jan 27, 2023
  14. Jan 05, 2023
    • dpsutton's avatar
      Cache and deps fixes (#27509) · fe512959
      dpsutton authored
      * upgrade clojure cli version
      
      * bump clojure cli in dockerfile
      
      * use expanded cache paths
      
      * list cache contents
      
      * ls repository
      
      * enumerate m2 cache
      
      * remove count of cached dirs
      
      * restore `~` in cache paths
      
      * Revert "remove count of cached dirs"
      
      This reverts commit e768912b31075c7b19b4a3ccdb66c0248ea06c87.
      
      * Revert "Revert "remove count of cached dirs""
      
      This reverts commit 9eeaff2190d78714770d8ec9f64b015c75085876.
      
      * trailing slash seems harmless but unnecessary
      Unverified
      fe512959
  15. Jan 03, 2023
  16. May 16, 2022
  17. Feb 08, 2022
    • Luis Paolini's avatar
      Fix locking in new Alpine release container (#20298) · 860ef3fa
      Luis Paolini authored
      * Fix locking in new Alpine release container
      Seems like the new Alpine container (3.15) has some issue when doing apk upgrade first which ends up erroring out the process, so moving it to the last part of the process (after installing the packages) makes the trick.
      You can test it out by using the current process (errors with a "Unable to lock database: temporary error (try again later)") and the one in this branch which will finish successfully
      Unverified
      860ef3fa
  18. Jan 25, 2022
  19. Oct 05, 2021
  20. Oct 04, 2021
    • Ariya Hidayat's avatar
      Rename NODE_ENV to WEBPACK_BUNDLE (#18087) · 3a67ddc1
      Ariya Hidayat authored
      NODE_ENV interferes with other tools (e.g. `yarn` won't pull
      devDependencies). Since what we need is only a flag indicating Webpack
      to bundle for production vs developement, invent our own env.
      
      This also solves the mystery of unable to call `yarn build` in the build
      script `bin/build-mb/src/build.clj`.
      Unverified
      3a67ddc1
  21. Aug 18, 2021
  22. Jul 30, 2021
  23. May 26, 2021
  24. May 14, 2021
  25. May 11, 2021
  26. Apr 04, 2021
  27. Mar 17, 2021
  28. Mar 12, 2021
  29. Feb 19, 2021
  30. Jan 29, 2021
    • Luis Paolini's avatar
      Trim packages and update (#14585) · c61172cd
      Luis Paolini authored
      * Trim packages and update
      
      - Removed the make and wget dependency
      - Made the release container to auto-update
      - Adds are now a curl in a single command to reduce intermediate images
      - consecutive run commands into 1 line
      - ENVs to 1 line to reduce intermediate images
      
      * Update the docker file for the releases
      Unverified
      c61172cd
  31. Nov 23, 2020
  32. Nov 06, 2020
    • Cam Saul's avatar
      Mega build script improvements (#13638) · cfa6bf84
      Cam Saul authored
      * Mega build script improvements
      
      * Look for project.clj to determine root directory since we delete .git on CI for speed
      
      * If .git folder is missing (i.e., in CI) fail gracefully
      
      * Don't need to generate version file to run Cypress tests, right?
      
      * Build uberjar step can cache version.properties
      (so the Cypress test steps don't need to generate it again)
      
      * Flush caches
      
      * Update uberjar cache key
      Unverified
      cfa6bf84
  33. Oct 13, 2020
  34. May 26, 2020
    • Cam Saul's avatar
      Fix DockerHub build & better Pulse render error logging (#12543) · c66ef98d
      Cam Saul authored
      * Change font registration to run on first Pulse PNG render rather than at launch.
          * This will improve startup times slightly :rocket:. 
          * This was causing DockerHub builds for `metabase-head` to fail 
      because the stage 1 "builder" image did not have `ttf-dejavu` and `fontconfig` installed (the builder was running in to #12223).
           * This will resolve issues discussed in #12223 where Metabase fails to launch when running on a "headless" JVM Docker image (i.e., one without AWT libraries) or when we run into the infamous font issues. We still won't be able to render Pulses, but Metabase without Pulses is slightly preferable to no Metabase at all
      *  Improved error messages & logging when Pulse rendering fails. Unfortunately, if the AWT classes are unavailable/broken in the JVM there is no way we can render Pulses given our current reliance on it. The best we can do is explain the situation and point people in the right direction. The new error message explains the situation and points people to #7986 for more details and workarounds.  As such, I am going to close #7986 because we cannot fix the underlying issue itself so the best we do is handle it better.
      *  Refactor tests in `metabase.api.pulse-test`
      *  Add tests for `GET /api/pulse/preview_card/:id`
      *  Include entire Exception chain in 500 responses
      *  Fix font registration logic not cleaning up `InputStream`s when done with them, wasting memory
      *  Minor Dockerfile tweaks
      c66ef98d
  35. May 14, 2020
    • Cam Saul's avatar
      Fix DockerHub build & better Pulse render error logging (#12543) · ffd0b0ea
      Cam Saul authored
      * Change font registration to run on first Pulse PNG render rather than at launch.
          * This will improve startup times slightly :rocket:. 
          * This was causing DockerHub builds for `metabase-head` to fail 
      because the stage 1 "builder" image did not have `ttf-dejavu` and `fontconfig` installed (the builder was running in to #12223).
           * This will resolve issues discussed in #12223 where Metabase fails to launch when running on a "headless" JVM Docker image (i.e., one without AWT libraries) or when we run into the infamous font issues. We still won't be able to render Pulses, but Metabase without Pulses is slightly preferable to no Metabase at all
      *  Improved error messages & logging when Pulse rendering fails. Unfortunately, if the AWT classes are unavailable/broken in the JVM there is no way we can render Pulses given our current reliance on it. The best we can do is explain the situation and point people in the right direction. The new error message explains the situation and points people to #7986 for more details and workarounds.  As such, I am going to close #7986 because we cannot fix the underlying issue itself so the best we do is handle it better.
      *  Refactor tests in `metabase.api.pulse-test`
      *  Add tests for `GET /api/pulse/preview_card/:id`
      *  Include entire Exception chain in 500 responses
      *  Fix font registration logic not cleaning up `InputStream`s when done with them, wasting memory
      *  Minor Dockerfile tweaks
      Unverified
      ffd0b0ea
  36. Mar 04, 2020
  37. Feb 13, 2020
  38. Jun 24, 2019
Loading