Skip to content

Mola #5

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

Open
wants to merge 1,392 commits into
base: bpwatch
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1392 commits
Select commit Hold shift + click to select a range
4cebba1
add Node 15 tests and download scripts
Jan 28, 2021
c868da0
make heroku-20 the current stack and heroku-18 the deprecated stack
Jan 28, 2021
2bbc026
make Node 14 the default version
Jan 28, 2021
ae7ae15
add Node 15 specs
Jan 28, 2021
39fa6fe
update Node plugins
Jan 28, 2021
be3b8a0
update CHANGELOG
Jan 28, 2021
8b08b4b
remove travis env vars; update plugins again
Jan 28, 2021
54bf313
update node plugins
Feb 1, 2021
5d785fe
Merge pull request #895 from heroku/add-node-15
danielleadams Feb 1, 2021
f0ddb4a
log the build time before the build fails (#896)
danielleadams Feb 2, 2021
4817e09
add 15.8.0 to Node inventory (#897)
danielleadams Feb 3, 2021
98d9073
release v183 (#898)
danielleadams Feb 3, 2021
7cc47c5
change the product tag for GUS tickets (#900)
danielleadams Feb 9, 2021
752f1d5
prune yarn devDependencies at the end of build (#891)
danielleadams Feb 10, 2021
6933e1c
swap a dependency with a failure script
Feb 11, 2021
f949185
remove unneeded deps in tests
Feb 11, 2021
031c65e
clean up node versions for tests and add all metrics supported tests
Feb 11, 2021
1a1a7f6
continue updating tests for lagging node versions and unused dependen…
Feb 11, 2021
231af75
replace heroku package with more lightweight
Feb 11, 2021
4405a5d
fix mismatching npm + node versions
Feb 11, 2021
79f61cb
fix test with devdependencies missing
Feb 11, 2021
6ffb5c5
Merge pull request #903 from heroku/fix-some-tests
danielleadams Feb 11, 2021
b4e845a
add 10.23.3 and 14.5.5 to inventory
Feb 10, 2021
b751dcc
add 12.x
Feb 11, 2021
1660cf2
Merge pull request #902 from heroku/update-inventory
danielleadams Feb 11, 2021
2935101
fix return value for detecting yarn workspace plugin
Feb 26, 2021
fd3d41c
use built in yarn command
Feb 26, 2021
70af836
Merge pull request #905 from heroku/bug/fix-yarn-prune
danielleadams Feb 26, 2021
74bb294
Prefer local packages when present in cache
geoffharcourt Nov 4, 2020
818938d
create CHANGELOG release for v184
May 20, 2021
9339e59
Merge pull request #916 from heroku/release-v184
danielleadams May 20, 2021
0272d77
Drop Heroku-16 from CI test matrix
edmorley May 27, 2021
3f4c594
Merge pull request #920 from heroku/edmorley/rm-heroku-16-testing
danielleadams May 27, 2021
338cf9b
Tests: Use the correct value for STACK during integration tests (#921)
edmorley May 27, 2021
5ed109b
remove @danielleadams from buildpack README
May 27, 2021
1b9a117
Merge pull request #922 from heroku/rm-tweet-handle
danielleadams Jun 1, 2021
db67c64
add plugin for Node 16
Jun 1, 2021
76c21b3
Merge pull request #923 from heroku/release-node-16-plugin
danielleadams Jun 2, 2021
30f4721
release v185
Jun 3, 2021
23572a2
Merge pull request #924 from heroku/release-v185
danielleadams Jun 3, 2021
8770f1b
fix double local var def in bound_memory
dzuelke Mar 19, 2021
1c1c5ca
split WEB_CONCURRENCY validation from calculation
dzuelke Mar 19, 2021
52a8d7f
warn_high_web_concurrency, no more duplicate bounds check
dzuelke Jul 1, 2021
d3b484a
Merge pull request #931 from heroku/refactor-web-concurrency
dzuelke Jul 1, 2021
a50567d
Update shunit2
joshwlewis Aug 9, 2021
a8028eb
Use assertContains from shunit2 for unit tests
joshwlewis Aug 9, 2021
96b628a
Update node, bower, jQuery for ancient, failing fixture
joshwlewis Aug 10, 2021
4ded7fc
Add yarn 1.22.11 to yarn version cache
joshwlewis Aug 11, 2021
ed02061
Be less specific about yarn version resolution tests
joshwlewis Aug 11, 2021
ebd83e3
Drop assertContains and assertNotContains. These are provided by shunit2
joshwlewis Aug 11, 2021
77c5efe
Use regex to match against minor and patch level during resolution
joshwlewis Aug 11, 2021
2cc5895
Update node inventory
joshwlewis Aug 11, 2021
49f4806
Re-introduce node resolve-version tests, with less specificity on min…
joshwlewis Aug 11, 2021
49df608
Update changelog with test fixes and updates
joshwlewis Aug 11, 2021
4e478c9
Merge pull request #934 from heroku/jwl/update-shunit2
joshwlewis Aug 11, 2021
ddd8ebf
Update changelog for v186
joshwlewis Aug 11, 2021
908b595
Fix NODE_BINARY_URL extraction
djmarcin Jun 22, 2021
9937029
Merge pull request #935 from heroku/jwl/release-v186
joshwlewis Aug 12, 2021
8eaa64d
Merge branch 'main' into fix-custom-url
joshwlewis Aug 12, 2021
39e4b17
Merge pull request #928 from djmarcin/fix-custom-url
joshwlewis Aug 12, 2021
3c2f5f8
Merge branch 'main' into prefer-offline
geoffharcourt Aug 31, 2021
79871cc
Upgrade to latest hatchet (7.3.4)
joshwlewis Sep 1, 2021
5adfe72
Add retry_interval and logging to help with successful_deploy errors
joshwlewis Sep 1, 2021
f704ca4
Add changelog entry for hatchet upgrade
joshwlewis Sep 1, 2021
cd6ecdf
Merge pull request #936 from heroku/jwl/upgrade-hatchet
joshwlewis Sep 1, 2021
c041510
Corrects tiny typo in conflicting lockfile failure message
BigAlUK Aug 13, 2021
c84260f
Move changelog entry
edmorley Aug 31, 2021
45f5120
Merge pull request #901 from BigAlUK/tiny_typo
joshwlewis Sep 1, 2021
5eed950
Update changelog check to be skippable
joshwlewis Sep 1, 2021
d61da4e
Merge pull request #937 from heroku/jwl/update-check-changelog
joshwlewis Sep 1, 2021
dc6e23c
Merge branch 'main' into prefer-offline
joshwlewis Sep 1, 2021
61a2c2c
add support for running "npm ci" when "npm-shrinkwrap.json" is found …
fjorgemota Feb 4, 2021
b16a707
Update changelog for #913
geoffharcourt Sep 1, 2021
b44600c
Merge pull request #913 from commonlit/prefer-offline
joshwlewis Sep 1, 2021
900cd1c
Merge branch 'main' into main
joshwlewis Sep 1, 2021
5b3fac9
Merge pull request #938 from fjorgemota/main
joshwlewis Sep 1, 2021
3ff2d26
Prepare v187 release
joshwlewis Sep 2, 2021
6335e29
Merge pull request #939 from heroku/release-v187
joshwlewis Sep 2, 2021
d92962a
Always use local yarn cache with yarn 2
brandonchinn178 Jan 7, 2021
0d910b8
Update CHANGELOG.md
brandonchinn178 Jan 23, 2021
5c733ce
Merge pull request #888 from brandonchinn178/main
joshwlewis Sep 8, 2021
8f720a0
Update node inventory to include previously truncated versions
joshwlewis Sep 9, 2021
ff81d5a
Add changelog entry for updated inventory
joshwlewis Sep 9, 2021
b3edf9d
Merge pull request #940 from heroku/jwl/update-node-inventory-pages
joshwlewis Sep 9, 2021
21a6d7e
Prepare release v188
joshwlewis Sep 9, 2021
4c419b5
Merge pull request #941 from heroku/release-v188
joshwlewis Sep 9, 2021
3532eb5
Update changelog release date for v188
edmorley Sep 13, 2021
314a783
Merge pull request #942 from heroku/edmorley/changelog-v188
joshwlewis Sep 13, 2021
86fcc85
Revert "Always use local yarn cache with yarn 2"
joshwlewis Sep 14, 2021
512a2ef
Add changelog entry for 888 revert
joshwlewis Sep 14, 2021
05cece9
Merge pull request #944 from heroku/revert-888-main
joshwlewis Sep 14, 2021
699fd14
Prepare release v189
joshwlewis Sep 14, 2021
083bccc
Merge pull request #945 from heroku/release-v189
joshwlewis Sep 14, 2021
2993213
Add Yarn 1.22.1{2,3,4,5} to inventory/yarn.toml (#947)
edmorley Oct 4, 2021
ff5859b
Add Dependabot config (#946)
edmorley Oct 4, 2021
f7b3677
Bump github.com/stretchr/testify from 1.3.0 to 1.7.0 (#950)
dependabot[bot] Oct 4, 2021
bbdfac4
Remove unused parallel_tests gem & refresh Gemfile.lock (#953)
edmorley Oct 4, 2021
c7a3e20
Bump actions/checkout from 2.3.4 to 2.3.5 (#955)
dependabot[bot] Oct 17, 2021
83f3262
Update node and yarn inventory
joshwlewis Dec 14, 2021
f47bc34
Merge pull request #966 from heroku/jwl/update-inventory
joshwlewis Dec 14, 2021
f2ded7b
Bump actions/checkout from 2.3.5 to 2.4.0
dependabot[bot] Dec 14, 2021
a4a029a
Merge pull request #960 from heroku/dependabot/github_actions/actions…
joshwlewis Dec 14, 2021
b9baa76
Bump rspec-expectations from 3.10.1 to 3.10.2 (#970)
dependabot[bot] Jan 14, 2022
ddedbb6
Update default node version to 16.x
joshwlewis Jan 28, 2022
c9a13d1
Add changelog entry for default 16.x
joshwlewis Jan 28, 2022
d4032bc
Test against supported node versions
joshwlewis Jan 28, 2022
a3857be
Update node and yarn inventories
joshwlewis Jan 28, 2022
3fe582f
Merge pull request #973 from heroku/jwl/default-nodejs-16
joshwlewis Jan 28, 2022
8204a89
Merge branch 'main' into jwl/update-inventory-jan22
joshwlewis Jan 31, 2022
d18c0f8
Merge pull request #974 from heroku/jwl/update-inventory-jan22
joshwlewis Jan 31, 2022
c753166
Use .yarn/cache for the cache for all yarn pnp installs
joshwlewis Feb 1, 2022
3940e95
Don't use --immutable-cache when .yarn/cache is restored from heroku …
joshwlewis Feb 1, 2022
357617b
Document v190 release
joshwlewis Feb 2, 2022
1ec9c65
Update v190 release date
joshwlewis Feb 2, 2022
83741aa
Allow YARN_CACHE_FOLDER to be overridden
joshwlewis Feb 2, 2022
7d93bc7
Refactor pnp nonzero install for readability
joshwlewis Feb 2, 2022
e8f6f47
Add a yarn pnp zero install example
joshwlewis Feb 3, 2022
214714e
Update changelog for pnp nonzero installs
joshwlewis Feb 3, 2022
add674f
Update yarn-pnp-zero-install example
joshwlewis Feb 3, 2022
53cd8ff
set NODE_MODULES_CACHE=false when testing pnp zero-install
joshwlewis Feb 3, 2022
c960694
Fix pnp spec syntax error
joshwlewis Feb 3, 2022
a63e1e3
Use correct ENV var for pnp spec
joshwlewis Feb 3, 2022
075c31a
Add tests for pnp nonzero install
joshwlewis Feb 3, 2022
8c64f1e
Don't empty cache when saving it in pnp modes
joshwlewis Feb 4, 2022
44c90ec
Test pnp nonzero install cache reuse
joshwlewis Feb 4, 2022
5a7aeb3
Don't set NODE_MODULES_CACHE=false when testing caching
joshwlewis Feb 4, 2022
501a890
Don't drop the yarn cache if pushed
joshwlewis Feb 4, 2022
f945b69
Update zero-install test to prove it doesn't cache
joshwlewis Feb 4, 2022
7027301
Check that yarn cache is not empty
joshwlewis Feb 4, 2022
9ee5751
Fix test syntax errors
joshwlewis Feb 4, 2022
f0eafa2
Add missing sem
joshwlewis Feb 4, 2022
a3e8188
Fix first deploy expectations
joshwlewis Feb 4, 2022
6994e80
adjust cache not empty calculation
joshwlewis Feb 4, 2022
3a38aed
Merge pull request #977 from heroku/jwl/release-v190
joshwlewis Feb 7, 2022
76fa321
Move yarn-pnp specs to yarn 2
joshwlewis Feb 7, 2022
a8068b9
s/yarn_pnp/yarn2
joshwlewis Feb 7, 2022
45d1b04
Add a spec for yarn 2 using node_modules nonzero install
joshwlewis Feb 7, 2022
c8e493f
Update fixture lockfiles after renames
joshwlewis Feb 7, 2022
bc33290
Stop warning about NODE_MODULES_CACHE=true with yarn 2; it's supporte…
joshwlewis Feb 7, 2022
90b0bae
Add spec for yarn2 modules with zero install
joshwlewis Feb 7, 2022
0c9a8da
Track usage of immutable cache
joshwlewis Feb 7, 2022
3014d6b
Track metrics on yarn-2 operation modes
joshwlewis Feb 7, 2022
3630f56
Merge branch 'main' into jwl/yarn-pnp-nonzero
joshwlewis Feb 7, 2022
dd1a8f8
Bump rspec-expectations from 3.10.2 to 3.11.0 (#980)
dependabot[bot] Feb 10, 2022
d8ee60e
Merge branch 'main' into jwl/yarn-pnp-nonzero
joshwlewis Feb 10, 2022
7b053c7
Merge pull request #978 from heroku/jwl/yarn-pnp-nonzero
joshwlewis Feb 10, 2022
d6d7406
Prepare v191 release
joshwlewis Feb 14, 2022
48d9595
Merge pull request #984 from heroku/joshwlewis/prepare-v191
joshwlewis Feb 14, 2022
1a8f4c3
Replace yarn cache rather than nest it
joshwlewis Feb 16, 2022
4b057c5
Update changelog to include note about yarn cache growth
joshwlewis Feb 16, 2022
6c2109e
Merge pull request #985 from heroku/yarn-cache-replace-target
joshwlewis Feb 16, 2022
f4e7ee2
Fix additional occurrence of yarn cache nesting (#987)
joshwlewis Feb 16, 2022
3fe3841
Prepare v192 for release (#986)
joshwlewis Feb 16, 2022
4f32fcf
Prune devDependencies for Yarn 2
colincasey Mar 15, 2022
924b7bc
Added changelog entry
colincasey Mar 15, 2022
8d0502a
Merge pull request #990 from heroku/fix/918_yarn_dev_dependency_pruning
colincasey Mar 23, 2022
c14724d
Added inventory entry for yarn 1.22.18
colincasey Mar 28, 2022
1b5b790
Added inventory entry for yarn 1.22.18
colincasey Mar 28, 2022
d069744
Merge pull request #992 from heroku/fix/update_yarn_inventory
colincasey Mar 28, 2022
cebabdb
Merged changelog entries before publishing buildpack
colincasey Mar 28, 2022
f0175ef
Merge pull request #993 from heroku/fix/update_changelog_for_release
colincasey Mar 28, 2022
52cf70c
Revert changes introduced in #990
colincasey Mar 30, 2022
66aa7b0
Merge pull request #994 from heroku/revert/v193_yarn_dependency_pruning
colincasey Mar 30, 2022
2ff6de1
feat: set xtrace if $BUILDPACK_XTRACE set
josegonzalez Jun 17, 2021
8f964fc
Bump actions/checkout from 2.4.0 to 3 (#989)
dependabot[bot] Apr 4, 2022
b02199b
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#991)
dependabot[bot] Apr 4, 2022
6d421ae
Merge branch 'main' into patch-1
colincasey Apr 5, 2022
5968fe0
Merge pull request #925 from josegonzalez/patch-1
colincasey Apr 5, 2022
461abc0
Fixing up the changelog after merging #925
colincasey Apr 5, 2022
d448274
Merge pull request #997 from heroku/fix/update_changelog_for_v195
colincasey Apr 5, 2022
2c0566d
Set permissions for GitHub actions (#998)
naveensrinivasan Apr 11, 2022
8afcc90
Log exact installed npm version (#995)
johanholmerin Apr 11, 2022
8398783
Prune devDependencies for Yarn 2
colincasey Apr 12, 2022
e3618f5
Prune devDependencies for Yarn 2
colincasey Apr 12, 2022
388b537
Prune devDependencies for Yarn 2
colincasey Apr 12, 2022
908c2f6
Prune devDependencies for Yarn 2
colincasey Apr 13, 2022
e867fef
Prune devDependencies for Yarn 2
colincasey Apr 13, 2022
6c84d17
Prune devDependencies for Yarn 2
colincasey Apr 13, 2022
83aa0de
Merge pull request #999 from heroku/fix/918_yarn_dev_dependency_pruni…
colincasey Apr 13, 2022
123baaa
Enable devDependency pruning for Yarn 2
colincasey May 18, 2022
3d058ee
Enable devDependency pruning for Yarn 2
colincasey May 18, 2022
3b6a939
Update CHANGELOG.md
colincasey May 19, 2022
c497cb2
Update CHANGELOG.md
colincasey May 26, 2022
e496d9c
Merge pull request #1001 from heroku/ccasey/fully_enable_yarn2_pruning
colincasey May 26, 2022
91e821f
Add Heroku-22 to the CI test matrix (#1003)
edmorley May 26, 2022
d53f03e
Add Node.js 17 and 18 support (#1002)
joshwlewis May 26, 2022
590ed15
Update CHANGELOG.md before publishing v196
colincasey May 31, 2022
da8c7ef
Fixed broken link in README.md
colincasey May 31, 2022
b71e33b
Merge pull request #1005 from heroku/ccasey/changelog_v196
colincasey May 31, 2022
cac568e
Drop yarn-native-cache feature (#1004)
joshwlewis Jun 1, 2022
34b2aad
Fix for skipping pruning with Yarn 2 (#1008)
colincasey Jun 3, 2022
5917461
Fix for npm ci caching (#1009)
colincasey Jun 3, 2022
a64a260
Update CHANGELOG.md for v197 release (#1012)
colincasey Jun 7, 2022
b008ed3
Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#1011)
dependabot[bot] Jun 9, 2022
b882fc4
Switch away from deprecated path-based S3 URLs (#1013)
edmorley Jun 13, 2022
fb8a1b7
Remove optional `jq` install step (#1016)
edmorley Jun 13, 2022
7881511
Adjust curl retry and connection timeout handling (#1017)
edmorley Jun 13, 2022
99d84a8
Release v198 (#1018)
edmorley Jun 15, 2022
5b8a09d
Bump got from 11.8.3 to 11.8.5 in /yarn2-plugins/prune-dev-dependenci…
dependabot[bot] Sep 6, 2022
6c81817
Update Node.js inventory (#1034)
joshwlewis Sep 26, 2022
6504bba
Support GitHub Actions in etc scripts (#1033)
joshwlewis Sep 26, 2022
33bdd8b
Bump rspec-expectations from 3.11.0 to 3.11.1 (#1031)
dependabot[bot] Sep 29, 2022
2db2647
Remove dependency on semver.herokuapp.com (#1037)
edmorley Oct 3, 2022
688a25e
Release v199 (#1038)
edmorley Oct 3, 2022
39eba31
Convert heroku/heroku-buildpack-nodejs to GitHub Actions (#1036)
mgomes Oct 11, 2022
776cb06
Dependency pruning support for Yarn 2, 3, and 4 (#1040)
colincasey Oct 18, 2022
aacce02
Reduce Dependabot frequency to monthly (#1042)
edmorley Oct 19, 2022
e2488d6
Release of #1040 (#1044)
colincasey Oct 19, 2022
ef0ed63
Change the default Node.js to 18.x (#1045)
joshwlewis Oct 19, 2022
75e9081
Add support for Node 19 (#1046)
joshwlewis Oct 19, 2022
95daf18
Prepare v201 (#1047)
joshwlewis Oct 19, 2022
3b91e2f
Update to go 1.19 and recompile (#1050)
joshwlewis Nov 3, 2022
9a0fa64
Bump github.com/stretchr/testify from 1.7.2 to 1.8.1 (#1049)
dependabot[bot] Nov 10, 2022
221ed07
Bump rspec-expectations from 3.11.1 to 3.12.0 (#1048)
dependabot[bot] Nov 10, 2022
b16e5b8
Allow yarn version selection for yarn berry projects (#1060)
joshwlewis Feb 10, 2023
e4452dd
Bump heroku_hatchet from 7.3.4 to 8.0.1 (#1062)
dependabot[bot] Mar 2, 2023
3ee6bf4
Add a scheduled Hatchet app cleaner workflow (#1065)
edmorley Mar 2, 2023
d3a9fc5
Use inventory-based version resolver from heroku/nodejs CNB (#1061)
joshwlewis Mar 3, 2023
e833305
Bump json5 from 2.2.1 to 2.2.3 in /yarn2-plugins/prune-dev-dependenci…
dependabot[bot] Mar 3, 2023
042015e
Bump http-cache-semantics in /yarn2-plugins/prune-dev-dependencies (#…
dependabot[bot] Mar 3, 2023
b496d60
Bump rspec-expectations from 3.12.0 to 3.12.2 (#1057)
dependabot[bot] Mar 3, 2023
7485da8
Simplify version resolver make target (#1067)
joshwlewis Mar 3, 2023
e249859
Add node 18.15.0 and yarn 4.0.0-rc.40 to inventory (#1069)
colincasey Mar 9, 2023
ef9d7a4
Release v205 (#1070)
colincasey Mar 13, 2023
995e962
Add inventory update automation (#1071)
joshwlewis Mar 21, 2023
aca6bbe
Update Inventory for heroku/nodejs-yarn (#1072)
github-actions[bot] Mar 22, 2023
53d665d
Update Inventory for heroku/nodejs-engine (#1073)
github-actions[bot] Mar 22, 2023
a9b6317
Fix changelog substitution and PR titles/descriptions (#1074)
joshwlewis Mar 24, 2023
5233504
Prepare v206 release (#1075)
joshwlewis Mar 24, 2023
7a44a33
Update yarn inventory automation to expect main, not unreleased in th…
joshwlewis Mar 29, 2023
7818b14
Update Inventory for heroku/nodejs yarn (#1076)
github-actions[bot] Mar 31, 2023
c10d052
Update Inventory for heroku/nodejs engine (#1078)
github-actions[bot] Apr 3, 2023
4199a56
Release v207 (#1080)
colincasey Apr 3, 2023
1e96e2d
Bump heroku_hatchet from 8.0.1 to 8.0.2 (#1079)
dependabot[bot] Apr 3, 2023
fef5b87
Update Inventory for heroku/nodejs engine (#1081)
github-actions[bot] Apr 11, 2023
fc83689
Prepare release v208 (#1082)
joshwlewis Apr 11, 2023
4ff11a7
Update Inventory for heroku/nodejs engine (#1083)
github-actions[bot] Apr 14, 2023
e4a8a28
Prepare v209 release (#1085)
joshwlewis Apr 17, 2023
85326bf
Update Inventory for heroku/nodejs engine (#1086)
github-actions[bot] Apr 19, 2023
a0ab6fc
Prepare v210 Release (#1088)
colincasey Apr 20, 2023
91cd268
Updates metrics plugins and tests for Node 20 (#1087)
colincasey Apr 20, 2023
701cc0a
Drop all references and special casing for heroku-18 (#1093)
joshwlewis May 8, 2023
c221384
Update Inventory for heroku/nodejs yarn (#1091)
github-actions[bot] May 8, 2023
b93cdbf
Update Inventory for heroku/nodejs engine (#1092)
github-actions[bot] May 9, 2023
c7faa15
Prepare v212 release (#1094)
joshwlewis May 9, 2023
85c4f3e
Update Inventory for heroku/nodejs yarn (#1096)
github-actions[bot] May 23, 2023
954b8c3
Update Inventory for heroku/nodejs engine (#1095)
github-actions[bot] May 23, 2023
4ae446b
Prepare v213 release (#1098)
joshwlewis May 24, 2023
7ea9b3d
Bring it up to date with latest version
karlbecker May 26, 2023
9ac6454
Merge pull request #4 from thirdiron/feature/upgrade-to-latest
karlbecker May 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .git2gus/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"productTag": "a1aB0000000MR0MIAW",
"issueTypeLabels": {
"gus: story": "USER STORY",
"gus: bug": "BUG P4",
"gus: investigation": "INVESTIGATION P4"
},
"defaultBuild": "Heroku Unscheduled",
"statusWhenClosed": "CLOSED"
}
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @heroku/languages
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: danielleadams

---

<!-- Thanks for reporting a bug! If you are using Cloud Native Buildpacks, please [go here](https://github.com/heroku/nodejs-engine-buildpack/issues) and report the Issue. Any error that has `heroku_nodejs-engine` in the stack trace is using the Cloud Native Buildpacks. Thanks! -->

**Describe the bug**
A clear and concise description of what the bug is. Please include what the expected behavior is, and log output if you have it.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Versions (please complete the following information):**
- Heroku Stack: [e.g. `heroku-20`]
- Node Version: [e.g. `15.0.0`]
- NPM or Yarn Version: [e.g. `Yarn 1.22.10`]
- Buildpack Version: [e.g. `heroku/nodejs v175`] (We will try to do our best to support you, but please note that we can only provide support for the latest release of the buildpack.)

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Enhancement request
about: Suggest an enhancement for this project
title: ''
labels: enhancement
assignees: danielleadams

---

**Is your enhancement request related to a problem? Please describe.**
A clear and concise description of what the problem is.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "monthly"
25 changes: 25 additions & 0 deletions .github/workflows/check_changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Check Changelog

on:
pull_request:
types: [opened, reopened, edited, labeled, unlabeled, synchronize]

permissions:
contents: read

jobs:
check-changelog:
runs-on: ubuntu-latest
if: |
!contains(github.event.pull_request.body, '[skip changelog]') &&
!contains(github.event.pull_request.body, '[changelog skip]') &&
!contains(github.event.pull_request.body, '[skip ci]') &&
!contains(github.event.pull_request.labels.*.name, 'skip changelog') &&
!contains(github.event.pull_request.labels.*.name, 'dependencies') &&
!contains(github.event.pull_request.labels.*.name, 'automation')
steps:
- uses: actions/checkout@v3
- name: Check that CHANGELOG is touched
run: |
git fetch origin ${{ github.base_ref }} --depth 1 && \
git diff remotes/origin/${{ github.base_ref }} --name-only | grep CHANGELOG.md
58 changes: 58 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: CI

on:
push:
branches: ["main"]
pull_request:

permissions:
contents: read

jobs:

unit-test:
runs-on: ubuntu-22.04
container:
image: heroku/heroku:${{ matrix.stack_number }}-build
strategy:
matrix:
stack_number: ["20", "22"]
env:
STACK: heroku-${{ matrix.stack_number }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Unit tests on heroku:${{ matrix.stack_number }}-build
run: test/unit

functional-test:
runs-on: ubuntu-22.04
container:
image: heroku/heroku:${{ matrix.stack_number }}-build
strategy:
matrix:
stack_number: ["20", "22"]
env:
STACK: heroku-${{ matrix.stack_number }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Functional tests on heroku:${{ matrix.stack_number }}-build
run: test/run

hatchet-test:
runs-on: ubuntu-22.04
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
HEROKU_API_USER: ${{ secrets.HEROKU_API_USER }}
HATCHET_EXPENSIVE_MODE: "1"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Ruby and gems
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
- name: Run hatchet tests
run: make hatchet
31 changes: 31 additions & 0 deletions .github/workflows/hatchet_app_cleaner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Hatchet app cleaner

on:
schedule:
# Daily at 6am UTC.
- cron: "0 6 * * *"
# Allow the workflow to be manually triggered too.
workflow_dispatch:

permissions:
contents: read

jobs:
hatchet-app-cleaner:
runs-on: ubuntu-latest
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
HEROKU_API_USER: ${{ secrets.HEROKU_API_USER }}
HEROKU_DISABLE_AUTOUPDATE: 1
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Ruby and dependencies
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: "2.7"
- name: Run Hatchet destroy
# Only apps older than 10 minutes are destroyed, to ensure that any
# in progress CI runs are not interrupted.
run: bundle exec hatchet destroy --older-than 10
62 changes: 62 additions & 0 deletions .github/workflows/inventory.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Update Inventory
on:
workflow_dispatch:
schedule:
- cron: '00 4 * * 1-5'

jobs:
update-nodejs-inventory:
name: Update Node.js Engine Inventory
runs-on: pub-hk-ubuntu-22.04-small
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Install Rust Toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install Rust Inventory Binaries
run: cargo install heroku-nodejs-utils --bin diff_versions --bin list_versions --git https://github.com/heroku/buildpacks-nodejs
- id: set-diff-msg
name: Set Diff Message
run: echo "::set-output name=msg::$(diff_versions node inventory/node.toml)"
- name: Rebuild Inventory
run: "list_versions node > inventory/node.toml"
- name: Update Changelog
run: echo "${{ steps.set-diff-msg.outputs.msg }}" | xargs -r -I '{}' perl -i -p -e 's/## main\s+/## main\n\n- {}/' CHANGELOG.md
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
title: "Update Node.js Engine Inventory"
commit-message: "Update Inventory for heroku/nodejs engine\n\n${{ steps.set-diff-msg.outputs.msg }}"
branch: update-nodejs-inventory
labels: "automation"
body: "Automated pull-request to update heroku/nodejs engine inventory:\n\n${{ steps.set-diff-msg.outputs.msg }}"
update-yarn-inventory:
name: Update Node.js Yarn Inventory
runs-on: pub-hk-ubuntu-22.04-small
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- id: install-rust-toolchain
name: Install Rust Toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install Rust Inventory Binaries
run: cargo install heroku-nodejs-utils --bin diff_versions --bin list_versions --git https://github.com/heroku/buildpacks-nodejs
- id: set-diff-msg
name: Set Diff Message
run: echo "::set-output name=msg::$(diff_versions yarn inventory/yarn.toml)"
- name: Rebuild Inventory
run: "list_versions yarn > inventory/yarn.toml"
- name: Update Changelog
run: echo "${{ steps.set-diff-msg.outputs.msg }}" | xargs -r -I '{}' perl -i -p -e 's/## main\s+/## main\n\n- {}/' CHANGELOG.md
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
title: "Update Node.js Yarn Inventory"
commit-message: "Update Inventory for heroku/nodejs yarn\n\n${{ steps.set-diff-msg.outputs.msg }}"
branch: update-yarn-inventory
labels: "automation"
body: "Automated pull-request to update heroku/nodejs yarn inventory:\n\n${{ steps.set-diff-msg.outputs.msg }}"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.anvil
.DS_Store
repos/*
.idea
.build
Loading