From 48d3a82b800bce52c4703c6bf65053c1edc4f794 Mon Sep 17 00:00:00 2001 From: Tomas Coufal Date: Thu, 30 Jun 2022 08:54:01 +0200 Subject: [PATCH] feat: Relocate Probot repositories to Operate First Signed-off-by: Tomas Coufal --- .github/workflows/push.yaml | 12 +++---- .github/workflows/release.yaml | 8 ++--- CODE_OF_CONDUCT.md | 2 +- CONTRIBUTING.md | 8 ++--- README.md | 32 +++++++++--------- SECURITY.md | 2 +- SUPPORT.md | 2 +- manifests/base/kustomization.yaml | 4 +-- manifests/overlays/prod/kustomization.yaml | 4 +-- manifests/overlays/stage/kustomization.yaml | 4 +-- package-lock.json | 36 ++++++++++----------- package.json | 6 ++-- src/app.ts | 4 +-- 13 files changed, 62 insertions(+), 62 deletions(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index b7bdd50a..9929aecb 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -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 }} @@ -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 }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 879ca31f..75f2b368 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 }} @@ -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 }} diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 38b7080c..f505e370 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -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://github.com/open-services-group/ are considered the project or its community. +under https://github.com/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 . diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 975a4c69..39e38c6d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,7 +1,7 @@ ## Contributing -[fork]: https://github.com/open-services-group/peribolos-as-a-service/fork -[pr]: https://github.com/open-services-group/peribolos-as-a-service/compare +[fork]: https://github.com/operate-first/peribolos-as-a-service/fork +[pr]: https://github.com/operate-first/peribolos-as-a-service/compare [code-of-conduct]: CODE_OF_CONDUCT.md [upstream]: https://github.com/kubernetes/test-infra/tree/master/prow/cmd/peribolos @@ -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://github.com/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://github.com/operate-first/peribolos-as-a-service/help%20wanted)! ## Submitting a pull request @@ -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= + kustomize edit set image quay.io/operate-first/peribolos-as-a-service= popd kustomize build manifests/overlays/dev | kubectl apply -f - diff --git a/README.md b/README.md index 284247bf..150574bf 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,28 @@

- Probot's logo, a cartoon robot + Probot's logo, a cartoon robot

Peribolos

GitHub organization management as code

- - GitHub tag (latest by date) + + GitHub tag (latest by date) - - Build Status + + Build Status - - GitHub last commit + + GitHub last commit - + License - - Reported bugs + + Reported bugs - - Feature requests + + Feature requests

@@ -65,10 +65,10 @@ See [`ACKNOWLEDGMENTS.md`](ACKNOWLEDGMENTS.md). Route status
- - Controller image + + Controller image
- - Peribolos image + + Peribolos image

diff --git a/SECURITY.md b/SECURITY.md index 2de00a7a..09be194e 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -11,4 +11,4 @@ currently being supported with security updates. ## Reporting a Vulnerability -Please open a [new issue](https://github.com/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://github.com/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. diff --git a/SUPPORT.md b/SUPPORT.md index 2241ee79..13de67cc 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -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://github.com/open-services-group/peribolos-as-a-service/issues/new). +Questions, bug reports and feature requests can go to [GitHub issues](https://github.com/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: diff --git a/manifests/base/kustomization.yaml b/manifests/base/kustomization.yaml index bb8ba368..34379fc6 100644 --- a/manifests/base/kustomization.yaml +++ b/manifests/base/kustomization.yaml @@ -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 diff --git a/manifests/overlays/prod/kustomization.yaml b/manifests/overlays/prod/kustomization.yaml index 8d07b2ef..236f46d2 100644 --- a/manifests/overlays/prod/kustomization.yaml +++ b/manifests/overlays/prod/kustomization.yaml @@ -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 diff --git a/manifests/overlays/stage/kustomization.yaml b/manifests/overlays/stage/kustomization.yaml index 20105265..7bf23342 100644 --- a/manifests/overlays/stage/kustomization.yaml +++ b/manifests/overlays/stage/kustomization.yaml @@ -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 diff --git a/package-lock.json b/package-lock.json index bf0a53f8..bdcaec4c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,8 +8,8 @@ "name": "peribolos-as-a-service", "version": "1.0.1", "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": { @@ -1399,10 +1399,10 @@ "resolved": "https://registry.npmjs.org/@octokit/webhooks-types/-/webhooks-types-5.6.0.tgz", "integrity": "sha512-y3MqE6N6Ksg1+YV0sXVpW2WP7Y24h7rUp2hDJuzoqWdKGr7owmRDyHC72INwfCYNzura/vsNPXvc6Xbfp4wGGw==" }, - "node_modules/@open-services-group/probot-kubernetes": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@open-services-group/probot-kubernetes/-/probot-kubernetes-1.0.1.tgz", - "integrity": "sha512-711xiW6XsaIPxMHQ0HaxF1ZFI8necsE/nLcpVfvbJsudhHu6wq0CHDrjxdpgLoh1WfxS7Vrm06AIUaAzWJHv+g==", + "node_modules/@operate-first/probot-kubernetes": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@operate-first/probot-kubernetes/-/probot-kubernetes-1.0.0.tgz", + "integrity": "sha512-TghueGl+fpRWJirqwVfzcO2BOt/ODfvy3Gfds/jEUepXjmN44QHKhvD7sM/CmrPs8XSlLpU5W6H/jTGsdDdYVQ==", "dependencies": { "@kubernetes/client-node": "^0.16.3" }, @@ -1411,10 +1411,10 @@ "probot": "^12.2.3" } }, - "node_modules/@open-services-group/probot-metrics": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@open-services-group/probot-metrics/-/probot-metrics-1.0.1.tgz", - "integrity": "sha512-/5Gpc2MTGv0nUN9qHVLdyxWFPZo6Qio+uJ5ApVNePNhluHqX1e3t2ofXV1BrfW0rDad76AfPdCHG8U3kXL76zA==", + "node_modules/@operate-first/probot-metrics": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@operate-first/probot-metrics/-/probot-metrics-1.0.0.tgz", + "integrity": "sha512-E1Zj6DYbmnsKMNjQzXp0+Ufx3qshum1nOXWznQ65jPhwI/S/qCOAb4d/AGQNXTCY8DarwuudJnFn8fQzOFqXDw==", "dependencies": { "prom-client": "^14.0.1" }, @@ -14887,18 +14887,18 @@ "resolved": "https://registry.npmjs.org/@octokit/webhooks-types/-/webhooks-types-5.6.0.tgz", "integrity": "sha512-y3MqE6N6Ksg1+YV0sXVpW2WP7Y24h7rUp2hDJuzoqWdKGr7owmRDyHC72INwfCYNzura/vsNPXvc6Xbfp4wGGw==" }, - "@open-services-group/probot-kubernetes": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@open-services-group/probot-kubernetes/-/probot-kubernetes-1.0.1.tgz", - "integrity": "sha512-711xiW6XsaIPxMHQ0HaxF1ZFI8necsE/nLcpVfvbJsudhHu6wq0CHDrjxdpgLoh1WfxS7Vrm06AIUaAzWJHv+g==", + "@operate-first/probot-kubernetes": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@operate-first/probot-kubernetes/-/probot-kubernetes-1.0.0.tgz", + "integrity": "sha512-TghueGl+fpRWJirqwVfzcO2BOt/ODfvy3Gfds/jEUepXjmN44QHKhvD7sM/CmrPs8XSlLpU5W6H/jTGsdDdYVQ==", "requires": { "@kubernetes/client-node": "^0.16.3" } }, - "@open-services-group/probot-metrics": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@open-services-group/probot-metrics/-/probot-metrics-1.0.1.tgz", - "integrity": "sha512-/5Gpc2MTGv0nUN9qHVLdyxWFPZo6Qio+uJ5ApVNePNhluHqX1e3t2ofXV1BrfW0rDad76AfPdCHG8U3kXL76zA==", + "@operate-first/probot-metrics": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@operate-first/probot-metrics/-/probot-metrics-1.0.0.tgz", + "integrity": "sha512-E1Zj6DYbmnsKMNjQzXp0+Ufx3qshum1nOXWznQ65jPhwI/S/qCOAb4d/AGQNXTCY8DarwuudJnFn8fQzOFqXDw==", "requires": { "prom-client": "^14.0.1" } diff --git a/package.json b/package.json index 5069ca7d..6c076518 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "peribolos-as-a-service", "version": "1.0.1", "private": true, - "homepage": "https://github.com/open-services-group/peribolos-as-a-service", + "homepage": "https://github.com/operate-first/peribolos-as-a-service", "scripts": { "build": "tsc", "start": "node lib/index.js", @@ -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": { diff --git a/src/app.ts b/src/app.ts index ea71328e..dc9cc015 100644 --- a/src/app.ts +++ b/src/app.ts @@ -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, @@ -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',