Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add resource file #139

Merged
merged 3 commits into from
Jan 22, 2021
Merged

Add resource file #139

merged 3 commits into from
Jan 22, 2021

Conversation

olblak
Copy link
Member

@olblak olblak commented Jan 21, 2021

This new resource allows manipulating files in various ways

parameters:

  • file
  • content

Source
A "source" file fetch content from a file then propagate it to later stages
Condtion
Test that a file content match
Target
Create or update a file content

The parameter file access different kind of information
. Any valid HTTP URL starting with https:// or http://
. A file URL starting with file://
. A file path (absolute or relative)

This resource also work with scm

This PR also include a configuration using file into different setups

Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
@olblak olblak added the enhancement New feature or request label Jan 21, 2021
@olblak olblak merged commit dd550ba into master Jan 22, 2021
@olblak olblak deleted the resource/file branch January 23, 2021 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant