Commit graph

32 commits

Author SHA1 Message Date
github-actions[bot]
6aa2e8946a Version Packages 2024-10-07 21:39:16 +00:00
github-actions[bot]
9966912c1b Version Packages 2024-10-01 22:12:10 +00:00
github-actions[bot]
ea11499226 Version Packages 2024-06-20 21:23:25 +00:00
github-actions[bot]
d1b97ebf4d Version Packages 2024-05-24 15:16:10 +00:00
github-actions[bot]
8ef515f899
Version Packages (#262)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-23 15:58:20 +01:00
github-actions[bot]
983b6349c2 Version Packages 2024-04-30 12:52:35 +00:00
github-actions[bot]
7451182d38 Version Packages 2024-01-05 18:08:21 +00:00
github-actions[bot]
f2d9b652c4 Version Packages 2023-12-13 17:17:49 +00:00
James Ross
9aba9c34da
fix: semver comparison (#216)
* fix: semver comparison

chore: bump dependencies

* chore: add changeset

* fix: update snapshot for error test
2023-12-13 09:53:47 +00:00
github-actions[bot]
21a8414ba3 Version Packages 2023-10-19 17:39:52 +00:00
Cina Saffary
d647227bbc Refactor subprocess execution to use @actions/exec
Instead of using a mix of `child_process.exec`, `child_process.execSync` and a promisified version of `child_process.exec`, we now (mostly) just use `@actions/exec`. That runs `child_process.spawn` under the hood and handles a lot of character escaping for us. We can also now pass Buffers directly into the subprocess as stdin instead of relying on shell piping.

This ends up fixing a few problems we had where secrets and env var values containing shell metacharacters were being misinterpreted.

Unfortunately, `@actions/exec` doesn't support running with a shell. That means we still have to roll our own wrapper around `child_process.exec` to avoid a breaking change to `preCommands` and `postCommands`, since users might be expecting these to run within a shell.

Also worth noting that we're no longer hiding stdout and stderr from the secret uploading step. We were previously doing this out of an abundance of caution, but it made debugging issues very difficult if secret upload failed for some reason. I feel ok doing this since we're no longer echoing & piping the secret values, wrangler doesn't ever output secret values, and as a last line of defense GitHub masks any secret values that accidentally get logged.
2023-10-18 16:42:34 -05:00
github-actions[bot]
b2e459a047 Version Packages 2023-10-11 16:31:53 +00:00
github-actions[bot]
326ba30882 Version Packages 2023-10-10 20:20:04 +00:00
github-actions[bot]
caa59485d0 Version Packages 2023-10-10 14:16:00 +00:00
github-actions[bot]
e0254d06bc Version Packages 2023-09-18 19:12:19 +00:00
github-actions[bot]
26103fa86c Version Packages 2023-08-30 14:04:59 +00:00
Cina Saffary
71199d2757 prettier scripts incorrectly set --ignore-path
--ignore-path is meant to be the path of an ignore-file, not the actual directories to ignore.
2023-08-29 18:27:03 -05:00
github-actions[bot]
fcbabec21e Version Packages 2023-08-16 15:55:01 +00:00
Jacob M-G Evans
3f40637a1c
Quiet feature
Some of the stderr, stdout, info & groupings can be a little noisy for some users and use cases.
This feature allows for a option to be passed 'quiet: true' this would significantly reduce the noise.

There will still be output that lets the user know Wrangler Installed and Wrangler Action completed successfully.
Any failure status will still be output to the user as well, to prevent silent failures.

resolves #142
2023-08-16 09:37:29 -05:00
github-actions[bot]
55b80c5f62 Version Packages 2023-08-10 21:11:56 +00:00
Jacob M-G Evans
58f274b9f7
Revert "Version Packages" 2023-08-10 16:11:02 -05:00
github-actions[bot]
d63b9dc486 Version Packages 2023-08-10 21:06:00 +00:00
Jacob M-G Evans
554eea134a
Revert "Version Packages" 2023-08-10 16:05:14 -05:00
github-actions[bot]
0f5076c3e7 Version Packages 2023-08-10 20:55:38 +00:00
Jacob M-G Evans
598c6b4043
Add missing GH github dep 2023-08-09 15:38:59 -05:00
Jacob M-G Evans
0c094f5307
Merge pull request #132 from cloudflare/jacobmgevans/changesets
Add Changesets
2023-08-09 15:28:38 -05:00
Jacob M-G Evans
e420d29d0a
Updating build script to convert to .mjs for ESM support 2023-08-09 11:19:52 -05:00
Jacob M-G Evans
311d514d9d
Add Changesets 2023-08-08 17:14:09 -05:00
Jacob M-G Evans
dfa59a861f
start script not needed, using Act locally 2023-08-08 13:28:05 -05:00
Jacob M-G Evans
d6590f86f4
Automate Action Release
Utilizing build & tag action to automate the deps and build steps for releasing the Action. Additionally using NCC for the build process to easy compile the deps into a small executable with the JS file.
2023-08-08 13:03:11 -05:00
Jacob M-G Evans
c8f756bccf
Fix Prettier check with /dist 2023-08-07 14:23:56 -05:00
Jacob M-G Evans
edb2a58814
feat: rewrite Wrangler Action in TypeScript
* Removes dependencies such as Docker, decreasing spin-up time
* Adds community-requested features, including bulk secrets API utilization from Wrangler
* Fixes CI/CD
* Adds testing
* Improves command implementation
* Begins using Node for the Action engine/runner
* Openly discusses all changes with the community
  GitHub Discussions opened and Issues monitored

BREAKING CHANGES:
* Docker is no longer a dependency
* Wrangler v1 is no longer supported

Additional related Internal tickets:
Major Version Default: https://jira.cfdata.org/browse/DEVX-632
Rewrite Project: DEVX-804,802,800,632
2023-08-07 13:05:09 -05:00