This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Apr 29, 2024
-
-
Aleksandr Lesnenko authored
-
- Apr 26, 2024
-
-
Aleksandr Lesnenko authored
Co-authored-by:
Emmad Usmani <emmadusmani@berkeley.edu> Co-authored-by:
Adam James <adam.vermeer2@gmail.com> Co-authored-by:
Mark Bastian <markbastian@gmail.com> Co-authored-by:
Jesse Devaney <22608765+JesseSDevaney@users.noreply.github.com> Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com>
-
- Feb 01, 2024
-
-
Nemanja Glumac authored
-
Nemanja Glumac authored
* Upgrade `actions/download-artifact` action to v4 * Upgrade `actions/upload-artifact` action to v4
-
- Jan 31, 2024
-
-
Nemanja Glumac authored
-
- Nov 15, 2023
-
-
Nemanja Glumac authored
* Improve `uberjar.yml` workflow It previously didn't even run multi-arch job if not on `master`. There's no reason not to run this job. The trick is only to **not** push the changes to DockerHub, unless we're on the `master` branch.
-
- Nov 11, 2023
-
-
Noah Moss authored
-
- Nov 08, 2023
-
-
Noah Moss authored
Co-authored-by:
Ryan Laurie <iethree@gmail.com> Co-authored-by:
Luiz Arakaki <luiz.arakaki@metabase.com> Co-authored-by:
bryan <bryan.maass@gmail.com> Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com> Co-authored-by:
Ryan Laurie <30528226+iethree@users.noreply.github.com> Co-authored-by:
Nick Fitzpatrick <nick@metabase.com> Co-authored-by:
Nick Fitzpatrick <nickfitz.582@gmail.com> Co-authored-by:
Noah Moss <noahbmoss@gmail.com> Co-authored-by:
Case Nelson <case@metabase.com> Co-authored-by:
Jerry Huang <jhuang37050@gmail.com> Co-authored-by:
Bryan Maass <bryan.maass@gmail.com> Co-authored-by:
Jerry Huang <34140255+qwef@users.noreply.github.com> Co-authored-by:
adam-james <21064735+adam-james-v@users.noreply.github.com> Co-authored-by:
Adam James <adam.vermeer2@gmail.com> Co-authored-by:
John Swanson <john.swanson@metabase.com>
-
- Oct 27, 2023
-
-
Nemanja Glumac authored
* Stop caching the uberjar for E2E tests * Bring back SHA1 in an uberjar name * Adjust the download uberjar action * Fix uberjar name for percy
-
- May 30, 2023
-
-
Ariya Hidayat authored
-
- May 03, 2023
-
-
Ariya Hidayat authored
-
- Apr 28, 2023
-
-
Anton Kostenko authored
* Use regctl to push multi-arch image --------- Co-authored-by:
Luis Paolini <paoliniluis@gmail.com>
-
- Apr 13, 2023
-
-
Anton Kostenko authored
-
Anton Kostenko authored
* Build experimental multi-arch docker image (partially #13119)
-
- Apr 04, 2023
-
-
Luis Paolini authored
* Update uberjar.yml
-
- Mar 01, 2023
-
-
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
-
- Feb 26, 2023
-
-
Nemanja Glumac authored
-
- Feb 08, 2023
-
-
Cam Saul authored
-
- Jan 13, 2023
-
-
Nemanja Glumac authored
-
- Nov 29, 2022
-
-
Nemanja Glumac authored
-
Nemanja Glumac authored
* [CI] Trigger `uberjar` workflow manually * Do not make commit SHA input required * Continue building on push to `master` This will keep `metabase-head` and `metabase-enterprise-head` DockerHub repos working as they did before. * Simplify by removing references to `main` branch * Ignore unrelated paths for push on `master` branch
-
- Nov 16, 2022
-
-
Nemanja Glumac authored
-
- Nov 15, 2022
-
-
Nemanja Glumac authored
* Simplify filter glob pattern for frontend tests Take a look at the cheat sheet: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet '**/docs/**' matches `docs/hello.md` and `dir/docs/my-file.txt` * Ignore unrelated paths for `backend` workflow even in `master` * Ignore unrelated paths for `drivers` workflow even in `master` * Ignore clojure tests in E2E workflows * Increase the ignored paths scope for `uberjar` workflow
-
- Nov 08, 2022
-
-
Luis Paolini authored
* Updating GH actions versions * Included some linter fails by mistake
-
- Jun 24, 2022
-
-
Diogo Mendes authored
-
- May 17, 2022
-
-
Bryan Maass authored
* bumps outdated deps versions to be current * un-upgrade h2 and jetty * un-upgrade joda-time and kixi/stats * drop Java 8 support in circle CI config - things that used to rely on be-tests-java-8-ee now rely on be-tests-java-11-ee * remove java 8 from github health check matrix * revert toucan to 1.17.0 * revert mariadb java client to 2.7.5 * Back to 18, and handle new behavior toucan used to just look in *.models.<model-name> for models and just give up apparently. I made a feature that toucan will look in a model registry to create models rather than using the convention https://github.com/metabase/toucan/commit/762ad69defc1477423fa9423e9320ed318f7cfe7 but now we're getting errors in these tests about maps vs models. ```clojure revision_test.clj:154 Check that revisions+details pulls in user info and adds description expected: [#metabase.models.revision.RevisionInstance{:is_reversion false, :is_creation false, :message nil, :user {:id 1, :common_name "Rasta Toucan", :first_name "Rasta", :last_name "Toucan"}, :diff {:o1 nil, :o2 {:name "Tips Created by Day", :serialized true}}, :description nil}] actual: (#metabase.models.revision.RevisionInstance{:description nil, :is_creation false, :is_reversion false, :user {:id 1, :first_name "Rasta", :last_name "Toucan", :common_name "Rasta Toucan"}, :message nil, :diff {:o1 nil, :o2 #metabase.models.revision_test.FakedCardInstance{:name "Tips Created by Day", :serialized true}}}) ``` The only difference here is `:o2` is a `metabase.models.revision_test.FakedCardInstance` but still has the same keys, `:name`, and `:serialized`. So all is well, we're just able to make the model. So a few different fixes. Some are use `partial=` which doesn't care about record/map distinction. Some are just make the model, and some are turning them into maps for revision strings (which more closely mimics what the real revision stuff does): ```clojure (defn default-diff-map "Default implementation of `diff-map` which simply uses clojures `data/diff` function and sets the keys `:before` and `:after`." [_ o1 o2] (when o1 (let [[before after] (data/diff o1 o2)] {:before before :after after}))) (defn default-diff-str "Default implementation of `diff-str` which simply uses clojures `data/diff` function and passes that on to `diff-string`." [entity o1 o2] (when-let [[before after] (data/diff o1 o2)] (diff-string (:name entity) before after))) ``` So all in all this change impacts nothing in the app itself, because those models follow convention and are correct in `metabase.models.<model-name>` and are thus "modelified": ```clojure revision-test=> (revision/revisions Card 1) [#metabase.models.revision.RevisionInstance{:is_creation true, :model_id 1, :id 1, :is_reversion false, :user_id 2, :timestamp #object[java.time.OffsetDateTime "0x77e037f" "2021-10-28T15:10:19.828539Z"], :object #metabase.models.card.CardInstance {:description nil, :archived false, :collection_position nil, :table_id 5, :database_id 2, :enable_embedding false, :collection_id nil, :query_type :query, :name "ECVYUHSWQJYMSOCIFHQC", :creator_id 2, :made_public_by_id nil, :embedding_params nil, :cache_ttl 1234, :dataset_query {:database 2, :type :query, :query {:source-table 5, :aggregation [[:count]]}}, :id 1, :display :scalar, :visualization_settings {:global {:title nil}}, :dataset false, :public_uuid nil}, :message nil, :model "Card"}] ``` so the model/no-model is just arbitrary distinction in the test. All of them in the actual app are turned into models: ```clojure (defn- do-post-select-for-object "Call the appropriate `post-select` methods (including the type functions) on the `:object` this Revision recorded. This is important for things like Card revisions, where the `:dataset_query` property needs to be normalized when coming out of the DB." [{:keys [model], :as revision}] ;; in some cases (such as tests) we have 'fake' models that cannot be resolved normally; don't fail entirely in ;; those cases (let [model (u/ignore-exceptions (db/resolve-model (symbol model)))] (cond-> revision ;; this line would not find a model previously for FakedCard and ;; just return the map. But now the registry in toucan _finds_ the ;; model defintion and returns the model'd map model (update :object (partial models/do-post-select model))))) (u/strict-extend (class Revision) models/IModel (merge models/IModelDefaults {:types (constantly {:object :json}) :pre-insert pre-insert :pre-update (fn [& _] (throw (Exception. (tru "You cannot update a Revision!")))) :post-select do-post-select-for-object})) ``` * try using mssql-jdbc 10.2.1.jre11 - Important that we get off the jre8 version * various fixes that needn't be reverted * Revert "various fixes that needn't be reverted" This reverts commit 2a820db0743d0062eff63366ebe7bc78b852e81f. * go back to using circle ci's java 11 docker image * java-16 (?) -> java-17 * Revert "go back to using circle ci's java 11 docker image" This reverts commit b9b14c535a689f701d7e2541081164288c988c4e. Co-authored-by:
dan sutton <dan@dpsutton.com>
-
- May 03, 2022
-
-
Luis Paolini authored
-
Diogo Mendes authored
* Adding same logic to upload * Adding missing line
-
Diogo Mendes authored
* Add initial repo scan * Do not upload anything yet * Uploading now * Changing for docker image * Test on branch * Upload to github | ignore some directories | abort on new commit * Return to master branch * Removing space * Moving Trivy to uberjar.yml * Fixing `a step cannot have both the `uses` and `run` keys`
-
- Apr 01, 2022
-
-
Diogo Mendes authored
-
- Mar 31, 2022
-
-
Luis Paolini authored
-
- Mar 30, 2022
-
-
Diogo Mendes authored
* Downgrade download action version * Revert upload action
-
Luis Paolini authored
* Rebase * Adding maildev version copying Pawit's commit on this specific file
-
- Mar 25, 2022
-
-
Diogo Mendes authored
* Updating actions * [ci noskip] Changing ubuntu to latest lts as default * [ci noskip] Fix typo
-
Luis Paolini authored
-
Luis Paolini authored
* First commit * Reverting input deletion
-
- Mar 24, 2022
-
-
Diogo Mendes authored
-
- Mar 17, 2022
-
-
Luis Paolini authored
* Containerizing using the current release container process, as it's not only more representative, but also we use yarn and maven caching which should be faster * rebasing * Update uberjar.yml
-
- Mar 09, 2022
-
-
Diogo Mendes authored
* Create action for Uberjar * Fixing name * Adding shell bash to SHA * Adding shell on proper place * Adding one more shell
-