Commit graph

245 commits

Author SHA1 Message Date
Max Howell 212a592e09
pin to brewkit ~0.5 2023-03-08 09:02:33 -05:00
Jacob Heider e59e13ca08
has to clean destination when bottling too. 2023-03-04 22:54:07 -05:00
Jacob Heider ec2d3130b2
correct gpg passphrase variable name 2023-03-04 21:11:59 -05:00
Jacob Heider d1387ce13d fix making certain changes in packages 2023-03-03 19:40:05 -05:00
Jacob Heider 7535698058
all the duck in a row 2023-03-03 18:23:29 -05:00
Jacob Heider 7426d862c2
cleanup 2023-03-03 18:18:05 -05:00
Jacob Heider 6a799a5d47
extra fancy version 2023-03-03 18:09:23 -05:00
Jacob Heider 6dd73eb14e
unlink a little harder 2023-03-03 17:44:47 -05:00
Jacob Heider b0eb1fed1f
Use --unlink when extracting build artifacts to prevent issues 2023-03-03 17:30:33 -05:00
Jacob Heider 04cd68f914
use relatative-srcs (which can be empty) 2023-03-02 17:38:39 -05:00
Jacob Heider cba587bf0f
Guard condition for existing keychain 2023-02-27 11:42:37 -05:00
Max Howell 3053d71414
k no 2023-02-27 09:53:49 -05:00
Max Howell 0d6b087c50
The action doesn’t create the file if not exist
Refs https://github.com/fregante/setup-git-user/issues/9
2023-02-27 09:43:44 -05:00
Max Howell 0a7f2d6bf1
Ensure git has a user set up for builds
python-venv script needs git now—because pip install . requires that the checkout has a git tag to tell it what version it is building lol
2023-02-27 09:25:52 -05:00
Max Howell e9c6d16019
For some reason pantry path isn't getting set 2023-02-25 11:31:33 -05:00
Jacob Heider d57ed9a803
and this one 2023-02-25 03:54:32 -05:00
Jacob Heider 24bdb5810b
forgot this one 2023-02-25 03:51:41 -05:00
Jacob Heider 1c809689b4
Fix bottle.yml (#403)
* fix(bottle.yml)

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* use @main action definition
2023-02-25 03:05:09 -05:00
Jacob Heider 1f16fee553
tea not finding pantry when bottling 2023-02-25 01:06:36 -05:00
Jacob Heider ed1fede886
one more more 2023-02-24 17:10:30 -05:00
Jacob Heider 5c1ceed3ff
one more 2023-02-24 16:05:52 -05:00
Jacob Heider a9b25a4c76
finish has-artifacts 2023-02-24 16:05:02 -05:00
Jacob Heider 489f0f421a
fix has-artifacts 2023-02-24 16:03:59 -05:00
Jacob Heider 081c2739f3 align with pantry.core
requires https://github.com/teaxyz/pantry.core/pull/336
2023-02-24 15:50:53 -05:00
Max Howell 6d48c72aca
Actions Refactor (#336) 2023-02-24 15:50:10 -05:00
Jacob Heider b16629a131
workable test for remote PRs 2023-02-22 19:07:17 -05:00
Jacob Heider 1f46416a62
file names with spaces. 2023-02-22 17:41:16 -05:00
Jacob Heider 57de8ac41a
only run signing internally 2023-02-22 16:13:10 -05:00
Max Howell 167f603627
fix tests
pantry.core sets TEA_PREFIX for local dev which confuses things

Which is other bugs but I'm fixing those separately
2023-02-22 11:16:39 -05:00
Jacob Heider f7ac88207e move codesigning before tests, since it can affect them 2023-02-21 19:28:45 -05:00
Jacob Heider f37576096c fix(nodejs) 2023-02-21 18:14:32 -05:00
Jacob Heider b8bfccf7c0
fix(ruby/rubygems) (#319)
* fix(ruby/rubygems)

Ruby is pulling in system gmp

* missed this in all the updates
2023-02-17 21:07:30 -05:00
Jacob Heider 74fa81843b
i'll get this 2023-02-16 18:41:49 -05:00
Jacob Heider d411319008
closing in 2023-02-15 21:15:46 -05:00
Jacob Heider 9fee7a43d9
will figure this out 2023-02-15 19:23:35 -05:00
Jacob Heider adaaf3af94
test 2023-02-15 16:15:57 -05:00
Jacob Heider 42ad10b818
this shouldn't be this hard 2023-02-14 22:47:00 -05:00
Jacob Heider 55ec7e2d30
better cache paths
ref https://github.com/actions/cache/blob/main/examples.md#deno
2023-02-14 19:16:18 -05:00
Jacob Heider 8a81d33387
cache deno deps to spare deno.land from 500ing us 2023-02-14 18:59:24 -05:00
Jacob Heider f2710b933b
this should probably actually work 2023-02-14 18:47:20 -05:00
Jacob Heider 804519cb7b
add *.bundle to codesigning 2023-02-14 17:55:31 -05:00
Max Howell e74ac09899 +pipx 2023-02-14 15:24:05 -05:00
Max Howell 10583d9b6c
fix ci/cd for multi pkg input; rebuild meson 2023-02-14 15:15:29 -05:00
Jacob Heider 5d5a371efd
don't open issues unless we're on main 2023-02-13 20:14:10 -05:00
Max Howell 94cfed8402
Fix new-version dispatches 2023-02-13 09:28:03 -05:00
Jacob Heider c39383da2d sometimes codesign doesn't like existing metadata 2023-02-12 23:21:37 -05:00
Jacob Heider 7ff34e317e
some valid codesign outcomes are not exit code 0 2023-02-12 20:32:55 -05:00
Neil 7e54c84c03
indexing trigger: forgot aws and github token env (#274)
* #256 add AWS env vars in indexing script

* add GITHUB_TOKEN

---------

Co-authored-by: neil <neil@neils-MacBook-Pro.local>
2023-02-13 08:52:30 +08:00
Jacob Heider 61426ebcb1 extract signing action
ref https://github.com/teaxyz/cli/issues/376
2023-02-12 03:14:13 -05:00
Max Howell 4528fa0d7d
fix ci/cd 2023-02-11 10:38:39 -05:00
Max Howell 42b5d93576 bump actions/cache 2023-02-11 08:14:40 -05:00
Max Howell d1784ca25c
+libjpeg-turbo 2023-02-11 06:06:35 -05:00
Max Howell 35f8578d04
+cJSON using +tea.xyz/brewkit 2023-02-11 05:52:24 -05:00
Jacob Heider 2f7e0f3a93
if projects are unknown, get-platform.ts still needs a return 2023-02-07 13:00:18 -05:00
Jacob Heider 6c846d99e6
don't remove staging until all uploads run 2023-02-06 17:40:09 -05:00
Jacob Heider 6120e674ee we're cleaning up artifact staging too aggressively 2023-02-06 17:32:10 -05:00
Jacob Heider 53399afa73 cache keys by job and inputs 2023-02-05 06:34:29 -05:00
Jacob Heider 63632639a0 use actions/cache to reduce deno.land 500s 2023-02-05 06:34:29 -05:00
Jacob Heider 8bb4b483c8 sync workflows with pantry.core 2023-02-03 20:00:35 -05:00
Jacob Heider 6c3ca500a7
get workflow status 2023-02-02 20:35:29 -05:00
Jacob Heider b9491c0b44
pass issue template name 2023-02-02 20:15:49 -05:00
Jacob Heider 68a47ae737
make branches actually parallel (#167)
* make branches actually parallel

* more

* wut

* wip

* wip
2023-02-02 20:07:32 -05:00
Jacob Heider db7a6b87c5
revert hosted linux+x86-64 for now 2023-02-02 17:36:03 -05:00
Jacob Heider a2da161839
make each platform build independently (#148)
* simplify index-packages

* Fix import map location

* sqs modules needs permission :x

* move matrices up a level

* move `complain:` to bottle/build

* more cleanup

* add build-os key to get-platform.ts for self-hosted x86-64 (x64) runners

* needs arrays not strings

* implement testMatrix

* review changes

---------

Co-authored-by: Max Howell <mxcl@me.com>
2023-02-02 17:13:38 -05:00
Jacob Heider 72b9fa85bd
simplify index-packages (#153)
* simplify index-packages

* Fix import map location

* sqs modules needs permission :x

---------

Co-authored-by: Max Howell <mxcl@me.com>
2023-02-02 16:51:19 -05:00
Max Howell abb0921f3d
don’t need cli checkouts anymore (#146)
* don’t need cli checkouts anymore
* tidy

Co-authored-by: Jacob Heider <jacob@tea.xyz>
2023-02-02 09:00:52 -05:00
Neil 0ee361a5d7
Bugfix bottle ingest (#152)
* #161 copy strategy on other workflows

* #151 move to pantry trigger

---------

Co-authored-by: neil <neil@neils-MacBook-Pro.local>
2023-02-02 09:10:16 +08:00
Jacob Heider 25709296ea
fix(cd) 2023-02-01 18:43:06 -05:00
Neil a62c0ea3bb
init step for ingesting/indexing package details (#144)
* #143 init step for ingesting package details

* #143 create reusable workflow for triggering package ingestion/indexing

* space

* #143 create task after uploading bottles

* cleanup

---------

Co-authored-by: neil <neil@neils-MacBook-Pro.local>
2023-02-01 14:13:09 +08:00
Jacob Heider c061a74eb3
removed slim tag
fixes https://github.com/teaxyz/infuser/issues/15
2023-01-31 15:07:23 -05:00
Jacob Heider 70d764b8df
don't use the default template name for this 2023-01-31 15:01:46 -05:00
Jacob Heider ff5b6df07f
sync before copy 2023-01-25 16:33:15 -05:00
Jacob Heider 8826588b64
create issue from failed runs 2023-01-24 17:21:32 -05:00
Jacob Heider 4bad6b0b9b hard-code build exceptions 2023-01-16 13:33:04 -05:00
Max Howell fe6eadedc8
Changes for tea/cli 0.19 (#101)
* Changes for tea/cli 0.19

* wip

* wip

* wip

* wip

* wip
2023-01-14 15:57:43 -05:00
Jacob Heider f51268d2b3
don't use ~ 2023-01-14 15:13:41 -05:00
Jacob Heider 16de042898
might need new recipes in extra when checking cores: 2023-01-12 19:06:07 -05:00
Jacob Heider 703b25d8c9
more working cd scripting 2023-01-12 18:32:05 -05:00
Jacob Heider 680b5bf9e9
this works better than a poor-quality shell pipeline 2023-01-12 18:27:46 -05:00
Jacob Heider b8ca94a587 add build.cores yaml key to control min-required build machine 2023-01-12 17:42:51 -05:00
Jacob Heider 9b4b042fc3
better artifact testing for cd 2023-01-11 18:47:07 -05:00
Jacob Heider 95ecc17d79 need to test for 'true'/'false' 2023-01-11 18:42:29 -05:00
Jacob Heider 8eb0f4778e need to test for 'true'/'false' 2023-01-11 18:39:14 -05:00
Jacob Heider c8b9e1d3dd
nicer job name 2023-01-06 17:50:26 -05:00
Jacob Heider 7d04574f8c move to 4core linux for builds 2023-01-06 17:34:53 -05:00
Jacob Heider bcffeee712
regression 2023-01-05 19:20:26 -05:00
Jacob Heider ddb3b967e7
final form 2023-01-05 19:19:09 -05:00
Jacob Heider bb81486d83
last one, i hope 2023-01-05 19:16:57 -05:00
Jacob Heider a22f2bb6e5 Properly deal with contexts at various levels
memorize https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
2023-01-05 19:14:14 -05:00
Jacob Heider 2af6b64253
someday i'll know when this needs braces. 2023-01-05 18:46:42 -05:00
Jacob Heider 7afa90bb0e
and skip typoed non-work 2023-01-05 18:39:30 -05:00
Jacob Heider 30e960c252
well, if i omit the typos 2023-01-05 18:37:49 -05:00
Jacob Heider cffdd5de61
better CD for external contribution 2023-01-05 18:32:56 -05:00
Jacob Heider 8924220af0
better ci/cd for 3rd-party contributions 2023-01-05 18:31:35 -05:00
Jacob Heider 5b8a94584e
don't try to artifact null (~) srcs 2023-01-04 20:50:58 -05:00
Jacob Heider ad375e1dbd
add slack notifications only on new-version failure 2023-01-04 20:03:40 -05:00
Jacob Heider 5e50f9ead7
fix bottle.yml:cleanup 2023-01-03 18:18:49 -05:00
Max Howell 003e6b0c8f
no more need to apt-get install 2022-12-21 14:07:10 -05:00
Max Howell f4f1413665 Just use the full build.ts
Fixes issue where we don't install zlib to build zlib even though llvm needs it.

Doing these in steps was a cool demo of our primitives but led to issues due to install all deps up front rather than just before each build so fuck it.
2022-12-21 10:43:54 -05:00
Max Howell 0a73e3e2b9
Merge pull request #81 from teaxyz/enable-typechecks
remove symlinks and turn on type checking
2022-12-21 08:11:12 -05:00