Nick
57d6ac04b0
Merge branch 'develop' into maintenance/update_pre-commit_hooks
2022-04-01 13:19:34 -04:00
Nick
504ed9ed45
Merge pull request #106 from cisagov/improvement/use_python_3.10_for_gha
...
Use Python 3.10 for the `lint` job in GitHub Actions
2022-04-01 13:19:24 -04:00
Nick
14aff9cadc
Merge branch 'develop' into improvement/use_python_3.10_for_gha
2022-04-01 13:13:47 -04:00
Nick
d168151a3c
Merge pull request #104 from cisagov/dependabot/github_actions/actions/cache-3
...
Bump actions/cache from 2 to 3
2022-04-01 13:13:36 -04:00
Nick
a9c93d0ff9
Merge pull request #107 from cisagov/improvement/add_dependabot_ignores_for_github_actions
...
Add Dependabot ignore directives
2022-04-01 13:10:46 -04:00
Nick
496ea93027
Merge branch 'develop' into improvement/add_dependabot_ignores_for_github_actions
2022-04-01 12:29:17 -04:00
dependabot[bot]
c576ef56fb
Bump actions/cache from 2 to 3
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 16:22:39 +00:00
Nick
e190ae75db
Merge pull request #102 from cisagov/dependabot/github_actions/actions/checkout-3
...
Bump actions/checkout from 2 to 3
2022-04-01 12:22:32 -04:00
Nick
6869c6830f
Merge branch 'develop' into dependabot/github_actions/actions/checkout-3
2022-04-01 12:16:34 -04:00
Nick
a3f12f43b3
Merge pull request #101 from cisagov/dependabot/github_actions/actions/setup-python-3
...
Bump actions/setup-python from 2 to 3
2022-04-01 12:16:00 -04:00
Nicholas McDonnell
e22c12cbd4
Use consistent quoting for software versions
2022-03-28 16:35:59 -04:00
Nicholas McDonnell
583992602c
Upgrade from Python 3.9 to 3.10 for the lint
job in GHA
2022-03-28 16:29:30 -04:00
Nicholas McDonnell
511a37cf1e
Add Dependabot ignore directives
...
This adds commented out ignore directives for the following GitHub
Actions:
- action/cache
- action/checkout
- action/setup-python
These should be uncommented downstream to ensure that updates to these
dependencies are pushed from pull requests made in the skeleton.
2022-03-28 16:26:36 -04:00
Nicholas McDonnell
9a0380870c
Update pre-commit hooks
...
Update pre-commit hooks using `pre-commit autoupdate`. The `ansible-lint` hook
is intentionally held back due to issues with upgrading to v6.
2022-03-28 16:19:18 -04:00
dependabot[bot]
3406c2d420
Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 18:01:37 +00:00
dependabot[bot]
4ee1bfd96b
Bump actions/setup-python from 2 to 3
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 18:02:16 +00:00
Nick
6978f2a4dd
Merge pull request #100 from cisagov/improvement/update_markdownlint_configuration
...
Use new `markdownlint` rules for emphasis- and strong-styles
2022-02-25 11:43:07 -05:00
Nicholas McDonnell
7868a35e10
Add missing hyphen in markdownlint rule header
2022-02-25 11:23:25 -05:00
Nicholas McDonnell
706bdeda5a
Use asterisks for emphasis- and strong-styles
...
Given the inconsistent behavior of underscores used within words for
style we should prefer asterisks now that these rules are available.
2022-02-25 11:21:37 -05:00
Nick
d0817e2a37
Merge pull request #98 from cisagov/maintenance/update_pre-commit_hooks
...
Update pre-commit hooks
2022-02-25 09:38:03 -05:00
Nick
3303e46ecd
Merge branch 'develop' into maintenance/update_pre-commit_hooks
2022-02-25 09:36:43 -05:00
Nick
d7126900d7
Merge pull request #99 from cisagov/improvement/update_dependabot_and_yamllint_configurations
...
Add boilerplate for upcoming Dependabot configuration changes
2022-02-25 09:36:33 -05:00
Nicholas McDonnell
77b20ab3d7
Disable comments-indentation rule for yamllint
...
yamllint does not like it when you comment out pieces of dictionaries
in lists. Upcoming additions to the Dependabot configuration will run
afoul of this so we are updating the yamllint configuration.
2022-02-25 08:27:32 -05:00
Nicholas McDonnell
a05b45adf9
Add comment to Dependabot configuration
...
This comment explains that the configuration may have commented out
ignore directives that should be uncommented in downstream projects.
2022-02-25 08:26:08 -05:00
Nicholas McDonnell
ad71ef369b
Update pre-commit hooks
...
Update pre-commit hooks using `pre-commit autoupdate`.
2022-02-23 20:11:49 -05:00
Nick
11eca90f4d
Merge pull request #95 from cisagov/improvement/update_ansible-lint_configuration
...
Update `ansible-lint` Configuration
2022-01-11 14:28:08 -05:00
Nick
6e652ec235
Merge branch 'develop' into improvement/update_ansible-lint_configuration
2022-01-11 14:22:20 -05:00
Nick
115af25726
Merge pull request #97 from cisagov/maintenance/update_pre-commit_hooks
...
Update `pre-commit` hooks
2022-01-11 14:22:06 -05:00
Nicholas McDonnell
3f370ebdde
Update pre-commit hooks
...
Update pre-commit hooks using `pre-commit autoupdate`.
2022-01-11 14:03:38 -05:00
Nicholas McDonnell
4b912fe7ca
Update ansible-lint configuration
...
Instead of excluding molecule configurations for systemd individually we
instead direct ansible-lint to process any of these configurations in
scenario directories as plain yaml files. This mirrors how ansible-lint
handles `molecule.yml` files in scenario directories by default.
2021-10-27 21:53:10 -04:00
Nicholas McDonnell
6a10135f81
Update ansible-lint configuration
...
Remove the manual exclusion of the `converge.yml` file in the default molecule
scenario. With the changes in cisagov/skeleton-ansible-role#88 this exclusion
is no longer necessary.
2021-10-27 21:50:51 -04:00
Nick M
ee39ac57e3
Merge pull request #92 from cisagov/improvement/use_action_outputs
...
Use Outputs of cisagov/setup-env-github-action to Control Installed Program Versions
2021-10-19 17:54:23 -04:00
Nicholas McDonnell
8797e110d3
Store Go version as a step output
...
This changes from using an environment variable to using a step output to store
the Go version that is installed. This mirrors changes made to the other
program versions and how they're stored.
2021-10-19 17:51:23 -04:00
Nicholas McDonnell
2699e09eb7
Use setup-env outputs for Terraform-docs version
...
We change the "Install Terraform-docs" step to use two local environment
variables to provide the package's URL and version to install. This allows us
to work around `yamllint` line length limits.
2021-10-19 17:51:22 -04:00
Nicholas McDonnell
0851598edd
Use setup-env outputs for shfmt version
...
We change the "Install shfmt" step to use two local environment variables to
provide the package's URL and version to install. This allows us to work around
`yamllint` line length limits.
2021-10-19 17:51:22 -04:00
Nicholas McDonnell
64b24714ac
Use setup-env outputs for Packer version
...
We use a `PACKER_VERSION` environment variable for the "Install Packer" step
that is populated from the `setup-env` outputs to get around `yamllint` lint
length limits.
2021-10-19 17:51:22 -04:00
Nicholas McDonnell
1e16136272
Use setup-env outputs for Terraform version
...
Change from using an environment variable to the outputs of the
cisagov/setup-env-github-action instead.
2021-10-19 17:51:22 -04:00
Nicholas McDonnell
6cf78c02e1
Use an id when using cisagov/setup-env-github-action
2021-10-19 17:51:21 -04:00
Nick M
ff73498c96
Merge pull request #94 from cisagov/improvement/add_dependabot_configuration_for_terraform
...
Add `dependabot` Configuration for Terraform
2021-10-19 17:50:08 -04:00
Nicholas McDonnell
24df40abd1
Add dependabot configuration for Terraform
...
This will configure `dependabot` to scan Terraform configurations if they exist
in a repository. If a repository stores a Terraform configuration in a sub-
directory this configuration will need to be modified or an additional
configuration must be added if there still exists a Terraform configuration in
the root directory.
2021-10-19 17:45:15 -04:00
Nick M
14d2edb6bc
Merge pull request #93 from cisagov/improvement/update_ansible-lint_pre-commit_version
...
Update the `ansible-lint` Version in the pre-commit Configuration
2021-10-19 17:44:02 -04:00
Nicholas McDonnell
a3c5aa71cf
Add an ansible-lint configuration file
...
This file is copied from cisagov/skeleton-ansible-role#85 and tweaked to pass
pre-commit. See here for for a list of the elements that can exist in this
file: https://ansible-lint.readthedocs.io/en/latest/configuring.html
Co-authored-by: Shane Frasier <jeremy.frasier@trio.dhs.gov>
2021-10-19 17:42:18 -04:00
Nicholas McDonnell
b78b832269
Update the ansible-lint version for pre-commit
2021-10-19 17:42:07 -04:00
Nick M
f3000e5ff4
Merge pull request #91 from cisagov/improvement/pre-commit_update
...
Update `pre-commit` Hooks
2021-10-19 17:41:00 -04:00
Nicholas McDonnell
b66988de8c
Update pre-commit hooks
...
Update pre-commit hooks using `pre-commit autoupdate`. The `ansible-lint` hook
is intentionally held back due to issues with switching to v5.
2021-10-19 17:15:41 -04:00
dav3r
1b5cd2546b
Merge pull request #90 from cisagov/improvement/enable_terraform_validate
...
Enable terraform validate pre-commit hook
2021-09-13 10:39:41 -04:00
David Redmin
b51dbb577e
Revert "Temporarily use cisagov/setup-env-github-action@improvement/support_tf_0.13"
...
This reverts commit 6a7fbf07bd
.
2021-08-27 14:59:29 -04:00
David Redmin
895a692ad8
Remove lint job step to initialize Terraform directories
...
Initialization will now be done during the "terraform validate" step.
2021-08-27 13:02:00 -04:00
David Redmin
6a7fbf07bd
Temporarily use cisagov/setup-env-github-action@improvement/support_tf_0.13
...
This change will be reverted when testing is completed.
2021-08-26 15:33:59 -04:00
David Redmin
60b612ded5
Enable terraform validate pre-commit hook
...
This hook should now work as expected in most, if not all of our repos
now that we are finally updating to terraform 0.13.x (on our way to
1.0.x).
2021-08-26 09:56:34 -04:00