Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update way to migrate to s3 #667

Merged
merged 2 commits into from
Jan 20, 2025
Merged

feat: update way to migrate to s3 #667

merged 2 commits into from
Jan 20, 2025

Conversation

iNeoO
Copy link
Contributor

@iNeoO iNeoO commented Jan 3, 2025

No description provided.

Copy link

socket-security bot commented Jan 3, 2025

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@vao/shared@1.0.0 None 0 0 B
npm/@vee-validate/i18n@4.13.2 network 0 131 kB logaretm
npm/@vueform/multiselect@2.6.11 None 0 864 kB vueform
npm/dayjs@1.11.13 None 0 670 kB iamkun
npm/typescript@5.6.3 None 0 22.4 MB typescript-bot
npm/ufo@1.5.4 None 0 103 kB pi0
npm/vue-matomo@4.2.0 None 0 21.2 kB amazingdreams

🚮 Removed packages: npm/@ampproject/remapping@2.3.0, npm/@aws-crypto/crc32@5.2.0, npm/@aws-crypto/crc32c@5.2.0, npm/@aws-crypto/sha1-browser@5.2.0, npm/@aws-crypto/sha256-browser@5.2.0, npm/@aws-crypto/supports-web-crypto@5.2.0, npm/@aws-crypto/util@5.2.0, npm/@aws-sdk/client-s3@3.651.0, npm/@aws-sdk/client-s3@3.651.1, npm/@aws-sdk/client-sso-oidc@3.651.1, npm/@aws-sdk/client-sso@3.651.1, npm/@aws-sdk/client-sts@3.651.1, npm/@aws-sdk/core@3.651.1, npm/@aws-sdk/credential-provider-env@3.649.0, npm/@aws-sdk/credential-provider-http@3.649.0, npm/@aws-sdk/credential-provider-ini@3.651.1, npm/@aws-sdk/credential-provider-node@3.651.1, npm/@aws-sdk/credential-provider-process@3.649.0, npm/@aws-sdk/credential-provider-sso@3.651.1, npm/@aws-sdk/credential-provider-web-identity@3.649.0, npm/@aws-sdk/middleware-bucket-endpoint@3.649.0, npm/@aws-sdk/middleware-expect-continue@3.649.0, npm/@aws-sdk/middleware-flexible-checksums@3.651.1, npm/@aws-sdk/middleware-host-header@3.649.0, npm/@aws-sdk/middleware-location-constraint@3.649.0, npm/@aws-sdk/middleware-logger@3.649.0, npm/@aws-sdk/middleware-recursion-detection@3.649.0, npm/@aws-sdk/middleware-sdk-s3@3.651.1, npm/@aws-sdk/middleware-ssec@3.649.0, npm/@aws-sdk/middleware-user-agent@3.649.0, npm/@aws-sdk/region-config-resolver@3.649.0, npm/@aws-sdk/signature-v4-multi-region@3.651.1, npm/@aws-sdk/token-providers@3.649.0, npm/@aws-sdk/util-arn-parser@3.568.0, npm/@aws-sdk/util-endpoints@3.649.0, npm/@aws-sdk/util-locate-window@3.568.0, npm/@aws-sdk/util-user-agent-browser@3.649.0, npm/@aws-sdk/util-user-agent-node@3.649.0, npm/@aws-sdk/xml-builder@3.649.0, npm/@babel/core@7.25.2, npm/@babel/helper-compilation-targets@7.25.2, npm/@babel/helper-module-imports@7.24.7, npm/@babel/helper-module-transforms@7.25.2, npm/@babel/helper-simple-access@7.24.7, npm/@babel/helpers@7.25.6, npm/@babel/highlight@7.24.7, npm/@babel/plugin-syntax-async-generators@7.8.4, npm/@babel/plugin-syntax-bigint@7.8.3, npm/@babel/plugin-syntax-class-properties@7.12.13, npm/@babel/plugin-syntax-class-static-block@7.14.5, npm/@babel/plugin-syntax-import-attributes@7.25.6, npm/@babel/plugin-syntax-import-meta@7.10.4, npm/@babel/plugin-syntax-json-strings@7.8.3, npm/@babel/plugin-syntax-jsx@7.24.7, npm/@babel/plugin-syntax-logical-assignment-operators@7.10.4, npm/@babel/plugin-syntax-nullish-coalescing-operator@7.8.3, npm/@babel/plugin-syntax-numeric-separator@7.10.4, npm/@babel/plugin-syntax-object-rest-spread@7.8.3, npm/@babel/plugin-syntax-optional-catch-binding@7.8.3, npm/@babel/plugin-syntax-optional-chaining@7.8.3, npm/@babel/plugin-syntax-private-property-in-object@7.14.5, npm/@babel/plugin-syntax-top-level-await@7.14.5, npm/@babel/plugin-syntax-typescript@7.25.4, npm/@babel/template@7.25.0, npm/@babel/traverse@7.25.6, npm/@bcoe/v8-coverage@0.2.3, npm/@commitlint/cli@19.5.0, npm/@commitlint/config-conventional@19.5.0, npm/@eslint-community/eslint-utils@4.4.0, npm/@eslint/eslintrc@2.1.4, npm/@gouvfr/dsfr@1.12.1, npm/@humanwhocodes/config-array@0.13.0, npm/@humanwhocodes/module-importer@1.0.1, npm/@istanbuljs/load-nyc-config@1.1.0, npm/@jest/console@29.7.0, npm/@jest/core@29.7.0, npm/@jest/environment@29.7.0, npm/@jest/expect-utils@29.7.0, npm/@jest/expect@29.7.0, npm/@jest/fake-timers@29.7.0, npm/@jest/globals@29.7.0, npm/@jest/reporters@29.7.0, npm/@jest/schemas@29.6.3, npm/@jest/source-map@29.6.3, npm/@jest/test-result@29.7.0, npm/@jest/test-sequencer@29.7.0, npm/@jest/transform@29.7.0, npm/@jest/types@29.6.3, npm/@jridgewell/gen-mapping@0.3.5, npm/@jridgewell/trace-mapping@0.3.25, npm/@nodelib/fs.scandir@2.1.5, npm/@nodelib/fs.stat@2.0.5, npm/@nodelib/fs.walk@1.2.8, npm/@nuxt/devtools@1.4.2, npm/@nuxt/eslint-config@0.5.7, npm/@pinia/nuxt@0.5.4, npm/@playwright/test@1.47.0, npm/@samk-dev/nuxt-vcalendar@1.0.4, npm/@sinonjs/commons@3.0.1, npm/@sinonjs/fake-timers@10.3.0, npm/@smithy/abort-controller@3.1.4, npm/@smithy/chunked-blob-reader-native@3.0.0, npm/@smithy/chunked-blob-reader@3.0.0, npm/@smithy/config-resolver@3.0.8, npm/@smithy/core@2.4.3, npm/@smithy/credential-provider-imds@3.2.3, npm/@smithy/eventstream-codec@3.1.5, npm/@smithy/eventstream-serde-browser@3.0.9, npm/@smithy/eventstream-serde-config-resolver@3.0.6, npm/@smithy/eventstream-serde-node@3.0.8, npm/@smithy/eventstream-serde-universal@3.0.8, npm/@smithy/fetch-http-handler@3.2.7, npm/@smithy/hash-blob-browser@3.1.5, npm/@smithy/hash-node@3.0.6, npm/@smithy/hash-stream-node@3.1.5, npm/@smithy/invalid-dependency@3.0.6, npm/@smithy/is-array-buffer@3.0.0, npm/@smithy/md5-js@3.0.6, npm/@smithy/middleware-content-length@3.0.8, npm/@smithy/middleware-stack@3.0.6, npm/@smithy/node-http-handler@3.2.2, npm/@smithy/querystring-builder@3.0.6, npm/@smithy/querystring-parser@3.0.6, npm/@smithy/service-error-classification@3.0.6, npm/@smithy/signature-v4@4.1.3, npm/@smithy/util-base64@3.0.0, npm/@smithy/util-body-length-browser@3.0.0, npm/@smithy/util-body-length-node@3.0.0, npm/@smithy/util-config-provider@3.0.0, npm/@smithy/util-defaults-mode-browser@3.0.18, npm/@smithy/util-defaults-mode-node@3.0.18, npm/@smithy/util-endpoints@2.1.2, npm/@smithy/util-hex-encoding@3.0.0, npm/@smithy/util-uri-escape@3.0.0, npm/@smithy/util-utf8@3.0.0, npm/@smithy/util-waiter@3.1.5, npm/@socialgouv/eslint-config-recommended@1.131.0, npm/@types/babel__core@7.20.5, npm/@types/babel__generator@7.6.8, npm/@types/babel__template@7.4.4, npm/@types/babel__traverse@7.20.6, npm/@types/graceful-fs@4.1.9, npm/@types/istanbul-lib-coverage@2.0.6, npm/@types/istanbul-lib-report@3.0.3, npm/@types/istanbul-reports@3.0.4, npm/@types/node@22.5.5, npm/@types/stack-utils@2.0.3, npm/@types/yargs-parser@21.0.3, npm/@types/yargs@17.0.33, npm/@typescript-eslint/scope-manager@5.62.0, npm/@typescript-eslint/typescript-estree@5.62.0, npm/@typescript-eslint/utils@5.62.0, npm/@typescript-eslint/visitor-keys@5.62.0, npm/@ungap/structured-clone@1.2.0, npm/acorn-jsx@5.3.2, npm/ajv@6.12.6, npm/ansi-escapes@4.3.2, npm/anymatch@3.1.3, npm/array-buffer-byte-length@1.0.1, npm/array-includes@3.1.8, npm/array.prototype.flat@1.3.2, npm/arraybuffer.prototype.slice@1.0.3, npm/available-typed-arrays@1.0.7, npm/babel-jest@29.7.0, npm/babel-plugin-istanbul@6.1.1, npm/babel-plugin-jest-hoist@29.6.3, npm/babel-preset-current-node-syntax@1.1.0, npm/babel-preset-jest@29.6.3, npm/balanced-match@1.0.2, npm/bowser@2.11.0, npm/braces@3.0.3, npm/browserslist@4.23.3, npm/bser@2.1.1, npm/callsites@3.1.0, npm/chalk@4.1.2, npm/cli-cursor@5.0.0, npm/cli-truncate@4.0.0, npm/cliui@8.0.1, npm/co@4.6.0, npm/collect-v8-coverage@1.0.2, npm/color-convert@2.0.1, npm/color-name@1.1.4, npm/colorette@2.0.19, npm/concat-map@0.0.1, npm/create-jest@29.7.0, npm/cross-spawn@7.0.3, npm/data-view-buffer@1.0.1, npm/data-view-byte-length@1.0.1, npm/data-view-byte-offset@1.0.0, npm/dedent@1.5.3, npm/deep-is@0.1.4, npm/define-data-property@1.1.4, npm/dir-glob@3.0.1, npm/emittery@0.13.1, npm/environment@1.1.0, npm/error-ex@1.3.2, npm/es-object-atoms@1.0.0, npm/es-set-tostringtag@2.0.3, npm/es-shim-unscopables@1.0.2, npm/es-to-primitive@1.2.1, npm/escalade@3.2.0, npm/eslint-config-prettier@8.6.0, npm/eslint-import-resolver-node@0.3.9, npm/eslint-module-utils@2.11.0, npm/eslint-plugin-import@2.26.0, npm/eslint-plugin-jest@27.2.3, npm/eslint-plugin-prettier@4.2.1, npm/eslint-plugin-simple-import-sort@8.0.0, npm/eslint-plugin-sort-keys-fix@1.1.2, npm/eslint@8.57.1, npm/esm@3.2.25, npm/espree@6.2.1, npm/esquery@1.6.0, npm/esrecurse@4.3.0, npm/esutils@2.0.3, npm/execa@5.1.1, npm/exit@0.1.2, npm/expect@29.7.0, npm/fast-glob@3.3.2, npm/fast-json-stable-stringify@2.1.0, npm/fast-levenshtein@2.0.6, npm/fast-xml-parser@4.4.1, npm/fastq@1.17.1, npm/fb-watchman@2.0.2, npm/file-entry-cache@6.0.1, npm/fill-range@7.1.1, npm/find-up@5.0.0, npm/flat-cache@3.2.0, npm/for-each@0.3.3, npm/fs.realpath@1.0.0, npm/function.prototype.name@1.1.6, npm/get-caller-file@2.0.5, npm/get-east-asian-width@1.2.0, npm/get-intrinsic@1.2.4, npm/get-package-type@0.1.0, npm/get-symbol-description@1.0.2, npm/getopts@2.3.0, npm/glob@7.2.3, npm/globalthis@1.0.4, npm/globby@11.1.0, npm/graphemer@1.4.0, npm/hasown@2.0.2, npm/ignore-by-default@1.0.1, npm/import-fresh@3.3.0, npm/import-local@3.2.0, npm/imurmurhash@0.1.4, npm/inflight@1.0.6, npm/inherits@2.0.4, npm/internal-slot@1.0.7, npm/interpret@2.2.0, npm/is-array-buffer@3.0.4, npm/is-arrayish@0.2.1, npm/is-bigint@1.0.4, npm/is-binary-path@2.1.0, npm/is-boolean-object@1.1.2, npm/is-core-module@2.15.1, npm/is-data-view@1.0.1, npm/is-date-object@1.0.5, npm/is-extglob@2.1.1, npm/is-fullwidth-code-point@3.0.0, npm/is-generator-fn@2.1.0, npm/is-negative-zero@2.0.3, npm/is-number-object@1.0.7, npm/is-number@7.0.0, npm/is-regex@1.1.4, npm/is-string@1.0.7, npm/is-symbol@1.0.4, npm/is-typed-array@1.1.13, npm/is-weakref@1.0.2, npm/istanbul-lib-instrument@6.0.3, npm/istanbul-lib-report@3.0.1, npm/istanbul-lib-source-maps@4.0.1, npm/istanbul-reports@3.1.7, npm/jest-changed-files@29.7.0, npm/jest-circus@29.7.0, npm/jest-cli@29.7.0, npm/jest-config@29.7.0, npm/jest-diff@29.7.0, npm/jest-docblock@29.7.0, npm/jest-each@29.7.0, npm/jest-environment-node@29.7.0, npm/jest-haste-map@29.7.0, npm/jest-leak-detector@29.7.0, npm/jest-matcher-utils@29.7.0, npm/jest-message-util@29.7.0, npm/jest-mock@29.7.0, npm/jest-pnp-resolver@1.2.3, npm/jest-regex-util@29.6.3, npm/jest-resolve-dependencies@29.7.0, npm/jest-resolve@29.7.0, npm/jest-runner@29.7.0, npm/jest-runtime@29.7.0, npm/jest-snapshot@29.7.0, npm/jest-util@29.7.0, npm/jest-validate@29.7.0, npm/jest-watcher@29.7.0, npm/jest-worker@29.7.0, npm/jest@29.7.0, npm/js-tokens@4.0.0, npm/js-yaml@4.1.0, npm/json-buffer@3.0.1, npm/json-parse-even-better-errors@2.3.1, npm/json-stable-stringify-without-jsonify@1.0.1, npm/keyv@4.5.4, npm/knex@3.1.0, npm/leven@3.1.0, npm/levn@0.4.1, npm/lilconfig@3.1.2, npm/lines-and-columns@1.2.4, npm/lint-staged@15.2.10, npm/listr2@8.2.4, npm/locate-path@6.0.0, npm/lodash.merge@4.6.2, npm/log-update@6.1.0, npm/make-dir@4.0.0, npm/makeerror@1.0.12, npm/merge-stream@2.0.0, npm/micromatch@4.0.8, npm/mimic-fn@2.1.0, npm/mimic-function@5.0.1, npm/natural-compare@1.4.0, npm/node-int64@0.4.0, npm/nodemon@3.1.5, npm/object.assign@4.1.5, npm/object.values@1.2.0, npm/once@1.4.0, npm/onetime@5.1.2, npm/optionator@0.9.4, npm/p-limit@3.1.0, npm/p-locate@5.0.0, npm/parent-module@1.0.1, npm/parse-json@5.2.0, npm/path-is-absolute@1.0.1, npm/path-key@3.1.1, npm/pg-cloudflare@1.1.1, npm/pg-connection-string@2.6.2, npm/pg-int8@1.0.1, npm/pg-pool@3.7.0, npm/pg-protocol@1.7.0, npm/pg-query-stream@4.7.1, npm/pg-types@2.2.0, npm/pg@8.12.0, npm/pgpass@1.0.5, npm/picocolors@1.1.0, npm/pidtree@0.6.0, npm/pkg-dir@4.2.0, npm/postgres-array@2.0.0, npm/postgres-bytea@1.0.0, npm/postgres-date@1.0.7, npm/postgres-interval@1.2.0, npm/prelude-ls@1.2.1, npm/prettier-linter-helpers@1.0.0, npm/pretty-format@29.7.0, npm/prompts@2.4.2, npm/pstree.remy@1.1.8, npm/punycode@2.3.1, npm/pure-rand@6.1.0, npm/queue-microtask@1.2.3, npm/rechoir@0.8.0, npm/regexp.prototype.flags@1.5.2, npm/require-directory@2.1.1, npm/resolve-cwd@3.0.0, npm/resolve-from@5.0.0, npm/resolve.exports@2.0.2, npm/resolve@1.22.8, npm/restore-cursor@5.1.0, npm/reusify@1.0.4, npm/rfdc@1.4.1, npm/rimraf@3.0.2, npm/run-parallel@1.2.0, npm/safe-array-concat@1.1.2, npm/safe-regex-test@1.0.3, npm/set-function-length@1.2.2, npm/set-function-name@2.0.2, npm/shebang-command@2.0.0, npm/shebang-regex@3.0.0, npm/side-channel@1.0.6, npm/simple-update-notifier@2.0.0, npm/slice-ansi@5.0.0, npm/source-map-support@0.5.13, npm/split2@4.2.0, npm/stack-utils@2.0.6, npm/string-argv@0.3.2, npm/string-length@4.0.2, npm/string.prototype.trim@1.2.9, npm/string.prototype.trimend@1.0.8, npm/string.prototype.trimstart@1.0.8, npm/strip-final-newline@2.0.0, npm/strnum@1.0.5, npm/supports-color@7.2.0, npm/synckit@0.9.1, npm/tarn@3.0.2, npm/test-exclude@6.0.0, npm/text-table@0.2.0, npm/tildify@2.0.0, npm/tmpl@1.0.5, npm/to-fast-properties@2.0.0, npm/to-regex-range@5.0.1, npm/touch@3.1.1, npm/tsconfig-paths@3.15.0, npm/tsutils@3.21.0, npm/type-detect@4.0.8, npm/typed-array-buffer@1.0.2, npm/typed-array-byte-length@1.0.1, npm/typed-array-byte-offset@1.0.2, npm/typed-array-length@1.0.6, npm/unbox-primitive@1.0.2, npm/undefsafe@2.0.5, npm/undici-types@6.19.8, npm/update-browserslist-db@1.1.0, npm/uri-js@4.4.1, npm/uuid@9.0.1, npm/v8-to-istanbul@9.3.0, npm/walker@1.0.8, npm/which-boxed-primitive@1.0.2, npm/word-wrap@1.2.5, npm/wrap-ansi@7.0.0, npm/wrappy@1.0.2, npm/write-file-atomic@4.0.2, npm/y18n@5.0.8, npm/yargs@17.7.2

View full report↗︎

packages/backend/package.json Show resolved Hide resolved
packages/migrations/src/scripts/migrate-files-to-s3.js Outdated Show resolved Hide resolved
packages/shared/src/utils/file.js Outdated Show resolved Hide resolved
packages/backend/src/controllers/documents/upload.js Outdated Show resolved Hide resolved
packages/backend/src/controllers/documents/upload.js Outdated Show resolved Hide resolved
packages/backend/src/routes/documents.js Show resolved Hide resolved
@iNeoO iNeoO force-pushed the feat/migration-s3 branch from 65e2357 to f2d1766 Compare January 16, 2025 14:41
@iNeoO iNeoO force-pushed the feat/migration-s3 branch from f2d1766 to d7c7cd2 Compare January 16, 2025 14:56
@iNeoO iNeoO force-pushed the feat/migration-s3 branch from d7c7cd2 to feecb0e Compare January 16, 2025 15:01
@iNeoO iNeoO force-pushed the feat/migration-s3 branch from feecb0e to d598020 Compare January 16, 2025 15:07
@iNeoO iNeoO force-pushed the feat/migration-s3 branch from d598020 to 9d47a7e Compare January 16, 2025 15:13
@iNeoO iNeoO force-pushed the feat/migration-s3 branch from 9d47a7e to 4fd3180 Compare January 16, 2025 15:20
Copy link

@tokenbureau
Copy link

tokenbureau bot commented Jan 20, 2025

🎉 Deployment for commit 225fd5a :

Ingresses
Docker images
  • 📦 docker pull harbor.fabrique.social.gouv.fr/vao/vao/backend:sha-225fd5aba40ab8cf83a6c5da381674a9005f778a
  • 📦 docker pull harbor.fabrique.social.gouv.fr/vao/vao/frontend-bo:sha-225fd5aba40ab8cf83a6c5da381674a9005f778a
  • 📦 docker pull harbor.fabrique.social.gouv.fr/vao/vao/frontend-usagers:sha-225fd5aba40ab8cf83a6c5da381674a9005f778a
  • 📦 docker pull harbor.fabrique.social.gouv.fr/vao/vao/migrations:sha-225fd5aba40ab8cf83a6c5da381674a9005f778a
  • 📦 docker pull maildev/maildev:2.1.0
Debug

@iNeoO iNeoO merged commit 7e5e509 into main Jan 20, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants