-
Notifications
You must be signed in to change notification settings - Fork 138
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
Update node 20, add codecov #1195
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
f607049
Adding codecov uploading to github and buildkite with monorepo flags
MichaelGHSeg 8a50072
Trying command line arguments
MichaelGHSeg 59da6f4
Another attempt
MichaelGHSeg 9ba5baa
Using segment codecov uploader possibly?
MichaelGHSeg a599898
Excepting backwards compatibility test from coverage due to jest errors
MichaelGHSeg 75f302d
Fixing logic from local testing
MichaelGHSeg 866d24e
Specifying directory per package and using buildkite for upload
MichaelGHSeg f8f033a
More codecov fixes
MichaelGHSeg ddf268c
Changing how coverage is initialized
MichaelGHSeg 9daabe5
Adding an intiial codecov config
MichaelGHSeg b4f5751
Updating *cough* old browser coverage thresholds
MichaelGHSeg eded328
removing custom buildkite image
MichaelGHSeg 3b9f86c
Adding new standard image.
MichaelGHSeg e2e9080
wip
silesky bbe57f9
update readme
silesky fdbe666
wip
silesky d98f018
wip
silesky 75f2acc
wip
silesky 06ba479
wip
silesky 69bfaa4
downgrade consent integration tests
silesky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,5 @@ | ||
FROM 528451384384.dkr.ecr.us-west-2.amazonaws.com/buildkite-agent-node16:node-16.16 | ||
FROM 528451384384.dkr.ecr.us-west-2.amazonaws.com/buildkite-agent-node20 | ||
|
||
# 2. Install WebKit dependencies | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
libwoff1 \ | ||
libopus0 \ | ||
libwebp6 \ | ||
libwebpdemux2 \ | ||
libenchant1c2a \ | ||
libgudev-1.0-0 \ | ||
libsecret-1-0 \ | ||
libhyphen0 \ | ||
libgdk-pixbuf2.0-0 \ | ||
libegl1 \ | ||
libnotify4 \ | ||
libxslt1.1 \ | ||
libevent-2.1-6 \ | ||
libgles2 \ | ||
libvpx5 \ | ||
libxcomposite1 \ | ||
libatk1.0-0 \ | ||
libatk-bridge2.0-0 \ | ||
libepoxy0 \ | ||
libgtk-3-0 \ | ||
libharfbuzz-icu0 | ||
|
||
# 3. Install gstreamer and plugins to support video playback in WebKit. | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
libgstreamer-gl1.0-0 \ | ||
libgstreamer-plugins-bad1.0-0 \ | ||
gstreamer1.0-plugins-good \ | ||
gstreamer1.0-libav | ||
|
||
# 4. Install Chromium dependencies | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
libnss3 \ | ||
libxss1 \ | ||
libasound2 \ | ||
fonts-noto-color-emoji \ | ||
libxtst6 | ||
|
||
# 5. Install Firefox dependencies | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
libdbus-glib-1-2 \ | ||
libxt6 | ||
|
||
# 6. Install ffmpeg to bring in audio and video codecs necessary for playing videos in Firefox. | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
ffmpeg | ||
|
||
# 7. (Optional) Install XVFB if there's a need to run browsers in headful mode | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
xvfb | ||
RUN npx playwright install-deps | ||
|
||
ENTRYPOINT [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
# Buildkite setup | ||
|
||
## Dockerfile.agent | ||
|
||
Builds the base image that is used by analytics-next in CI. | ||
# Buildkite | ||
|
||
## How to update the buildkite docker agent | ||
1. Make your changes to `Dockerfile.agent`. | ||
2. Push the changes to ecr | ||
(will need `Ops Write` permission). | ||
```bash | ||
$ robo docker.login-privileged | ||
$ cd .buildkite | ||
$ robo-tooling.docker.login-privileged | ||
$ make agent | ||
``` | ||
|
||
## .pipeline | ||
|
||
Full buildkite configuration. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
16.16 | ||
20.9.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
coverage: | ||
status: | ||
project: | ||
default: | ||
target: auto | ||
threshold: 0% | ||
base: auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"scripts" | ||
], | ||
"engines": { | ||
"node": "^16.16.0" | ||
"node": "^20" | ||
}, | ||
"scripts": { | ||
"test": "jest", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ | |
}, | ||
"devDependencies": { | ||
"@internal/config": "0.0.0", | ||
"@types/node": "^16", | ||
"@types/node": "^18", | ||
"axios": "^1.6.2" | ||
}, | ||
"packageManager": "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/sh | ||
# Clear build artifacts and build cache | ||
|
||
find . \( -name ".turbo" -o -name "dist" -o -name ".next" -o -name "tsconfig.tsbuildinfo" \) ! -path "*/node_modules/*" -print0 | xargs -0 rm -rf | ||
find . \( -name ".turbo" -o -name "dist" -o -name ".next" -o -name "tsconfig.tsbuildinfo" -o -name "coverage" \) ! -path "*/node_modules/*" -print0 | xargs -0 rm -rf | ||
rm -rf node_modules/.cache | ||
|
||
echo "Build files and cache deleted." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
"packageManager": "[email protected]", | ||
"devDependencies": { | ||
"@node-kit/yarn-workspace-root": "^3.2.0", | ||
"@types/node": "^16", | ||
"@types/node": "^20", | ||
"ts-node": "^10.8.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typescript error that didn't appear until updating nodejs