-
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 pull request #2 from Senzing/1.dockter.1
1.dockter.1
- Loading branch information
Showing
57 changed files
with
2,305 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.github/ | ||
docs/ | ||
.DS_Store | ||
.gitignore | ||
.project | ||
.pydevproject | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
docker-compose.test.yml | ||
LICENSE | ||
PULL_REQUEST_TEMPLATE.md | ||
README.md |
Validating CODEOWNERS rules …
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,3 @@ | ||
# Default code owner | ||
|
||
* @Senzing/go-developers |
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,38 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
|
||
--- | ||
|
||
**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. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
|
||
- OS: [e.g. iOS] | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
|
||
**Smartphone (please complete the following information):** | ||
|
||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] | ||
|
||
**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,26 @@ | ||
--- | ||
name: Documentation request | ||
about: Identify an area for improvement in documentation | ||
|
||
--- | ||
|
||
**What is the URL of the documentation?** | ||
|
||
- **Example:** https://github.com/Senzing/template-docker#external-database | ||
- *Note:* This URL includes the web page and the section of the documentation. | ||
|
||
**What can be improved?** | ||
|
||
A clear and concise description of what can be improved. | ||
Examples: | ||
|
||
- "I don't understand where the ${XYZ} variable is set." | ||
- "There seems to be a step missing between 'X' and 'Z'. I don't know how to get to 'Z'." | ||
- "When I run `command sub-command ...` I get the following error:" | ||
- "I don't know what is meant by 'gerble barb gazoink` in the instructions". | ||
|
||
**Additional context** | ||
|
||
Add any other context or screenshots to help describe the documentation improvement. | ||
If you think the documentation improvement is operating system specific, | ||
please indicate which operating system is being used. |
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: Feature request | ||
about: Suggest an idea for this project | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**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,13 @@ | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: gomod | ||
directory: / | ||
schedule: | ||
interval: daily |
Binary file not shown.
Binary file not shown.
24 changes: 24 additions & 0 deletions
24
.github/workflows/add-dependabot-request-to-project-t-comm.yaml
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,24 @@ | ||
# Based on | ||
# - https://github.com/srggrs/assign-one-project-github-action | ||
|
||
name: add-dependabot-request-to-project-t-comm.yaml | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }} | ||
CREATOR: ${{ github.event.pull_request.user.login }} | ||
jobs: | ||
assign_one_project: | ||
name: Add dependabot pull request to Senzing Community project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Assign pull request to project | ||
env: | ||
BOOL: ${{ contains( env.CREATOR, 'dependabot' ) }} | ||
uses: Senzing/github-action-add-issue-to-project@main | ||
if: ${{ env.BOOL == 'true' }} | ||
with: | ||
project: "https://github.com/orgs/Senzing/projects/2" |
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,21 @@ | ||
# Based on | ||
# - https://github.com/srggrs/assign-one-project-github-action | ||
|
||
name: add-issue-to-project-t-comm.yaml | ||
on: | ||
issues: | ||
types: | ||
- reopened | ||
- opened | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }} | ||
jobs: | ||
assign_one_project: | ||
name: Add issue to Senzing Community project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Assign issue to project | ||
uses: Senzing/github-action-add-issue-to-project@main | ||
with: | ||
project: "https://github.com/orgs/Senzing/projects/2" | ||
column_name: "Backlog" |
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,19 @@ | ||
# Based on | ||
# - https://docs.github.com/en/actions/guides/adding-labels-to-issues | ||
# - https://github.com/andymckay/labeler | ||
|
||
name: add-triage-label.yaml | ||
on: | ||
issues: | ||
types: | ||
- reopened | ||
- opened | ||
jobs: | ||
automate-issues-labels: | ||
name: Add triage label to issue | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: initial labeling | ||
uses: andymckay/labeler@1.0.4 | ||
with: | ||
add-labels: "triage" |
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,27 @@ | ||
name: build-docker-container.yaml | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
jobs: | ||
buildDockerContainer: | ||
name: Build Docker container | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: "0" | ||
- name: git config | ||
run: | | ||
git config user.name github-actions | ||
git config user.email support@senzing.com | ||
- name: Print environment variables | ||
run: printenv | ||
- name: Git Merge With Main | ||
run: git merge origin/main | ||
- name: Git Update submodules | ||
run: git submodule update --init --recursive | ||
- name: Build Docker container | ||
run: make docker-build |
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,16 @@ | ||
--- | ||
|
||
name: 'dependabot automation' | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
dependabot-approve-and-merge: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
uses: Senzing/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@main | ||
secrets: | ||
SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN: ${{ secrets.SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN }} |
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,22 @@ | ||
# Based on | ||
# - https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions | ||
# - https://github.com/marketplace/actions/go-proxy-warming | ||
# - https://github.com/andrewslotin/go-proxy-pull-action | ||
# - https://futurestud.io/tutorials/github-actions-run-a-workflow-when-creating-a-tag | ||
|
||
name: go-proxy-pull.yaml | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v[0-9]+.[0-9]+.[0-9]+" | ||
|
||
jobs: | ||
build: | ||
name: Renew documentation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Pull new module version | ||
uses: andrewslotin/go-proxy-pull-action@v1.1.0 | ||
with: | ||
import_path: github.com/senzing/check-self |
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,23 @@ | ||
# Based on | ||
# - https://github.com/securego/gosec | ||
|
||
name: go-security.yaml | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
env: | ||
GO111MODULE: on | ||
steps: | ||
- name: Checkout Source | ||
uses: actions/checkout@v3 | ||
- name: Run Gosec Security Scanner | ||
uses: securego/gosec@master | ||
with: | ||
args: ./... |
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,22 @@ | ||
# Based on | ||
# - https://github.com/marketplace/actions/setup-go-environment | ||
|
||
name: go-test.yaml | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
go: ["1.20"] | ||
name: Go ${{ matrix.go }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
- run: pwd | ||
- run: go test -v -p 1 ./... |
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,11 @@ | ||
--- | ||
|
||
name: 'go' | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
gofmt: | ||
uses: Senzing/build-resources/.github/workflows/gofmt.yaml@main |
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,21 @@ | ||
name: identify-customer.yaml | ||
on: | ||
issues: | ||
types: | ||
- opened | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }} | ||
MEMBER_LIST: ${{ secrets.SENZING_MEMBERS }} | ||
CREATOR: ${{ github.actor }} | ||
jobs: | ||
automate-issues-labels: | ||
name: Add customer-submission label | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: initial labeling | ||
env: | ||
BOOL: ${{ contains( env.MEMBER_LIST, env.CREATOR ) }} | ||
if: ${{ env.BOOL == 'false' }} | ||
uses: andymckay/labeler@1.0.4 | ||
with: | ||
add-labels: "customer-submission" |
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,18 @@ | ||
name: make-go-github-file.yaml | ||
|
||
on: | ||
push: | ||
tags: | ||
- "[0-9]+.[0-9]+.[0-9]+" | ||
|
||
jobs: | ||
build: | ||
name: Update cmd/version.go | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: "0" | ||
- name: Make github.go file | ||
uses: Senzing/github-action-make-go-github-file@main |
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,16 @@ | ||
name: make-go-tag.yaml | ||
|
||
on: | ||
push: | ||
tags: | ||
- "[0-9]+.[0-9]+.[0-9]+" | ||
|
||
jobs: | ||
build: | ||
name: Make a vM.m.P tag | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Make go version tag | ||
uses: Senzing/github-action-make-go-tag@main |
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,13 @@ | ||
--- | ||
|
||
name: 'pr closed automation' | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
|
||
jobs: | ||
move-pr-to-done: | ||
uses: Senzing/build-resources/.github/workflows/move-pr-to-done.yaml@main | ||
secrets: | ||
SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }} |
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 |
---|---|---|
|
@@ -19,3 +19,5 @@ | |
|
||
# Go workspace file | ||
go.work | ||
.history | ||
target/ |
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,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>check-self</name> | ||
</projectDescription> |
Oops, something went wrong.