superlint/.automation
2020-09-04 10:26:13 +01:00
..
test Fix shfmt test 2020-08-31 19:22:50 +02:00
clean-code-base-for-tests.sh fixing cleanup 2020-08-17 09:46:14 -05:00
cleanup-docker.sh Fix log function locations in automation 2020-08-04 17:19:20 -05:00
README.md Format Markdown 2020-07-21 12:08:05 -05:00
upload-docker.sh Print version, date and revision 2020-09-04 09:09:20 +01:00
validate-docker-labels.sh Validate docker labels in the DEV workflow 2020-09-04 10:26:13 +01:00

.automation

This folder holds automation scripts to help deploy and cleanup DockerHub images of the Super-Linter

cleanup-docker.sh

This script uses GitHub Actions so that when a PR is merged and closed, the GitHub Action is triggered. It will then search DockerHub for the image that was deployed during the development, and remove it.

upload-docker.sh

This script uses GitHub Actions so that when a push to the repository is committed, it will complete the following:

  • Checkout the source code
  • Build the Docker container for Super-Linter using that source code
  • Upload the container to DockerHub

When the script is triggered on master, it will push with the tag:latest which is used by all scripting for general availability. When the script is triggered in a branch, it will push with the tag:NameOfBranch which can be used for:

  • testing
  • troubleshooting
  • debugging
  • Note: The branch name will be reduced to alphanumeric for consistency and uploading

test

This folder holds all Test Cases to help run the CI/CT/CD process for the Super-Linter.