Commit Graph

412 Commits

Author SHA1 Message Date
Emil Lerch 007f2f588a
switch to setup-zig for other builds/schedule nightly
AWS-Zig Build / build-zig-amd64-host (push) Successful in 2m34s Details
2024-04-29 09:48:24 -07:00
Emil Lerch dc5f040a2f
use setup-zig action in main build
AWS-Zig Build / build-zig-amd64-host (push) Successful in 3m13s Details
2024-04-29 09:42:15 -07:00
Emil Lerch 3887e630d6
turn off schedule for github actions (should only apply to gitea) 2024-04-29 09:38:17 -07:00
Emil Lerch c825ef72fe
disable windows tests on github
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 3m5s Details
2024-04-23 08:55:56 -07:00
Emil Lerch 52a5865caa
github actions: update checkout version/identifiers
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 3m5s Details
2024-04-23 08:32:54 -07:00
Emil Lerch bf4097cd5b
add latest major zig version status to README 2024-04-23 08:28:24 -07:00
Emil Lerch 18d8258eaf
pin nightly/nominated zig workflows to zig-develop branch
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 3m10s Details
2024-04-23 08:07:10 -07:00
Emil Lerch b49bb9ad90
update build.zig.zon to latest package
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 3m4s Details
2024-04-22 14:13:21 -07:00
Emil Lerch a0773971f2
change format of published tar file
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 2m31s Details
2024-04-22 13:57:36 -07:00
Emil Lerch 484b504090
add paths to build.zig.zon
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 2m33s Details
2024-04-22 09:17:10 -07:00
Emil Lerch 45e87cf202
move example build to the end so we still get a package
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 2m30s Details
2024-04-22 08:27:21 -07:00
Emil Lerch 99a61c0bd2
update aws-zig to zig 0.12.0 (example will still fail)
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 2m25s Details
2024-04-22 08:23:01 -07:00
Emil Lerch b2c8fc5f3c
update README for riscv64 situation
aws-zig mach nominated build / build-zig-nominated-mach-latest (push) Successful in 6m56s Details
aws-zig nightly build / build-zig-nightly (push) Failing after 1m46s Details
2024-04-02 18:41:26 -07:00
Emil Lerch 62973bf4bf
update example
aws-zig mach nominated build / build-zig-nominated-mach-latest (push) Successful in 3m46s Details
aws-zig nightly build / build-zig-nightly (push) Failing after 1m11s Details
2024-04-02 18:30:27 -07:00
Emil Lerch 2f5f9edb36
markdown adjustment on README 2024-04-02 18:20:37 -07:00
Emil Lerch b1b2a6cc7a
add example build at the end so we have models to use for the sample
aws-zig mach nominated build / build-zig-nominated-mach-latest (push) Failing after 2m38s Details
aws-zig nightly build / build-zig-nightly (push) Failing after 54s Details
2024-04-02 18:00:08 -07:00
Emil Lerch e74a0e9456
get build LLVM-approved (riscv64-linux disabled for now)
aws-zig mach nominated build / build-zig-nominated-mach-latest (push) Failing after 3m8s Details
aws-zig nightly build / build-zig-nightly (push) Failing after 1m0s Details
2024-04-02 17:49:45 -07:00
Emil Lerch 723e0b0989
add commented out "normal test" pattern 2024-04-02 17:47:50 -07:00
Emil Lerch a3117eea54
update name of build job to what it actually does
aws-zig mach nominated build / build-zig-nominated-mach-latest (push) Failing after 21m29s Details
aws-zig nightly build / build-zig-nightly (push) Failing after 1m9s Details
2024-04-02 13:00:13 -07:00
Emil Lerch afdc75c1c6
stop the zig build DOS attack on the CI infrastructure
aws-zig nightly build / build-zig-nightly (push) Waiting to run Details
aws-zig mach nominated build / build-zig-nightly (push) Has been cancelled Details
2024-04-02 12:54:01 -07:00
Emil Lerch e6634d3c0f
shell32 has been removed, use USERPROFILE env var instead
aws-zig mach nominated build / build-zig-nightly (push) Failing after 1h21m14s Details
aws-zig nightly build / build-zig-nightly (push) Failing after 10m24s Details
2024-04-02 11:05:17 -07:00
Emil Lerch 57e994f80f
upgrade to working smithy 2024-04-02 11:04:40 -07:00
Emil Lerch d46cb9c28b
update smithy
aws-zig mach nominated build / build-zig-nightly (push) Failing after 1m11s Details
aws-zig nightly build / build-zig-nightly (push) Failing after 1m1s Details
2024-04-02 10:26:33 -07:00
Emil Lerch 7dcf3d3a2e
upgrade to nominated zig 2024.3.0-mach (0.12.0-dev.3180+83e578a18)
aws-zig mach nominated build / build-zig-nightly (push) Failing after 28m36s Details
aws-zig nightly build / build-zig-nightly (push) Failing after 57s Details
There were significant changes to the way HTTP operates since 0.11,
effecting client operations, but more substantially, the server
implementation, which effected the test harness.

std.http.Headers was removed, including the getFirstValue function, which
needed to be replicated. On the plus side, a std.http.Header struct was
added, identical to our own structure, so I have removed out own header
in favor of stdlib.

On the Http client side, I have switched to use the fetch API. Proxy
support is built in, but we are using (mostly) our own implementation
for now, with the remaining conversion left as a TODO item. Raw URIs are
now supported, so the workaround for issue 17015 has been removed. Large
payloads should also be fixed, but this has not been tested.

The standard library now adds the content-length header
(unconditionally), which is a decision of dubious nature. I have removed
the addition of content-length, which also means it is not present
during signing. This should be allowed.

Dependency loop on fieldTransformer was fixed. This should have been
a problem on zig 0.11, but was not. This effected the API for the json
parsing, but we were not using that. At the call site, these did not
need to be specified as references.

With the http server no longer doing all the allocations it once was,
the test harness now has a lot more allocations to perform. To alleviate
the bookeeping, this was moved to an Arena allocator. The client,
which is really what is under test, continues to use the allocator
passed.
2024-04-02 09:27:42 -07:00
Emil Lerch d442671275
upgrade `zig build gen` build command to zig 0.12
This removes the copied Package.zig as we can now use the actual package
manager and look at our available dependencies in build.zig. This may
break again later as I believe lazy dependencies are planned, which will
have us search for a solution to tell the build system we're expecting
this dependency.
2024-03-30 15:26:24 -07:00
Emil Lerch 213627c305
update README to latest zig nominated 2024-03-30 08:25:50 -07:00
Emil Lerch 47ab9f6064
update service list, add S3 back 2024-03-30 08:25:21 -07:00
Emil Lerch 866a89d8ae
add sudo to actions 2024-03-30 08:17:59 -07:00
Emil Lerch b8df9e3610
attempt to address github action complaints 2024-03-30 08:17:59 -07:00
Emil Lerch d1d0b294d7
seperate github workflows 2024-03-30 08:17:58 -07:00
Emil Lerch 8a80cbda4a
Action incompatibility across gitea/github makes this a bit too tough rn 2024-03-30 08:17:57 -07:00
Emil Lerch 444173afd2
rename jobs 2024-03-30 08:17:56 -07:00
Emil Lerch b6cdb6f7a7
move workflow actions to .github for use on both platforms 2024-03-30 08:17:56 -07:00
Emil Lerch f7106d0904
add nightly, with versioning 2024-03-30 08:17:55 -07:00
Emil Lerch 3f5e49662f
start a 0.12 branch 2024-03-30 08:17:40 -07:00
Emil Lerch 6df02b1074
switch sqs query test (json) with sts query test (xml) and fix response parsing
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 5m22s Details
2024-02-29 20:41:03 -08:00
Emil Lerch 55298f7575
skip sqs, which changed from query to json protocol, and update S3 test
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 4m18s Details
2024-02-29 16:59:10 -08:00
Emil Lerch 298f895bfe
update aws models to 2024-02-28 release
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 4m39s Details
2024-02-29 13:54:50 -08:00
Emil Lerch 79d73cf09f
support for enum, document, and...dear lord...unit 2024-02-29 13:53:32 -08:00
Emil Lerch 3a027b6cd9
codegen support for more reserved words 2024-02-29 13:49:57 -08:00
Emil Lerch 69d8151ac8
make sigv4_name and arn_namespace optional 2024-02-29 13:49:21 -08:00
Emil Lerch 2db4188dbc
more logging to help codegen debug 2024-02-29 13:46:58 -08:00
Emil Lerch 2c9a80e363
update snake case to handle space followed by single character at end of string 2024-02-29 13:43:48 -08:00
Emil Lerch d06c8da3bb
update README - S3 support seems more there than not rn 2024-02-29 08:18:14 -08:00
Emil Lerch e46a008bc5
update service list
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 3m32s Details
2024-02-24 09:50:30 -08:00
Emil Lerch 31324c7e83
support for server verification of clients that do not pass x-amz-content-sha256
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 5m17s Details
2024-02-24 09:43:36 -08:00
Emil Lerch ed48901c92
update service list - getting close
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 4m22s Details
2024-02-22 12:16:41 -08:00
Emil Lerch 7e3796d416
update service list
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 4m21s Details
2024-02-16 08:35:24 -08:00
Emil Lerch 69da301de2
ec2 gets tls 1.3
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 3m56s Details
2024-02-07 07:21:09 -08:00
Emil Lerch 7f80ae45f0
update TLS 1.2-only service list
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 4m54s Details
2024-01-31 11:15:14 -08:00