fleet/pkg/spec/testdata
Ian Littman 550de39a7c
Switch path resolution for scripts to happen when spec is parsed (#22782)
#22555

This resolves issues where no-team script paths are resolved relative to
the base rather than the file they're in.

There was a similar issue for software packages, which I also fixed.

This also fixes script-poolicy associations when scripts and policy
files automating those scripts need different relative paths.

Test file moves ensure that these fixes are tested.

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-10-09 17:57:08 -05:00
..
lib Backend build for script automation (#22472) 2024-10-03 20:03:40 -05:00
policies Switch path resolution for scripts to happen when spec is parsed (#22782) 2024-10-09 17:57:08 -05:00
agent-options.yml Support environment variables in config profiles (#18891) 2024-05-28 13:44:43 -03:00
controls.yml Backend support for iOS/iPadOS OS updates (#20649) 2024-07-24 14:34:23 -03:00
empty.yml fleetctl gitops (#16535) 2024-02-09 13:34:57 -06:00
global_config.yml Switch path resolution for scripts to happen when spec is parsed (#22782) 2024-10-09 17:57:08 -05:00
global_config_no_paths.yml Backend support for iOS/iPadOS OS updates (#20649) 2024-07-24 14:34:23 -03:00
microsoft-teams.pkg.software.yml Added GitOps support for uninstall script. (#21969) 2024-09-12 13:25:40 -05:00
org-settings.yml Added server_settings.query_report_cap (#19692) 2024-06-14 12:24:01 -03:00
team-settings.yml Support environment variables in config profiles (#18891) 2024-05-28 13:44:43 -03:00
team_config.yml Switch path resolution for scripts to happen when spec is parsed (#22782) 2024-10-09 17:57:08 -05:00
team_config_no_paths.yml Backend build for script automation (#22472) 2024-10-03 20:03:40 -05:00
team_install_software.policies.yml Add GitOps support for policy installers (#21826) 2024-09-06 19:10:28 -03:00
top.queries.yml Support environment variables in config profiles (#18891) 2024-05-28 13:44:43 -03:00