Skip to content

Commit

Permalink
118.dockter.1 (#119)
Browse files Browse the repository at this point in the history
* #118 Migrate repository

* #118 Migrate repository

* #118 Migrate repository

* #118 Migrate repository

* #118 senzing to senzing-factory

* #118 Add write permission

* #118 Add permission

* #118 Restore Makefile
  • Loading branch information
docktermj authored Jan 4, 2024
1 parent 7b76070 commit a0393b3
Show file tree
Hide file tree
Showing 38 changed files with 107 additions and 241 deletions.
3 changes: 1 addition & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ CODE_OF_CONDUCT.md
CONTRIBUTING.md
docker-compose.test.yml
LICENSE
PULL_REQUEST_TEMPLATE.md
README.md
README.md
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Default code owner

* @Senzing/go-developers
* @senzing-garage/senzing-go-developers
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/documentation_request.md

This file was deleted.

17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/add-dependabot-request-to-project-t-comm.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/add-issue-to-project-t-comm.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
name: identify-customer.yaml

name: add-label-customer-submission.yaml
on:
issues:
types:
- opened

env:
GITHUB_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }}
MEMBER_LIST: ${{ secrets.SENZING_MEMBERS }}
CREATOR: ${{ github.actor }}

jobs:
identify-customer:
name: Add customer-submission label
automate-issues-labels:
name: Add customer-submission label to issue
runs-on: ubuntu-latest
steps:
- name: initial labeling
- name: Add customer-submission label
env:
BOOL: ${{ contains( env.MEMBER_LIST, env.CREATOR ) }}
if: ${{ env.BOOL == 'false' }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
# Based on
# - https://docs.github.com/en/actions/guides/adding-labels-to-issues
# - https://github.com/andymckay/labeler

name: add-triage-label.yaml

name: add-label-triage.yaml
on:
issues:
types:
- reopened
- opened

jobs:
add-triage-label:
automate-issues-labels:
name: Add triage label to issue
runs-on: ubuntu-latest
steps:
- name: initial labeling
- name: Add triage label
uses: andymckay/labeler@1.0.4
with:
add-labels: "triage"
21 changes: 21 additions & 0 deletions .github/workflows/add-to-project-garage-dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: add-to-project-garage-dependabot.yaml
on:
pull_request:
types:
- opened
- reopened
env:
CREATOR: ${{ github.event.pull_request.user.login }}
jobs:
add-to-project:
name: Add dependabot pull request to project
runs-on: ubuntu-latest
steps:
- name: Assign pull request to project
env:
BOOL: ${{ contains( env.CREATOR, 'dependabot' ) }}
if: ${{ env.BOOL == 'true' }}
uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/senzing-garage/projects/3
github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
16 changes: 16 additions & 0 deletions .github/workflows/add-to-project-garage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: add-to-project-garage.yaml
on:
issues:
types:
- reopened
- opened
jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- name: Assign issue to project
uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/senzing-garage/projects/3
github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
5 changes: 1 addition & 4 deletions .github/workflows/dependabot-approve-and-merge.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
---
name: dependabot-approve-and-merge.yaml

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
uses: senzing-factory/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@main
secrets:
SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN: ${{ secrets.SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN }}
4 changes: 1 addition & 3 deletions .github/workflows/docker-build-container.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
name: docker-build-container.yaml

on:
pull_request:
branches:
- main
workflow_dispatch:

jobs:
docker-build-container:
runs-on: ubuntu-latest
steps:
- name: Build docker image
uses: Senzing/github-action-docker-buildx-build@latest
uses: senzing-factory/github-action-docker-buildx-build@latest
with:
image-repository: senzing/test-ground
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/docker-push-containers-to-dockerhub.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
name: docker-push-containers-to-dockerhub.yaml

on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"

jobs:
docker-push-containers-to-dockerhub:
runs-on: ubuntu-latest
steps:
- name: Build docker image and push to DockerHub
uses: Senzing/github-action-docker-buildx-build@latest
uses: senzing-factory/github-action-docker-buildx-build@latest
with:
build-options: "--push"
image-repository: senzing/test-ground
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/go-proxy-pull.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@
# - 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:
go-proxy-pull:
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/template-go
import_path: github.com/senzing-garage/template-go
3 changes: 0 additions & 3 deletions .github/workflows/go-test-darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
# - https://github.com/marketplace/actions/setup-go-environment

name: go-test-darwin.yaml

on: [push]

env:
DYLD_LIBRARY_PATH: /opt/senzing/g2/lib:/opt/senzing/g2/lib/macos
LD_LIBRARY_PATH: /opt/senzing/g2/lib:/opt/senzing/g2/lib/macos

jobs:
go-test-darwin:
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/go-test-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
# - https://github.com/marketplace/actions/setup-go-environment

name: go-test-linux.yaml

on: [push]

jobs:
go-test-linux:
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/go-test-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
# - https://github.com/marketplace/actions/setup-go-environment

name: go-test-windows.yaml

on: [push]

jobs:
go-test-windows:
runs-on: ${{ matrix.os }}
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/gofmt.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
name: gofmt.yaml

on:
pull_request:
branches: [main]

jobs:
gofmt:
uses: Senzing/build-resources/.github/workflows/gofmt.yaml@main
uses: senzing-factory/build-resources/.github/workflows/gofmt.yaml@main
2 changes: 0 additions & 2 deletions .github/workflows/gosec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
# - https://github.com/securego/gosec

name: gosec.yaml

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
gosec:
runs-on: ubuntu-latest
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/make-go-github-file.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
---
name: make-go-github-file.yaml

on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"

permissions: write-all
jobs:
make-go-github-file:
uses: Senzing/build-resources/.github/workflows/make-go-github-file.yaml@main
uses: senzing-factory/build-resources/.github/workflows/make-go-github-file.yaml@main
secrets:
SENZING_GITHUB_GPG_PRIVATE_KEY: ${{ secrets.SENZING_GITHUB_GPG_PRIVATE_KEY }}
SENZING_GITHUB_GPG_PASSPHRASE: ${{ secrets.SENZING_GITHUB_GPG_PASSPHRASE }}
Expand Down
Loading

0 comments on commit a0393b3

Please sign in to comment.