Skip to content

Action to generate task definitions files from two files, the json and yaml with the necessary variables

License

Notifications You must be signed in to change notification settings

JavierReyesO/generate-task-definitions-files

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generate-task-definition-file

Inputs

base_file

Required Name of the JSON file used as a base file for generate the task definitions files.

values_file

Required Name of the yml file that contain the values replaced on the task definitions.

Example usage

uses: JavierReyesO/generate-task-definition-file@v1
with:
  base_file: '.aws/dev-task-definition.json'
  values_file: '.aws/dev-values.yml'

Development

Node Version: 16

For the development and update of the Action, after modifying the index.js file it is necessary to compile it so that it is uploaded together with all the necessary packages using the following command:

ncc build index.js

After this, the action itself uses the generated lib/index.js file, but it is necessary to upload both the lib/index.js file and the index.js file.

About

Action to generate task definitions files from two files, the json and yaml with the necessary variables

Resources

License

Stars

Watchers

Forks

Packages

No packages published