Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. 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
      860ef3fa
  2. Jan 25, 2022
  3. Oct 05, 2021
  4. 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`.
      3a67ddc1
  5. Aug 18, 2021
  6. Jul 30, 2021
  7. May 26, 2021
  8. May 14, 2021
  9. May 11, 2021
  10. Apr 04, 2021
  11. Mar 17, 2021
  12. Mar 12, 2021
  13. Feb 19, 2021
  14. 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
      c61172cd
  15. Nov 23, 2020
  16. 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
      cfa6bf84
  17. Oct 13, 2020
  18. 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
  19. 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
      ffd0b0ea
  20. Mar 04, 2020
  21. Feb 13, 2020
  22. Jun 24, 2019
  23. Jun 17, 2019
  24. Feb 22, 2019
  25. Jan 21, 2019
  26. Sep 19, 2018
  27. 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
  28. Aug 07, 2018
  29. Apr 19, 2018
  30. Jul 12, 2017
  31. Jan 30, 2017
  32. Oct 12, 2016
  33. Jul 01, 2016
  34. Apr 26, 2016
  35. Mar 23, 2016
  36. Nov 24, 2015
  37. Oct 25, 2015
Loading