Skip to content

Commit

Permalink
#63 Migrate repository (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
docktermj committed Dec 29, 2023
1 parent a3cea83 commit 2eaf774
Show file tree
Hide file tree
Showing 20 changed files with 78 additions and 138 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ CONTRIBUTING.md
docker-compose.test.yml
LICENSE
Makefile
PULL_REQUEST_TEMPLATE.md
README.md
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Default code owner

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

This file was deleted.

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

This file was deleted.

15 changes: 0 additions & 15 deletions .github/README_TEMPLATE/demonstration/README.md

This file was deleted.

13 changes: 13 additions & 0 deletions .github/dependabot.yml
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: "docker"
directory: "/"
schedule:
interval: "daily"
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 }}
22 changes: 0 additions & 22 deletions .github/workflows/add-to-project-t-comm.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .github/workflows/dependabot-approve-and-merge.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
name: dependabot-approve-and-merge.yaml

on:
pull_request:
branches: [main]

jobs:
dependabot-approve-and-merge:
permissions:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/docker-build-container.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: docker-build-container.yaml

on:
pull_request:
branches:
- main
workflow_dispatch:

jobs:
docker-build-container:
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/docker-push-containers-to-dockerhub.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
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
Expand All @@ -16,4 +14,5 @@ jobs:
image-repository: senzing/test
image-tag: ${{ github.ref_name }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
platforms: "linux/amd64,linux/arm64"
username: ${{ secrets.DOCKERHUB_USERNAME }}
3 changes: 0 additions & 3 deletions .github/workflows/move-pr-to-done.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
name: move-pr-to-done.yaml

on:
pull_request:
types: [closed]

jobs:
move-pr-to-done:
uses: Senzing/build-resources/.github/workflows/move-pr-to-done.yaml@main
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at support@senzing.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at <support@senzing.com>. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ These variables may be modified, but do not need to be modified.
The variables are used throughout the installation procedure.

```console
export GIT_ACCOUNT=senzing
export GIT_ACCOUNT=senzing-garage
export GIT_REPOSITORY=docker-test
```

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ default: help
# -----------------------------------------------------------------------------

.PHONY: docker-build
docker-build:
docker-build:
docker build \
--tag $(DOCKER_IMAGE_NAME) \
--tag $(DOCKER_IMAGE_NAME) \
--tag $(DOCKER_IMAGE_NAME):$(GIT_VERSION) \
.

Expand Down
13 changes: 0 additions & 13 deletions PULL_REQUEST_TEMPLATE.md

This file was deleted.

14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# docker-test

If you are beginning your journey with
[Senzing](https://senzing.com/),
please start with
[Senzing Quick Start guides](https://docs.senzing.com/quickstart/).

You are in the
[Senzing Garage](https://github.com/senzing-garage)
where projects are "tinkered" on.
Although this GitHub repository may help you understand an approach to using Senzing,
it's not considered to be "production ready" and is not considered to be part of the Senzing product.
Heck, it may not even be appropriate for your application of Senzing!

## Overview

The `senzing/test` docker image is used for testing non-Senzing docker ideas.
Expand All @@ -9,4 +21,4 @@ It is not a docker image used to demonstrate Senzing.

1. [DockerHub](https://hub.docker.com/r/senzing/test)

test
test

0 comments on commit 2eaf774

Please sign in to comment.