Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Jul 24, 2023
  2. Jul 20, 2023
  3. Jul 17, 2023
    • Braden Shepherdson's avatar
      Use `:database` to check for a Mongo native query (#32393) · 7f1fe2fa
      Braden Shepherdson authored
      Previously this was done by checking if the FE had included
      `:collection "some_table"` on the native query, but that's been
      included for SQL queries lately, and broke "Explore Results".
      
      Includes new e2e tests: one for this issue itself, and another
      that the fix doesn't break real Mongo native queries.
      
      Fixes #32121.
      7f1fe2fa
  4. Jul 05, 2023
    • Nemanja Glumac's avatar
      Fix release workflow latest Docker tag adjustment (#32041) (#32072) · a54c580c
      Nemanja Glumac authored
      * Fix Docker `latest` tag logic in the release workflow
      
      As noted in #32036, the current logic doesn't account for the existence
      of the N+1 RC tag when the current release is N. In other words, it
      didn't promote `v1.46.6` to the latest Docker tag because it included
      `v1.47.0-RC1` in the list of the relevant tags it compares against.
      
      This PR fixes that and closes #32036.
      
      **Before:**
      ```
      Current version for v1.46.6 is {
        prefix: 'v1',
        feature: 46,
        maintenance: 6,
        build: NaN,
        isOSS: false,
        isEE: true,
        prerelease: false
      }
      
      Enumerating all git tag...
      Found total 414 tags
      
      Filtering for EE
      Found total 116 filtered tags
      
      Sorting tags to find the highest version numbers...
      Showing 20 tags with the highest versions...
           v1.47.0-RC1
           v1.47.0-RC2
      ---> v1.46.6
           v1.46.5
           v1.46.4
           v1.46.3
           v1.46.2
           v1.46.1
           v1.46.0
           v1.46.0-RC1
           v1.46.0-RC2
           v1.46.0-RC3
           v1.46.0-RC4
           v1.45.4
           v1.45.3.1
           v1.45.3
           v1.45.2.1
           v1.45.2
           v1.45.1
           v1.45.0
      
      The latest container image stays as v1.47.0-RC1
      There is no need to tag the v1.46.6 container image as latest.
      ```
      
      **After the fix:**
      ```
      Current version for v1.46.6 is {
        prefix: 'v1',
        feature: 46,
        maintenance: 6,
        build: NaN,
        isOSS: false,
        isEE: true,
        prerelease: false
      }
      
      Enumerating all git tags...
      Found total 430 tags
      
      Filtering for EE which excludes prerelease tags...
      Found total 94 filtered tags
      
      Sorting tags to find the highest version numbers...
      Showing 20 tags with the highest versions...
      ---> v1.46.6
           v1.46.5
           v1.46.4
           v1.46.3
           v1.46.2
           v1.46.1
           v1.46.0
           v1.45.4
           v1.45.3.1
           v1.45.3
           v1.45.2
           v1.45.1
           v1.45.0
           v1.44.7
           v1.44.6.1
           v1.44.6
           v1.44.5
           v1.44.4
           v1.44.3
           v1.44.2
      
      Thus, the container image for v1.46.6 must be marked as latest.
      ```
      
      [ci skip]
      a54c580c
  5. Jul 03, 2023
    • Nemanja Glumac's avatar
    • Nemanja Glumac's avatar
      556d0bb1
    • Nemanja Glumac's avatar
      Fix release workflow latest Docker tag adjustment (#32041) · 64707a89
      Nemanja Glumac authored
      * Fix Docker `latest` tag logic in the release workflow
      
      As noted in #32036, the current logic doesn't account for the existence
      of the N+1 RC tag when the current release is N. In other words, it
      didn't promote `v1.46.6` to the latest Docker tag because it included
      `v1.47.0-RC1` in the list of the relevant tags it compares against.
      
      This PR fixes that and closes #32036.
      
      **Before:**
      ```
      Current version for v1.46.6 is {
        prefix: 'v1',
        feature: 46,
        maintenance: 6,
        build: NaN,
        isOSS: false,
        isEE: true,
        prerelease: false
      }
      
      Enumerating all git tag...
      Found total 414 tags
      
      Filtering for EE
      Found total 116 filtered tags
      
      Sorting tags to find the highest version numbers...
      Showing 20 tags with the highest versions...
           v1.47.0-RC1
           v1.47.0-RC2
      ---> v1.46.6
           v1.46.5
           v1.46.4
           v1.46.3
           v1.46.2
           v1.46.1
           v1.46.0
           v1.46.0-RC1
           v1.46.0-RC2
           v1.46.0-RC3
           v1.46.0-RC4
           v1.45.4
           v1.45.3.1
           v1.45.3
           v1.45.2.1
           v1.45.2
           v1.45.1
           v1.45.0
      
      The latest container image stays as v1.47.0-RC1
      There is no need to tag the v1.46.6 container image as latest.
      ```
      
      **After the fix:**
      ```
      Current version for v1.46.6 is {
        prefix: 'v1',
        feature: 46,
        maintenance: 6,
        build: NaN,
        isOSS: false,
        isEE: true,
        prerelease: false
      }
      
      Enumerating all git tags...
      Found total 430 tags
      
      Filtering for EE which excludes prerelease tags...
      Found total 94 filtered tags
      
      Sorting tags to find the highest version numbers...
      Showing 20 tags with the highest versions...
      ---> v1.46.6
           v1.46.5
           v1.46.4
           v1.46.3
           v1.46.2
           v1.46.1
           v1.46.0
           v1.45.4
           v1.45.3.1
           v1.45.3
           v1.45.2
           v1.45.1
           v1.45.0
           v1.44.7
           v1.44.6.1
           v1.44.6
           v1.44.5
           v1.44.4
           v1.44.3
           v1.44.2
      
      Thus, the container image for v1.46.6 must be marked as latest.
      ```
      
      * Remove unnecessary whitespace
      
      [ci skip]
      64707a89
  6. Jun 29, 2023
  7. Jun 28, 2023
  8. Jun 21, 2023
  9. Jun 19, 2023
  10. Jun 17, 2023
  11. Jun 16, 2023
  12. Jun 14, 2023
  13. Jun 13, 2023
  14. Jun 12, 2023
  15. Jun 10, 2023
  16. Jun 09, 2023
  17. Jun 08, 2023
  18. Jun 07, 2023
  19. Jun 06, 2023
  20. Jun 02, 2023
    • Nemanja Glumac's avatar
      Backport pre release improvements 2nd part (#31305) · 2f778dc3
      Nemanja Glumac authored
      
      * CI pre-release: Add sanity check (#31202)
      
      * Pre-build the specific version and edition of MB (#31296)
      
      Simply invoking `.bin/build.sh` will produce the uberjar without a
      version. This is why @ariya created #30915 in the first place.
      
      But the build script already takes `:version` and `:edition` arguments.
      That is exactly what this PR is doing rather than manually unzipping the
      uberjar in order to tweak its `version.properties` file.
      
      ---------
      
      Co-authored-by: default avatarAriya Hidayat <ariya@metabase.com>
      2f778dc3
Loading