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

Skeletonize #63

Merged
merged 667 commits into from
Dec 5, 2022
Merged

Skeletonize #63

merged 667 commits into from
Dec 5, 2022

Conversation

jsf9k
Copy link
Member

@jsf9k jsf9k commented Oct 26, 2022

🗣 Description

This pull request skeletonizes the repo against cisagov/skeleton-docker.

💭 Motivation and context

All of our repos that are still being used should be based on a skeleton repo.

🧪 Testing

All automated tests pass.

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All future TODOs are captured in issues, which are referenced in code comments.
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All relevant repo and/or project documentation has been updated to reflect the changes in this PR.
  • Tests have been added and/or modified to cover the changes in this PR.
  • All new and existing tests pass.

✅ Pre-merge checklist

  • Finalize version.

✅ Post-merge checklist

  • Create a release.

mcdonnnj and others added 30 commits June 3, 2021 11:40
…ions

Add better build instructions to the README.
…iner

This change was discussed among @cisagov/team-ois here:
cisagov/gatherer#60 (review)

Also correct git comments to use the imperative mood.
Co-authored-by: dav3r <david.redmin@trio.dhs.gov>
…mber-in-readme

Update the README to reference the latest version of the Docker container
Co-authored-by: Nick M <50747025+mcdonnnj@users.noreply.github.com>
Add rules to enforce ATX-closed headers, dashes for unordered list elements,
and `1.` for ordered list elements.
Add <h1> and <img> tags to the allowed list for MD033 (HTML elements) to
support using an image as the first thing in a markdown file (header image).
This converts the existing `.mdl_config.json` file to an equivalent
`.mdl_config.yaml` file. The reference in the markdownlint pre-commit hook
configuration is updated to match.

Co-authored-by: Shane Frasier <jeremy.frasier@trio.dhs.gov>
Now that this is a YAML file we can add comments explaining the rule
modifications we use. This will make it easier to edit or expand in the future.
This hook will validate any pre-commit hook manifest files in the repository.
Bumps python from 3.9-alpine to 3.9.6-alpine.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
We should be doing this because the Packer and Terraform pre-commit
hooks leverage the corresponding executables; therefore, it makes
sense to go ahead and install the particular versions of those
executables that we support.  Also add support for optionally
debugging via tmate.

See also cisagov/skeleton-generic#74.
Co-authored-by: Nick M. <50747025+mcdonnnj@users.noreply.github.com>
There is no reason to create /usr/bin/terraform.  This is a vestige of
an earlier age.

Co-authored-by: Nick M. <50747025+mcdonnnj@users.noreply.github.com>
The Terraform installation does not destroy the existing system
Terraform installation, and neither should the Packer installation.

Co-authored-by: Nick M. <50747025+mcdonnnj@users.noreply.github.com>
Note that this change is dependent on the merging of
cisagov/setup-env-github-action#31.

Co-authored-by: Nick M. <50747025+mcdonnnj@users.noreply.github.com>
Some variables defined in the go installation are used in the cache
task, so the go installation must happen first.

Co-authored-by: Nick M. <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick M. <50747025+mcdonnnj@users.noreply.github.com>
As of [Go 1.16](https://tip.golang.org/doc/go1.16#go-command) the `GO111MODULE` environment variable defaults to `on` and `go get` has been deprecated for module installation.

Co-authored-by: Nick M. <50747025+mcdonnnj@users.noreply.github.com>
The `shfmt` tool does not ship on the GitHub Actions runners so we must install
it manually.
We have had a difficult time with how beautysh parses some shellscripts. I went
in pursuit of an alternative and I believe shfmt to be a good alternative.

Co-authored-by: Shane Frasier <jeremy.frasier@trio.dhs.gov>
jsf9k and others added 8 commits December 3, 2022 23:21
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
wget is not used, and was included as part of a copy-and-paste error.

Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
The latter only pulls what we need from the repository, whereas the former pulls the entire history.

Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Copy link
Member

@dav3r dav3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 👍 though please fix the minor item I noted in the conversation that I reopened.

Co-authored-by: dav3r <daver@geekpad.com>
Copy link
Member

@mcdonnnj mcdonnnj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update to the latest version (0.6.9) of pshtt for consistency since you have updated the corresponding lambda:

RUN pip install --no-cache-dir --upgrade pshtt==0.6.6

@jsf9k
Copy link
Member Author

jsf9k commented Dec 5, 2022

Please update to the latest version (0.6.9) of pshtt for consistency since you have updated the corresponding lambda:

This PR is only to skeletonize the repo. As soon as this one is merged I will create a separate PR that simply updates the version of pshtt that is installed.

@jsf9k jsf9k requested a review from mcdonnnj December 5, 2022 16:31
Copy link
Member

@mcdonnnj mcdonnnj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small (mostly documentation) items but otherwise this LGTM ✔

Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
jsf9k and others added 7 commits December 5, 2022 11:50
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
@jsf9k jsf9k merged commit a9268e0 into develop Dec 5, 2022
@jsf9k jsf9k deleted the skeletonize branch December 5, 2022 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation This issue or pull request improves or adds to documentation improvement This issue or pull request will add or improve functionality, maintainability, or ease of use upstream update This issue or pull request pulls in upstream updates version bump This issue or pull request increments the version number
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants