forked from srvrco/getssl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/srvrco/getssl
Local changes (to be pushed upstream): add standard -v and --version options dns_godaddy - correct fix for a godaddy API change export AUTH_DNS_SERVER, PUBLIC_DNS_SERVER, LANG for hooks apply $DNS_CHECK_OPTIONS to all dns lookups (for binding to an IP or applying a TSIG file) When making combined cert/key files, force 077 permissions In Makefile, handle *_scripts directories with install to get proper permissions. Update template with advice on split views. In dns_*_nsupdate, fix indent, prevent malformed commands
- Loading branch information
Showing
150 changed files
with
9,438 additions
and
1,238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,6 @@ end_of_line = lf | |
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[Makefile] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
# Files not to include in .zip/.tar.gz archives | ||
# | ||
.git* export-ignore | ||
|
||
# Handle line endings automatically for files detected as text | ||
# and leave all files detected as binary untouched. | ||
* text=auto | ||
|
||
# Make all text files lf formatted | ||
* text eol=lf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
|
||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Operating system (please complete the following information):** | ||
|
||
- OS: [e.g. Debian 9, Ubuntu 18.04, freeBSD ] | ||
- Bash Version [e.g. GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu)] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
name: Run all tests on pebble | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
test-alpine: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d --build | ||
- name: Run test suite on Alpine | ||
run: test/run-test.sh alpine | ||
test-bash-4-0: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d --build | ||
- name: Run test suite on Alpine using Bash 4.0 | ||
run: test/run-test.sh bash4-0 | ||
test-bash-4-2: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d --build | ||
- name: Run test suite on Alpine using Bash 4.2 | ||
run: test/run-test.sh bash4-2 | ||
test-bash-5-0: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d --build | ||
- name: Run test suite on Alpine using Bash 5 | ||
run: test/run-test.sh bash5-0 | ||
test-centos6: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d --build | ||
- name: Run test suite on CentOS6 | ||
run: test/run-test.sh centos6 | ||
test-centos7: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d --build | ||
- name: Run test suite on CentOS7 | ||
run: test/run-test.sh centos7 | ||
test-centos8: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d --build | ||
- name: Run test suite on CentOS8 | ||
run: test/run-test.sh centos8 | ||
test-debian: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d --build | ||
- name: Run test suite on Debian | ||
run: test/run-test.sh debian | ||
test-ubuntu: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d --build | ||
- name: Run test suite on Ubuntu | ||
run: test/run-test.sh ubuntu | ||
test-ubuntu16: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d --build | ||
- name: Run test suite on Ubuntu16 | ||
run: test/run-test.sh ubuntu16 | ||
test-ubuntu18: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d --build | ||
- name: Run test suite on Ubuntu18 | ||
run: test/run-test.sh ubuntu18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Run all tests using DuckDNS | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
test-centos7-duckdns: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d --build | ||
- name: Run test suite on CentOS7 against Staging using DuckDNS | ||
run: test/run-test.sh centos7-duckdns | ||
test-ubuntu-duckdns: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d --build | ||
- name: Run test suite on Ubuntu against Staging using DuckDNS | ||
run: test/run-test.sh ubuntu-duckdns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Run all tests using Dynu | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
test-centos7-dynu: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d --build | ||
- name: Run test suite on CentOS7 against Staging using Dynu | ||
run: test/run-test.sh centos7-dynu | ||
test-ubuntu-dynu: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the docker-compose stack | ||
run: docker-compose up -d --build | ||
- name: Run test suite on Ubuntu against Staging using Dynu | ||
run: test/run-test.sh ubuntu-dynu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: shellcheck | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Lint check | ||
uses: azohra/[email protected] | ||
with: | ||
path: "getssl" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
name: Run Stale Bot on Issue Comments | ||
|
||
jobs: | ||
build: | ||
name: stale | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: stale | ||
uses: gatsbyjs/stale@master | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
DRY_RUN: true | ||
DAYS_BEFORE_STALE: 60 | ||
DAYS_BEFORE_CLOSE: 30 | ||
STALE_ISSUE_LABEL: 'stale' | ||
STALE_PR_LABEL: 'stale' | ||
OPERATIONS_PER_RUN: 30 | ||
STALE_ISSUE_MESSAGE: 'This issue will be closed as no updates for 60 days' | ||
CLOSE_MESSAGE: 'Closing stale issue after 90 days of inactivity' | ||
EXEMPT_ISSUE_LABELS: | | ||
bug | ||
documentation | ||
enhancement | ||
feature | ||
help wanted | ||
rfc |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,31 @@ | ||
# How to contribute | ||
|
||
If you are happy writing in bash, please create a PR for any changes you'd like to see included (or bug fixes). | ||
If you are happy writing in bash, please create a PR for any changes | ||
you'd like to see included (or bug fixes). | ||
|
||
If you aren't happy writing in bash, please open an issue with as much detail as possible about the issue or what you'd like to see added / improved. | ||
If you aren't happy writing in bash, please open an issue with as much | ||
detail as possible about the issue or what you'd like to see added / | ||
improved. | ||
|
||
## Submitting changes | ||
|
||
Please update the 'revision history' and version number at the top of the code (without this I can't easily do a merge) | ||
Please update the 'revision history' and version number at the top of | ||
the code (without this I can't easily do a merge) | ||
|
||
Please update just one issue per PR. If there are multiple issues, please provide separate PR's one per issue. | ||
Please update just one issue per PR. If there are multiple issues, | ||
please provide separate PR's one per issue. | ||
|
||
## Coding conventions | ||
|
||
Please see the guidelines at https://github.com/srvrco/getssl/wiki/Bash-Style-guide | ||
Please see the guidelines at <https://github.com/srvrco/getssl/wiki/Bash-Style-guide> | ||
|
||
## Testing | ||
|
||
Please test with [shellcheck](https://github.com/koalaman/shellcheck), although this will also be tested on github ( via travis) on all PRs. | ||
Please test with [shellcheck](https://github.com/koalaman/shellcheck), | ||
although this will also be tested on github (via travis) on all PRs. | ||
|
||
Please remember that the system is used across a wide range of platforms, so if you have access to multiple operating systems, please test on all. | ||
Please remember that the system is used across a wide range of | ||
platforms, so if you have access to multiple operating systems, please | ||
test on all. | ||
|
||
|
||
Thanks :) | ||
Thanks :) |
Oops, something went wrong.