Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. May 16, 2022
  2. 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
  3. Jan 25, 2022
  4. Oct 05, 2021
  5. 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
  6. Aug 18, 2021
  7. Jul 30, 2021
  8. May 26, 2021
  9. May 14, 2021
  10. May 11, 2021
  11. Apr 04, 2021
  12. Mar 17, 2021
  13. Mar 12, 2021
  14. Feb 19, 2021
  15. 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
  16. Nov 23, 2020
  17. 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
  18. Oct 13, 2020
  19. 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
  20. 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
  21. Mar 04, 2020
  22. Feb 13, 2020
  23. Jun 24, 2019
  24. Jun 17, 2019
  25. Feb 22, 2019
  26. Jan 21, 2019
  27. Sep 19, 2018
  28. Sep 18, 2018
    • Ryan Senior's avatar
      Upgrade node version in packages.json and the Dockerfile [ci all] · 84c692a7
      Ryan Senior authored
      Using version 220 of `jest-localstorage-mock` required that we upgrade
      our version of NodeJS from our previous minimum of 6.11.3. To support
      that, this commit switches from the deprecated
      `java:openjdk-8-jdk-alpine` docker image to the newer
      `openjdk:8-jdk-alpine` image. This image is running Alpine version 3.8 which
      has NodeJS 8.11.4 in it's repository. This also bumps the minimum
      version of node in the packages.json file.
      84c692a7
  29. Aug 07, 2018
  30. Apr 19, 2018
  31. Jul 12, 2017
  32. Jan 30, 2017
  33. Oct 12, 2016
  34. Jul 01, 2016
  35. Apr 26, 2016
  36. Mar 23, 2016
  37. Nov 24, 2015
  38. Oct 25, 2015
Loading