You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
This PR removes Zarf as a dependency of Maru, and proposes the following
breaking changes to the library API surface:
1. Creating a simple registration system for `./` prefixed apps
2. Not reaching into os.Env within library code (i.e. when processing
`RUN_<VAR>`)
This also proposes the following feature breaking changes:
1. Drop support for `files`.
## Related Issue
Fixes#23Fixes#60
## Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [X] Other (security config, docs update, etc)
## Checklist before merging
- [X] Test, docs, adr added or updated as needed
- [X] [Contributor Guide
Steps](https://github.com/defenseunicorns/maru-runner/blob/main/CONTRIBUTING.md)
followed
---------
Co-authored-by: Eric Wyles <[email protected]>
Maru is a task runner that enables developers to automate builds and perform common shell tasks. It
9
-
uses [Zarf](https://zarf.dev/) under the hood to perform tasks and shares a syntax similar to `zarf.yaml` manifests.
10
-
Many [Zarf Actions features](https://docs.zarf.dev/ref/actions/) are also available in
11
-
the runner.
8
+
Maru is a task runner that enables developers to automate builds and perform common shell tasks and shares a syntax similar to `zarf.yaml``actions`.
9
+
Many [Zarf Actions features](https://docs.zarf.dev/ref/actions/) are also available in the runner.
12
10
13
11
## Table of Contents
14
12
@@ -20,7 +18,6 @@ the runner.
20
18
-[Task](#task)
21
19
-[Cmd](#cmd)
22
20
-[Variables](#variables)
23
-
-[Files](#files)
24
21
-[Wait](#wait)
25
22
-[Includes](#includes)
26
23
-[Task Inputs and Reusable Tasks](#task-inputs-and-reusable-tasks)
@@ -260,28 +257,6 @@ Variable precedence is as follows, from least to most specific:
260
257
261
258
That is to say, variables set via the `--set` flag take precedence over all other variables. The exception to this precedence order is when a variable is modified using `setVariable`, which will change the value of the variable during runtime.
262
259
263
-
### Files
264
-
265
-
The `files` key is used to copy local or remote files to the current working directory
266
-
267
-
```yaml
268
-
tasks:
269
-
- name: copy-local
270
-
files:
271
-
- source: /tmp/foo
272
-
target: foo
273
-
- name: copy-remote
274
-
files:
275
-
- source: https://cataas.com/cat
276
-
target: cat.jpeg
277
-
```
278
-
279
-
Files blocks can also use the following attributes:
280
-
281
-
- `executable`: boolean value indicating if the file is executable
282
-
- `shasum`: SHA string to verify the integrity of the file
283
-
- `symlinks`: list of strings referring to symlink the file to
284
-
285
260
### Wait
286
261
287
262
The `wait`key is used to block execution while waiting for a resource, including network responses and K8s operations
0 commit comments