Граф коммитов

51 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] d78f65774d
chore(deps): bump node from 22.6-alpine to 20.9-alpine (#5010)
* chore(deps): bump node from 22.6-alpine to 22.7-alpine

Bumps node from 22.6-alpine to 22.7-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: version alignment

* Downgrade to Node LTS

* downgrade to LTS Node 20.9.0 and NPM 10.1.0

* downgrade to LTS Node 20.9.0 and NPM 10.1.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mansaj <jozhou@mozilla.com>
Co-authored-by: Robert Helmer <rhelmer@mozilla.com>
2024-09-10 09:40:08 -07:00
dependabot[bot] 4cf1c57913
chore(deps): bump node from 22.5-alpine to 22.6-alpine
Bumps node from 22.5-alpine to 22.6-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 11:21:37 +00:00
dependabot[bot] 8171a6ae04
chore(deps): bump node from 22.4-alpine to 22.5-alpine
Bumps node from 22.4-alpine to 22.5-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 15:55:34 +00:00
mansaj 20a7d58097
Revert "Revert "chore(deps): bump node from 22.3-alpine to 22.4-alpine" (#4833)"
This reverts commit 044902cb95.
2024-07-18 20:20:58 -07:00
mansaj 044902cb95
Revert "chore(deps): bump node from 22.3-alpine to 22.4-alpine" (#4833)
* Revert "bump to node 22.4.1 and npm 10.8.1"

This reverts commit 70269cccd3.

* Revert "chore(deps): bump node from 22.3-alpine to 22.4-alpine"

This reverts commit 53b00c772b.
2024-07-18 19:20:52 -07:00
dependabot[bot] 53b00c772b chore(deps): bump node from 22.3-alpine to 22.4-alpine
Bumps node from 22.3-alpine to 22.4-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-18 17:16:00 +00:00
Vincent e7261bc8ca Adopt .env.local file
This makes it clearer what variables actually need to be set
locally, and which have been forgotten. It also makes the build
simpler, by removing the need to copy the .env-dist file.

This should be safe to apply, since .env-dist already got loaded by
default, just like .env now is. And it is still the case that
actual environment variables overwrite the ones in the .env file.

For non-Next.js setups (e.g. cron jobs or database migrations), I
switched to dotenv-flow. The regular dotenv explicitly avoids
inheritance [1], because it wants environment variables to be
specific to an environment. That was already not the case with most
of our environment variables, so the switch makes sense for us.

Next steps could be to remove unused variables from .env, and
possibly moving variables with local/stage-specific values to
.env.local.example, though that riskier, since environments might
depend on those being present.

[1]
https://www.npmjs.com/package/dotenv#should-i-have-multiple-env-files
2024-07-09 10:58:25 +02:00
dependabot[bot] 117cb47b8e
Bump node from 22.2-alpine to 22.3-alpine
Bumps node from 22.2-alpine to 22.3-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-20 20:26:57 +00:00
dependabot[bot] 6c5e579e64
chore(deps): bump node from 20.12-alpine to 22.2-alpine
Bumps node from 20.12-alpine to 22.2-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 11:49:38 +00:00
Joey Zhou 4daec19ed1 ci: reverting to two docker files 2024-05-15 21:14:24 -07:00
Joey Zhou 51ed1c1ed2 feat: conditional run for db migrate 2024-05-15 15:27:21 -07:00
Joey Zhou ecc959aeae ci: use the same dockerfile 2024-05-15 14:56:42 -07:00
dependabot[bot] 9e7bd1b348
chore(deps): bump node from 20.12-alpine to 22.1-alpine
Bumps node from 20.12-alpine to 22.1-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 11:37:48 +00:00
dependabot[bot] 702e2ff5ba
chore(deps): bump node from 20.11-alpine to 20.12-alpine
Bumps node from 20.11-alpine to 20.12-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 11:30:20 +00:00
Robert Helmer 336c235aff
MNTOR-2985/fix deploy, remove pip from Dockerfile (#4241)
* latest docker image enforces externally-managed-environment
2024-02-23 16:02:05 -08:00
dependabot[bot] fbf9719e82
chore(deps): bump node from 20.9-alpine to 20.11-alpine
Bumps node from 20.9-alpine to 20.11-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 15:58:34 +01:00
Robert Helmer 3e91b91154
upload sentry sourcemaps (#4177) 2024-02-08 14:42:14 -08:00
Robert Helmer b9ebbb4afe
MNTOR-2832 - override GA4 debug mode in Dockerfile (#4098)
* MNTOR-2832 - override GA4 debug mode in Dockerfile
2024-01-29 09:42:34 -08:00
Vincent b0c2d7b967 Align on Node 20.9 everywhere
Something changed in how V8 measures coverage, it seems, because
running the tests in Node 20.10 results in <100% coverage. Among
the uncovered lines are some inside of `getLocale`, although
running specifically the `getLocale` tests results in full
coverage.

We didn't catch this in CI because CI didn't use the same Node
version as we do locally. This aligns CI and local versions, but
due to the above problem, on Node 20.9.
2023-12-12 17:50:27 +01:00
dependabot[bot] 214d7f81d2
chore(deps): bump node from 20.9-alpine to 20.10-alpine
Bumps node from 20.9-alpine to 20.10-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 11:08:02 +00:00
dependabot[bot] 7a4601a5cc
chore(deps): Bump node from 20.8-alpine to 20.9-alpine
Bumps node from 20.8-alpine to 20.9-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 11:57:12 +00:00
dependabot[bot] 1b52cd4ca2
chore(deps): Bump node from 20.5-alpine to 20.8-alpine
Bumps node from 20.5-alpine to 20.8-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 08:01:49 +00:00
dependabot[bot] 369ecf5a05
Bump node from 18.12-alpine to 20.5-alpine (#3295)
* Bump node from 18.12-alpine to 20.5-alpine

Bumps node from 18.12-alpine to 20.5-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* try bumping all the places to node 20.5

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raphael Okafor Jr <94625718+mozrokafor@users.noreply.github.com>
Co-authored-by: Robert Helmer <rhelmer@mozilla.com>
2023-10-12 21:34:33 -07:00
Robert Helmer a5fe8c87ca
MNTOR-2022/re-land glean.js (#3413)
* Revert "MNTOR-2022 - Revert glean js temporarily (#3379)"

This reverts commit 80f6aa841a.

* add requirements.txt so we can use Heroku Python buildback

* install Python in Dockerfile and override with Glean 2.0.2 options
2023-09-14 18:41:36 -07:00
Robert Helmer d2b95208a4
revert sharing volume with Cirrus container (#3302) 2023-08-11 13:14:51 -07:00
Robert Helmer 96824d3a43
add sample nimbus feature manifest and copy into shared Cirrus volume (#3298)
* add sample nimbus feature manifest and copy into shared Cirrus volume
2023-08-09 18:50:43 -07:00
Joey Zhou 851d530682 add env var to docker container build 2023-07-31 15:36:21 -07:00
mansaj fae90e0dbb
add build step in dockerfile (#3123)
* add build step

* review comments
2023-06-13 18:40:19 -07:00
Amri Toufali 4022fe86e1
fix deploy: dockerfile package.json path removed 2023-04-27 10:15:24 -07:00
Amri Toufali 9dc5095c5e
update src/node_modules permissions 2023-01-23 13:23:52 -08:00
Amri Toufali 4b181fdefd
copy src/package.json via dockerfile 2023-01-23 12:18:19 -08:00
Amri Toufali a086028152
docker run `npm start` to trigger V2 script 2023-01-23 11:18:50 -08:00
Amri Toufali 07bc245276
upgrade node from 16.17 to 18.12 2022-12-05 23:55:34 -08:00
dependabot[bot] 97ff8dc361
Bump node from 16.17.0-alpine to 16.17.1-alpine
Bumps node from 16.17.0-alpine to 16.17.1-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 11:38:44 +00:00
dependabot[bot] 8f0b9e6528
Bump node from 16.15-alpine to 16.17.0-alpine
Bumps node from 16.15-alpine to 16.17.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 11:28:07 +00:00
John Whitlock 8bf9509ff1
Add SENTRY_RELEASE to Docker image
Add the CIRCLE_TAG to the docker image as the SENTRY_RELEASE. If the
CircleCI build is for a tag, this will be set and Sentry issues will be
tagged by release.
2022-08-24 11:49:28 -05:00
Amri Toufali ba9a145e1f
update node to 16 and npm to 8 2022-06-21 22:02:30 -07:00
Amri Toufali 776f59cd72
fix CircleCI env-dist vars 2022-06-01 20:58:40 -07:00
Amri Toufali c29bfe3bc7
remove deprecated audit pkg and update npm scripts 2022-05-31 20:46:33 -07:00
Amri Toufali 84ad05ba69
remove Gulp and other obsolete packages 2022-05-28 15:57:27 -07:00
Amri Toufali 211d818a0a
refactor and restore dockerhub deploy flow (#2348) 2021-10-18 09:10:23 -07:00
Amri Toufali 3d24595060
Migrate Travis to CircleCI (#2310)
* add lints to circleci

* delete travis config

* add circleci orbs

* update images

* update dockerfile to allow dev build

* refactor unit-tests using machine host instead of docker

* set postgres user pass to enable docker connection

* remove .env-dist quotes in values (broken syntax)

* fix broken coveralls test

* update readme

* use `npm ci` instead of redundant `npm install`

* switch integration test network mode to `host`

* specify .env path for integration test

* update lockfile

* remove docker login and obsolete jobs
2021-10-15 11:58:00 -07:00
Amri Toufali 23d2f8596e
upgrade to Node 14 (#2244)
* add quotes to docker-compose port range vars

* upgrade to Node 14

* update CircleCI config to use Node 14

* upgrade dockerfiles to node 14

* update travis config for Node 14

* update npm package-lock

* upgrade node-postgres to resolve Knex error
- https://github.com/knex/knex/issues/3836

* bump Node to 14.17.5 for latest security release
- https://nodejs.org/en/blog/vulnerability/aug-2021-security-releases/

* pin Node to latest in v14
2021-08-13 13:41:31 -05:00
Benjamin Forehand Jr b19eff6d4a
Initial commit adding integration tests. (#1557)
* Initial commit adding integration tests.

* Fix test name.

* Adding package-lock.

* Some updates.

* More updates.

* Extend page comparison max to 9.99%

* Removed node assert statement.

* Updated baseline images and tests.

* Added docs, fixed docker configuration file.

* Updates.

* Update docker compose.

* Fix json error.

* Add comment to Dockerfile.

* Comment to trigger CI.

* Moved dependencies to allow for docker image build.

* Add restore command.

* Fix restore command.

* Change docker image.

* Add checkout command.

* Add java.

* Add node version install.

* Trying machine executor.

* Fix typo.:

* Remove old docker command.

* EVERYTHING IN ONE SHELL.

* Trying nvm.

* Fix typo.

* Fix node version...

* Fix typo.

* More node stuff.

* Updates to docker compose.

* Add chown to circleci config.

* Fix docker login error.

* Change exec command user.

* Add screenshots for debugging.

* Try fixing js command.

* Try fixing js command again.

* Change screenshot path

* Add mkdir for error shots.

* Trying something for postgres.

* Updates.

* Fix lint error.

* Try fixing errorshots.

* Updates before rebase.

* Updated baseline for new homepage.

* Remove baseline image save.

* Trying a change for errorshots.

* Update test.
2020-04-03 14:48:07 -05:00
Luke Crouch 9119316105 npm update during docker build 2019-12-13 16:44:40 -06:00
Luke Crouch 573ff381a6 chown during COPY 2019-12-02 15:55:54 -06:00
Luke Crouch 0c4688270c fix #887: un-pin node image to pick up bug-fixes 2019-12-02 13:53:41 -06:00
Luke Crouch c3a5b2a41b Update Dockerfile to node 10 alpine 2019-12-02 13:35:47 -06:00
Luke Crouch ffd6f9b778 fix #547: fix locale args to hbs helpers 2018-10-22 15:39:18 -05:00
Luke Crouch 9fb6342ae8 for #172: make npm and Docker use minifcation 2018-09-21 10:02:51 -05:00