Skip to content

Commit

Permalink
Simplify .gitignore (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi authored Sep 7, 2024
1 parent b318eec commit 944ecad
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 91 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ env:

jobs:
yml-md-style-and-link-checks:
uses: QubitPi/hashicorp-aws/.github/workflows/yml-md-style-and-link-checks.yml@master
uses: QubitPi/hashistack/.github/workflows/yml-md-style-and-link-checks.yml@master

tests:
name: Unit & Integration Tests
Expand All @@ -46,9 +46,6 @@ jobs:
documentation:
name: Test & Release Documentation (including Javadoc)
needs: tests
outputs:
outcome: ${{ job.status }}
continue-on-error: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -81,9 +78,6 @@ jobs:
docker-image:
name: Build Test & Release Development Docker Image
needs: tests
outputs:
outcome: ${{ job.status }}
continue-on-error: true
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -114,13 +108,3 @@ jobs:
context: .
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/jersey-webservice-template:latest

slack-notification:
name: Send Slack Notification
if: ${{ always() }}
needs: [documentation, docker-image]
uses: QubitPi/hashicorp-aws/.github/workflows/slack-notification.yml@master
with:
job-status: ${{ (needs.documentation.outputs.outcome == 'success' && needs.docker-image.outputs.outcome == 'success') && 'success' || 'failure' }}
secrets:
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
64 changes: 0 additions & 64 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,67 +2,3 @@
.idea/
target/
.DS_Store

# Created by https://www.toptal.com/developers/gitignore/api/packer,terraform
# Edit at https://www.toptal.com/developers/gitignore?templates=packer,terraform

### Packer ###
# Cache objects
packer_cache/

# Crash log
crash.log

# https://www.packer.io/guides/hcl/variables
# Exclude all .pkrvars.hcl files, which are likely to contain sensitive data,
# such as password, private keys, and other secrets. These should not be part of
# version control as they are data points which are potentially sensitive and
# subject to change depending on the environment.
#
*.pkrvars.hcl

# For built boxes
*.box

### Packer Patch ###
# ignore temporary output files
output-*/

### Terraform ###
# Local .terraform directories
**/.terraform/*

# .tfstate files
*.tfstate
*.tfstate.*

# Crash log files
crash.*.log

# Exclude all .tfvars files, which are likely to contain sensitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
*.tfvars
*.tfvars.json

# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json

# Include override files you do wish to add to version control using negated pattern
# !example_override.tf

# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
# example: *tfplan*

# Ignore CLI configuration files
.terraformrc
terraform.rc

.terraform.lock.hcl

# End of https://www.toptal.com/developers/gitignore/api/packer,terraform
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ JWT seamlessly combines development and deployment of a Webservice API with
[Immutable Infrastructure](https://www.hashicorp.com/resources/what-is-mutable-vs-immutable-infrastructure)
DevOp practice that
[fully automates the API deployment onto
AWS](https://qubitpi.github.io/hashicorp-aws/)
AWS](https://hashistack.org/)

At the end of the day, JWT helps organization to **improve the velocity and quality of their teams' work**

Expand Down
6 changes: 3 additions & 3 deletions docs/docs/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,18 @@ The following [GitHub Action Secrets][GitHub Action - How to set up] needs to be

[Configure Filebeat]: https://www.elastic.co/guide/en/beats/filebeat/current/configuring-howto-filebeat.html

[Define Nginx Reverse Proxy Config File]: https://qubitpi.github.io/hashicorp-aws/docs/setup#step-3---define-nginx-reverse-proxy-config-file
[Define Nginx Reverse Proxy Config File]: https://hashistack.org/docs/setup#step-3---define-nginx-reverse-proxy-config-file
[Docker - Creating an access token]: https://docs.docker.com/security/for-developers/access-tokens/#create-an-access-token
[Docker - an user example]: https://hub.docker.com/u/jack20191124

[Environment variables to configure the AWS CLI]: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html

[hashicorp-aws webservice]: https://qubitpi.github.io/hashicorp-aws/docs/webservice
[hashicorp-aws webservice]: https://hashistack.org/docs/webservice
[HashiCorp Packer variable values file]: https://qubitpi.github.io/hashicorp-packer/packer/guides/hcl/variables#from-a-file
[HashiCorp Terraform variable values file]: https://qubitpi.github.io/hashicorp-terraform/terraform/language/values/variables#variable-definitions-tfvars-files
[How to create and configure AWS credentials for Amazon Keyspaces]: https://docs.aws.amazon.com/keyspaces/latest/devguide/access.credentials.html

[Installing Free SSL Certificates with Certbot running on Nginx]: https://qubitpi.github.io/hashicorp-aws/docs/setup#step-1---store-ssl-certificate-in-github-secrets
[Installing Free SSL Certificates with Certbot running on Nginx]: https://hashistack.org/docs/setup#step-1---store-ssl-certificate-in-github-secrets

[Java system properties]: https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html
[JWT JPA Maven setting tags]: https://github.com/QubitPi/jersey-webservice-template/blob/jpa-elide/settings.xml.example
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/crud/elide/clientapis/graphql-subscriptions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -521,4 +521,4 @@ Running websockets as a standalone service is as simple as disabling JSON-API an
</TabItem>
</Tabs>

[example-project]: https://github.com/paion-data/elide-spring-boot-example
[example-project]: https://github.com/yahoo/elide-spring-boot-example
4 changes: 2 additions & 2 deletions docs/docs/crud/elide/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ Operability Features

- **Logging** - Elide supports rich [native logging](audit) for query generation and security rules.
- **Spring Integration** - Elide integrates with [Spring Boot](https://spring.io/projects/spring-boot) including an
[example project](https://github.com/paion-data/elide-spring-boot-example) and
[example project](https://github.com/yahoo/elide-spring-boot-example) and
[starter package](https://github.com/paion-data/elide/tree/master/elide-spring).
- **Elide Standalone Integration** - Elide includes
[JAX-RS](https://download.oracle.com/otndocs/jcp/jaxrs-2_0-fr-eval-spec/index.html) endpoints and can run as a
[standalone](https://github.com/paion-data/elide-standalone-example) embedded Jetty service.
[standalone](https://github.com/yahoo/elide-standalone-example) embedded Jetty service.
- **Java 17** - Elide compiles with Java 17.
4 changes: 2 additions & 2 deletions docs/docs/crud/elide/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -606,8 +606,8 @@ Here are the respective responses:
</TabItem>
</Tabs>

[demo-schema]: https://github.com/paion-data/elide-spring-boot-example/blob/master/src/main/resources/db/changelog/changelog.xml
[demo-schema]: https://github.com/yahoo/elide-spring-boot-example/blob/master/src/main/resources/db/changelog/changelog.xml

[elide-demo]: https://github.com/paion-data/elide-spring-boot-example
[elide-demo]: https://github.com/yahoo/elide-spring-boot-example

[Spring Boot starter dependency]: https://github.com/paion-data/elide/tree/master/elide-spring/elide-spring-boot-starter
2 changes: 1 addition & 1 deletion docs/docs/crud/elide/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,5 @@ like this:

The complete set of static DSL operators for GraphQL can be found [here](https://github.com/paion-data/elide/blob/master/elide-test/src/main/java/com/paiondata/elide/test/graphql/GraphQLDSL.java).

[elide-demo]: https://github.com/paion-data/elide-spring-boot-example
[elide-demo]: https://github.com/yahoo/elide-spring-boot-example
[elide-spring]: https://github.com/paion-data/elide/tree/master/elide-spring/elide-spring-boot-starter

0 comments on commit 944ecad

Please sign in to comment.