Skip to content

Commit

Permalink
feat: Relocate Probot repositories to Operate First
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Coufal <[email protected]>
  • Loading branch information
tumido committed Jun 30, 2022
1 parent 6b2a47b commit 48d3a82
Show file tree
Hide file tree
Showing 13 changed files with 62 additions and 62 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ jobs:

- name: Push To Quay
uses: redhat-actions/push-to-registry@v2
if: ${{ github.repository == 'open-services-group/peribolos-as-a-service'}}
if: ${{ github.repository == 'operate-first/peribolos-as-a-service'}}
with:
image: peribolos-as-a-service
tags: ${{ github.sha }} latest
registry: quay.io/open-services-group
registry: quay.io/operate-first
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: Set expiration
uses: ./.github/actions/set-expiration
with:
repository: open-services-group/peribolos-as-a-service
repository: operate-first/peribolos-as-a-service
tag: ${{ github.sha }}
expiration: +1 week
token: ${{ secrets.QUAY_OAUTH_TOKEN }}
Expand All @@ -60,18 +60,18 @@ jobs:

- name: Push To Quay
uses: redhat-actions/push-to-registry@v2
if: ${{ github.repository == 'open-services-group/peribolos-as-a-service'}}
if: ${{ github.repository == 'operate-first/peribolos-as-a-service'}}
with:
image: peribolos
tags: ${{ github.sha }} latest
registry: quay.io/open-services-group
registry: quay.io/operate-first
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: Set expiration
uses: ./.github/actions/set-expiration
with:
repository: open-services-group/peribolos
repository: operate-first/peribolos
tag: ${{ github.sha }}
expiration: +1 week
token: ${{ secrets.QUAY_OAUTH_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,14 @@ jobs:
with:
image: peribolos-as-a-service
tags: ${{ github.sha }} ${{ needs.release-to-git.outputs.tag }}
registry: quay.io/open-services-group
registry: quay.io/operate-first
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: Set expiration
uses: ./.github/actions/set-expiration
with:
repository: open-services-group/peribolos-as-a-service
repository: operate-first/peribolos-as-a-service
tag: ${{ github.sha }}
expiration: +1 week
token: ${{ secrets.QUAY_OAUTH_TOKEN }}
Expand Down Expand Up @@ -248,14 +248,14 @@ jobs:
with:
image: peribolos
tags: ${{ github.sha }} ${{ needs.release-to-git.outputs.tag }}
registry: quay.io/open-services-group
registry: quay.io/operate-first
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: Set expiration
uses: ./.github/actions/set-expiration
with:
repository: open-services-group/peribolos
repository: operate-first/peribolos
tag: ${{ github.sha }}
expiration: +1 week
token: ${{ secrets.QUAY_OAUTH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Conduct may be permanently removed from the project team.

This code of conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. All repositories
under https:/open-services-group/ are considered the project or its community.
under https:/operate-first/ are considered the project or its community.

Instances of abusive, harassing, or otherwise unacceptable behavior in our community may
be reported by contacting <[email protected]>.
Expand Down
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Contributing

[fork]: https:/open-services-group/peribolos-as-a-service/fork
[pr]: https:/open-services-group/peribolos-as-a-service/compare
[fork]: https:/operate-first/peribolos-as-a-service/fork
[pr]: https:/operate-first/peribolos-as-a-service/compare
[code-of-conduct]: CODE_OF_CONDUCT.md
[upstream]: https:/kubernetes/test-infra/tree/master/prow/cmd/peribolos

Expand All @@ -17,7 +17,7 @@ We'd love you to open issues, if they're relevant to this repository: feature re

In particular, if you have a large PR you want to send our way, it may make sense to open an issue to discuss it with the maintainers first.

We also use the label 'help wanted' to show issues we want help on! If you'd like to get started working in this repository, it'd be best to jump into those issues. View those issues [here](https:/open-services-group/peribolos-as-a-service/help%20wanted)!
We also use the label 'help wanted' to show issues we want help on! If you'd like to get started working in this repository, it'd be best to jump into those issues. View those issues [here](https:/operate-first/peribolos-as-a-service/help%20wanted)!

## Submitting a pull request

Expand Down Expand Up @@ -128,7 +128,7 @@ There are two ways to do this:
```sh
pushd manifests/overlays/dev
kustomize edit set image quay.io/open-services-group/peribolos-as-a-service=<quay repo>
kustomize edit set image quay.io/operate-first/peribolos-as-a-service=<quay repo>
popd
kustomize build manifests/overlays/dev | kubectl apply -f -
Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
<p align="center">
<a href="https:/apps/peribolos">
<img src="https://raw.githubusercontent.com/open-services-group/peribolos-as-a-service/main/static/robot.svg" width="160" alt="Probot's logo, a cartoon robot" />
<img src="https://raw.githubusercontent.com/operate-first/peribolos-as-a-service/main/static/robot.svg" width="160" alt="Probot's logo, a cartoon robot" />
</a>
</p>
<h3 align="center"><a href="https:/apps/peribolos">Peribolos</a></h3>
<p align="center">GitHub organization management as code</p>
<p align="center">
<a href="https:/open-services-group/peribolos-as-a-service/releases">
<img alt="GitHub tag (latest by date)" src="https://img.shields.io/github/v/tag/open-services-group/peribolos-as-a-service">
<a href="https:/operate-first/peribolos-as-a-service/releases">
<img alt="GitHub tag (latest by date)" src="https://img.shields.io/github/v/tag/operate-first/peribolos-as-a-service">
</a>
<a href="https:/open-services-group/peribolos-as-a-service/actions?query=workflow%3APush">
<img alt="Build Status" src="https://img.shields.io/github/workflow/status/open-services-group/peribolos-as-a-service/Push">
<a href="https:/operate-first/peribolos-as-a-service/actions?query=workflow%3APush">
<img alt="Build Status" src="https://img.shields.io/github/workflow/status/operate-first/peribolos-as-a-service/Push">
</a>
<a href="https:/open-services-group/peribolos-as-a-service">
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/open-services-group/peribolos-as-a-service">
<a href="https:/operate-first/peribolos-as-a-service">
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/operate-first/peribolos-as-a-service">
</a>
<a href="https:/open-services-group/peribolos-as-a-service/blob/main/LICENSE">
<a href="https:/operate-first/peribolos-as-a-service/blob/main/LICENSE">
<img alt="License" src="https://img.shields.io/badge/license-MIT-blue.svg">
</a>
<a href="https:/open-services-group/peribolos-as-a-service/issues?q=is%3Aissue+is%3Aopen+label%3Akind%2Fbug">
<img alt="Reported bugs" src="https://img.shields.io/github/issues-search/open-services-group/peribolos-as-a-service?color=red&label=reported%20bugs&query=is%3Aopen%20label%3Akind%2Fbug">
<a href="https:/operate-first/peribolos-as-a-service/issues?q=is%3Aissue+is%3Aopen+label%3Akind%2Fbug">
<img alt="Reported bugs" src="https://img.shields.io/github/issues-search/operate-first/peribolos-as-a-service?color=red&label=reported%20bugs&query=is%3Aopen%20label%3Akind%2Fbug">
</a>
<a href="https:/open-services-group/peribolos-as-a-service/issues?q=is%3Aissue+is%3Aopen+label%3Akind%2Fbug">
<img alt="Feature requests" src="https://img.shields.io/github/issues-search/open-services-group/peribolos-as-a-service?label=feature%20requests&query=is%3Aopen%20label%3Akind%2Ffeature">
<a href="https:/operate-first/peribolos-as-a-service/issues?q=is%3Aissue+is%3Aopen+label%3Akind%2Fbug">
<img alt="Feature requests" src="https://img.shields.io/github/issues-search/operate-first/peribolos-as-a-service?label=feature%20requests&query=is%3Aopen%20label%3Akind%2Ffeature">
</a>
</p>

Expand Down Expand Up @@ -65,10 +65,10 @@ See [`ACKNOWLEDGMENTS.md`](ACKNOWLEDGMENTS.md).
<a href="https://peribolos.operate-first.cloud">
<img alt="Route status" src="https://img.shields.io/website?label=Availability&url=https%3A%2F%2Fperibolos.operate-first.cloud%2Fhealthz">
</a><br />
<a href="https://quay.io/repository/open-services-group/peribolos-as-a-service?tab=tags">
<img alt="Controller image" src="https://img.shields.io/badge/Quay-open--services--group%2Fperibolos--as--a--service-blue">
<a href="https://quay.io/repository/operate-first/peribolos-as-a-service?tab=tags">
<img alt="Controller image" src="https://img.shields.io/badge/Quay-operate--first%2Fperibolos--as--a--service-blue">
</a><br />
<a href="https://quay.io/repository/open-services-group/peribolos?tab=tags">
<img alt="Peribolos image" src="https://img.shields.io/badge/Quay-open--services--group%2Fperibolos-blue">
<a href="https://quay.io/repository/operate-first/peribolos?tab=tags">
<img alt="Peribolos image" src="https://img.shields.io/badge/Quay-operate--first%2Fperibolos-blue">
</a>
</p>
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ currently being supported with security updates.

## Reporting a Vulnerability

Please open a [new issue](https:/open-services-group/peribolos-as-a-service/issues/new) and use the `Report vulnerability` template in this repository. Issues opened using this template takes precedence over any other work and it will be handled promptly.
Please open a [new issue](https:/operate-first/peribolos-as-a-service/issues/new) and use the `Report vulnerability` template in this repository. Issues opened using this template takes precedence over any other work and it will be handled promptly.
2 changes: 1 addition & 1 deletion SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Please read through the following guidelines.
## Asking quality questions

Questions, bug reports and feature requests can go to [GitHub issues](https:/open-services-group/peribolos-as-a-service/issues/new).
Questions, bug reports and feature requests can go to [GitHub issues](https:/operate-first/peribolos-as-a-service/issues/new).

Help us help you! Spend time framing questions and add links and resources. Spending the extra time up front can help save everyone time in the long run. Here are some tips:

Expand Down
4 changes: 2 additions & 2 deletions manifests/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ commonLabels:
app.kubernetes.io/managed-by: sig-services
images:
- name: peribolos
newName: quay.io/open-services-group/peribolos
newName: quay.io/operate-first/peribolos
- name: toolbox
newName: quay.io/operate-first/opf-toolbox
- name: python
newName: registry.access.redhat.com/ubi8/python-38
- name: controller
newName: quay.io/open-services-group/peribolos-as-a-service
newName: quay.io/operate-first/peribolos-as-a-service
4 changes: 2 additions & 2 deletions manifests/overlays/prod/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace: peribolos-as-a-service
patchesStrategicMerge:
- route.yaml
images:
- name: quay.io/open-services-group/peribolos-as-a-service
- name: quay.io/operate-first/peribolos-as-a-service
newTag: v1.0.0
- name: quay.io/open-services-group/peribolos
- name: quay.io/operate-first/peribolos
newTag: v1.0.0
4 changes: 2 additions & 2 deletions manifests/overlays/stage/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace: peribolos-as-a-service-stage
patchesStrategicMerge:
- route.yaml
images:
- name: quay.io/open-services-group/peribolos-as-a-service
- name: quay.io/operate-first/peribolos-as-a-service
newTag: v1.0.1
- name: quay.io/open-services-group/peribolos
- name: quay.io/operate-first/peribolos
newTag: v1.0.1
36 changes: 18 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "peribolos-as-a-service",
"version": "1.0.1",
"private": true,
"homepage": "https:/open-services-group/peribolos-as-a-service",
"homepage": "https:/operate-first/peribolos-as-a-service",
"scripts": {
"build": "tsc",
"start": "node lib/index.js",
Expand All @@ -12,8 +12,8 @@
"lint": "prettier --check 'src/**/*.{ts,js}'; eslint src --ext .ts,.js"
},
"dependencies": {
"@open-services-group/probot-kubernetes": "1.0.1",
"@open-services-group/probot-metrics": "1.0.1",
"@operate-first/probot-kubernetes": "1.0.0",
"@operate-first/probot-metrics": "1.0.0",
"probot": "12.2.4"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/app.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Probot } from 'probot';
import { Router } from 'express';
import { exposeMetrics, useCounter } from '@open-services-group/probot-metrics';
import { exposeMetrics, useCounter } from '@operate-first/probot-metrics';
import {
APIS,
createTokenSecret,
Expand All @@ -9,7 +9,7 @@ import {
getTokenSecretName,
updateTokenSecret,
useApi,
} from '@open-services-group/probot-kubernetes';
} from '@operate-first/probot-kubernetes';

const generateTaskPayload = (name: string, context: any) => ({
apiVersion: 'tekton.dev/v1beta1',
Expand Down

0 comments on commit 48d3a82

Please sign in to comment.