All future changelog notes are published in the repository's Releases tab.
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Any unreleased changes will be included here.
- Bump the Docker container node version from 14-slim to 16-slim.
- Adds a
npm run docker
command that builds the container locally using docker and buildkit.
- Fixed the deprecated
set-env
syntax in the release workflow. Now uses the correct syntax.
- NPM dependency updates
- NPM dependency updates
- NPM dependency updates
- Dockerfile now builds from
node:14-slim
- #54 revealed that, as of at least
2.2.0
, GitHub Actions fails to build the image on master. There appeared to be 2 issues.COPY package*.json
did not appear to copy bothpackage.json
andpackage-lock.json
as expected, so theCOPY
was reverted to aCOPY . .
and a.dockerignore
is used to keep out all files we don't need.- The Actions runner fails to locate the entrypoint script. I believe this is a bug with GitHub Actions as the Actions runners sets a default
WORKDIR
but does not appear to be following Docker's documentation on applying theWORKDIR
toCOPY
andRUN
commands.- I have filed a bug about this, but it was marked as spam :). Trying to get it unflagged. It is submitted here.
- [update 2020-12-31]: This is resolved, action workflows now support the 'uses: ./' syntax.
- Moved the Docker image from
node:13-slim
tonode:12-slim
to keep the project on the LTS version of node.
- Added the
galaxy_version
input parameter to allow you to pass in a semver-compatible string, which will be used for publishing the collection. Resolves #49.
- Fixed the syntax that was breaking releasing the Docker image to Docker Hub and GitHub Package Registry
- Deprecated the
galaxy_config_file
input parameter. There is no legitimate reason to need this parameter. Ansible Galaxy requires thegalaxy.yml
file to be in the Collection's root, and the Collection's location can now be customized withcollection_dir
. It will be removed in a future major release.
- Added a
collection_dir
input parameter to the action. - Added Jest tests
- Slimmed down the Docker container slightly with Dockerfile optimizations
- Typescript refactor for ease of refactor-ability and testing
- Switched to the new
use: ./
syntax to test the current version of the Action in themain.yml
workflow file
- Fixed an issue with the new Docker-based action where the ansible-galaxy command failed to run in the container.
- Action is now Docker-based. This removes all of the dependency steps users would have to set in their workflow files.
- Usage is now simplified and updated on the README.
- Missed correcting outdated variables in a debug message in 1.0.9. Fixed.
- The AnsibleCollection class caused some kind of issue with the Actions workflow. Too much of a headache to be worth it, removing.
- Missing
api_key
input parameter now properly fails the action.
- Helpful debug message on successful completion.
- GitHub Action to automatically update latest release tags.
- Error checking if
galaxy.yml
values are missing.
console.log
messages now usecore.debug
for better action logging.
- Changed the default value of
galaxy_config_file
to match Ansible's expectation.galaxy.yaml
->galaxy.yml
.
- Fixed the declaration of the publish command to match the generated file from the build command.
This version used incorrect syntax for the ansible-galaxy collection publish
command.
- Fixing error in entrypoint for JS action
This version used incorrect syntax for the ansible-galaxy collection publish
command.
- Adding new built
dist/index.js
that I forgot to include in the previous release
This version used incorrect syntax for the ansible-galaxy collection publish
command.
- Adding default value for non-required input variable
This version used incorrect syntax for the ansible-galaxy collection publish
command.
- Updated README while continuing to test the Action
This version used incorrect syntax for the ansible-galaxy collection publish
command.
- Fixing documentation while testing the Action
This version used incorrect syntax for the ansible-galaxy collection publish
command.
- Worked on README documentation while testing the Action
This version used incorrect syntax for the ansible-galaxy collection publish
command.
- First pass at writing this Github Action
- Added README
- Use zeit/ncc to package dependencies with Github Action instead of adding node_modules to the repo
- Set example on README to semver