Skip to content

Commit

Permalink
rename-sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhadas committed Jul 13, 2023
1 parent 67bcbb5 commit 1caa991
Show file tree
Hide file tree
Showing 201 changed files with 629 additions and 629 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/knative-go-build.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2020 The Knative Authors.
# SPDX-License-Identifier: Apache-2.0

# This file is automagically synced here from github.com/knative-sandbox/knobots
# This file is automagically synced here from github.com/knative-extensions/knobots

name: Build

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/knative-go-test.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2022 The Knative Authors.
# SPDX-License-Identifier: Apache-2.0

# This file is automagically synced here from github.com/knative-sandbox/knobots
# This file is automagically synced here from github.com/knative-extensions/knobots

name: Test

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/knative-security.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2020 The Knative Authors.
# SPDX-License-Identifier: Apache-2.0

# This file is automagically synced here from github.com/knative-sandbox/knobots
# This file is automagically synced here from github.com/knative-extensions/knobots

name: 'Security'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/knative-stale.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2020 The Knative Authors.
# SPDX-License-Identifier: Apache-2.0

# This file is automagically synced here from github.com/knative-sandbox/knobots
# This file is automagically synced here from github.com/knative-extensions/knobots
name: 'Close stale'

on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/knative-style.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2020 The Knative Authors.
# SPDX-License-Identifier: Apache-2.0

# This file is automagically synced here from github.com/knative-sandbox/knobots
# This file is automagically synced here from github.com/knative-extensions/knobots

name: Code Style

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/knative-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# This file is automagically synced here from github.com/knative-sandbox/.github
# repo by knobots: https://github.com/knative-sandbox/knobots and will be overwritten.
# This file is automagically synced here from github.com/knative-extensions/.github
# repo by knobots: https://github.com/knative-extensions/knobots and will be overwritten.

name: Verify

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ The Productivity Working Group also has other repos:

Release documentation and tools

- [knative-sandbox/.github](https://github.com/knative-sandbox/.github)
- [knative-extensions/.github](https://github.com/knative-extensions/.github)

Tools for github actions

- [knative-sandbox/kperf](https://github.com/knative-sandbox/kperf)
- [knative-extensions/kperf](https://github.com/knative-extensions/kperf)

A performance test framework

- [knative-sandbox/knobots](https://github.com/knative-sandbox/knobots)
- [knative-extensions/knobots](https://github.com/knative-extensions/knobots)

Automated pull requests to fix up the code (based on github actions)

Expand Down
20 changes: 10 additions & 10 deletions config/prow/k8s-testgrid/k8s-testgrid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dashboard_groups:
- sample-source
- scaling-group
- security-guard
name: knative-sandbox
name: knative-extensions
dashboards:
- name: async-component
- name: client
Expand Down Expand Up @@ -83,15 +83,15 @@ dashboards:
- name: kn-plugin-source-kamelet
- name: knative-release-1.10
- name: knative-release-1.9
- name: knative-sandbox-release-0.4
- name: knative-sandbox-release-0.5
- name: knative-sandbox-release-1.0
- name: knative-sandbox-release-1.1
- name: knative-sandbox-release-1.10
- name: knative-sandbox-release-1.2
- name: knative-sandbox-release-1.3
- name: knative-sandbox-release-1.4
- name: knative-sandbox-release-1.9
- name: knative-extensions-release-0.4
- name: knative-extensions-release-0.5
- name: knative-extensions-release-1.0
- name: knative-extensions-release-1.1
- name: knative-extensions-release-1.10
- name: knative-extensions-release-1.2
- name: knative-extensions-release-1.3
- name: knative-extensions-release-1.4
- name: knative-extensions-release-1.9
- name: net-certmanager
- name: net-contour
- name: net-gateway-api
Expand Down
4 changes: 2 additions & 2 deletions guides/slack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Since Knative uses slack for a lot of communications, there are also bots which

## GitHub Actions automation

GitHub Actions get access to Slack via the `SLACK_WEBHOOK` secret inherited across the `knative` and `knative-sandbox` orgs. (Both orgs use the same value for the secret, but each has their own secret.) You may need to find someone on TOC or Steering to help out with configuring the org-level secrets.
GitHub Actions get access to Slack via the `SLACK_WEBHOOK` secret inherited across the `knative` and `knative-extensions` orgs. (Both orgs use the same value for the secret, but each has their own secret.) You may need to find someone on TOC or Steering to help out with configuring the org-level secrets.

On the Slack side, the SLACK_WEBHOOK comes from the "Incoming WebHooks" integration, which provides an API endpoint ("incoming" from the point of view of Slack) which can be used to post events to different channels. The API endpoint itself acts as a secret token to authorize the usage, and the poster is flagged as an app but can otherwise change the message appearance (rich text, etc) as well as the posting name and channel through the POST metadata.

Expand All @@ -15,4 +15,4 @@ Click on the "configure" icon associated with the active configuration (there is
Once you're in the Configuration page, there is a "Regenerate" option on the "Webhook URL" which will allow you to rotate the existing credentials by creating a new secret:
![WebHook integration details](webhook-url.png)

Once you have the new URL (copied from the page after selecting "regenerate"), you'll need to update the `SLACK_WEBHOOK` secret in both the [`knative`](https://github.com/organizations/knative/settings/secrets/actions) and [`knative-sandbox`](https://github.com/organizations/knative-sandbox/settings/secrets/actions) organizations. Note that as soon as you select "regenerate" in Slack, the old webhook will stop working, so the entire operation should be completed within a half hour or so if possible.
Once you have the new URL (copied from the page after selecting "regenerate"), you'll need to update the `SLACK_WEBHOOK` secret in both the [`knative`](https://github.com/organizations/knative/settings/secrets/actions) and [`knative-extensions`](https://github.com/organizations/knative-extensions/settings/secrets/actions) organizations. Note that as soon as you select "regenerate" in Slack, the old webhook will stop working, so the entire operation should be completed within a half hour or so if possible.
12 changes: 6 additions & 6 deletions prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ tide:
queries:
- orgs:
- "knative"
- "knative-sandbox"
- "knative-extensions"
excludedRepos: &knative_excluded_repos
- knative/build
- knative/build-templates
Expand All @@ -192,7 +192,7 @@ tide:
- needs-rebase
- orgs:
- "knative"
- "knative-sandbox"
- "knative-extensions"
excludedRepos: *knative_excluded_repos
labels:
- "skip-review"
Expand All @@ -209,7 +209,7 @@ tide:
reviewApprovedRequired: false
merge_method:
knative: squash
knative-sandbox: squash
knative-extensions: squash
target_url: https://prow.knative.dev/tide
pr_status_base_urls:
'*': https://prow.knative.dev/pr
Expand All @@ -230,7 +230,7 @@ tide:
skip-unknown-contexts: true
docs:
skip-unknown-contexts: true
knative-sandbox:
knative-extensions:
repos:
async-component:
skip-unknown-contexts: true
Expand Down Expand Up @@ -259,8 +259,8 @@ branch-protection:
# Allows a child to disable all protection even if the branch has inherited protection options from a parent.
allow_disabled_policies: true
orgs:
knative-sandbox:
# Protect all branches in knative-sandbox
knative-extensions:
# Protect all branches in knative-extensions
protect: true
required_status_checks:
contexts:
Expand Down
6 changes: 3 additions & 3 deletions prow/jobs/custom/label-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ presubmits:
- --config=label_sync/labels.yaml
# Set --confirm=false to only validate the configuration file.
- --confirm=false
- --orgs=knative-sandbox,knative
- --orgs=knative-extensions,knative
# We have to still use the GitHub oauth token for authentication, since
# https://github.com/knative/test-infra/pull/3198 change and having
# --confirm=false. This happens with peribolos as well.
Expand Down Expand Up @@ -74,7 +74,7 @@ periodics:
args:
- --config=label_sync/labels.yaml
- --confirm=true
- --orgs=knative-sandbox,knative
- --orgs=knative-extensions,knative
- --github-app-id=$(GITHUB_APP_ID)
- --github-app-private-key-path=/etc/github/cert
- "--github-hourly-tokens=2000"
Expand Down Expand Up @@ -124,7 +124,7 @@ postsubmits:
args:
- --config=label_sync/labels.yaml
- --confirm=true
- --orgs=knative-sandbox,knative
- --orgs=knative-extensions,knative
- --github-app-id=$(GITHUB_APP_ID)
- --github-app-private-key-path=/etc/github/cert
- "--github-hourly-tokens=2000"
Expand Down
22 changes: 11 additions & 11 deletions prow/jobs/custom/peribolos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ presubmits:
secretName: github-token-for-peribolos

# Run on the prow-trusted build cluster as it needs access to the github oauth token.
- name: pull-knative-sandbox-peribolos
- name: pull-knative-extensions-peribolos
agent: kubernetes
decorate: true
path_alias: knative.dev/community
run_if_changed: "^peribolos/knative-sandbox.yaml$"
run_if_changed: "^peribolos/knative-extensions.yaml$"
cluster: "prow-trusted"
branches:
- "main"
Expand All @@ -72,7 +72,7 @@ presubmits:
- "peribolos"
args:
- "--allow-repo-archival"
- "--config-path=peribolos/knative-sandbox.yaml"
- "--config-path=peribolos/knative-extensions.yaml"
# We have to still use the GitHub oauth token for authentication, since
# peribolos does not allow using GitHub app token when having
# --confirm=false.
Expand Down Expand Up @@ -152,12 +152,12 @@ postsubmits:
secret:
secretName: github-token
# Run on the prow-trusted build cluster as it needs access to the github oauth token.
- name: post-knative-sandbox-peribolos
- name: post-knative-extensions-peribolos
agent: kubernetes
decorate: true
path_alias: knative.dev/community
max_concurrency: 1
run_if_changed: "^peribolos/knative-sandbox.yaml$"
run_if_changed: "^peribolos/knative-extensions.yaml$"
cluster: "prow-trusted"
branches:
- "main"
Expand All @@ -166,18 +166,18 @@ postsubmits:
channel: knative-productivity
job_states_to_report:
- failure
report_template: '"The knative-sandbox peribolos postsubmit job fails, check the log: <{{.Status.URL}}|View logs>"'
report_template: '"The knative-extensions peribolos postsubmit job fails, check the log: <{{.Status.URL}}|View logs>"'
annotations:
testgrid-dashboards: utilities
testgrid-tab-name: post-knative-sandbox-peribolos
testgrid-tab-name: post-knative-extensions-peribolos
spec:
containers:
- image: gcr.io/k8s-prow/peribolos:v20230519-bb3c69e522
command:
- "peribolos"
args:
- "--allow-repo-archival"
- "--config-path=peribolos/knative-sandbox.yaml"
- "--config-path=peribolos/knative-extensions.yaml"
- --github-app-id=$(GITHUB_APP_ID)
- --github-app-private-key-path=/etc/github/cert
- "--github-hourly-tokens=2000"
Expand Down Expand Up @@ -257,7 +257,7 @@ periodics:
secretName: github-token
# Run at 10AM PST.
- cron: "0 17 * * *"
name: ci-knative-sandbox-peribolos
name: ci-knative-extensions-peribolos
agent: kubernetes
decorate: true
cluster: "prow-trusted"
Expand All @@ -268,14 +268,14 @@ periodics:
path_alias: knative.dev/community
annotations:
testgrid-dashboards: utilities
testgrid-tab-name: ci-knative-sandbox-peribolos
testgrid-tab-name: ci-knative-extensions-peribolos
spec:
containers:
- image: gcr.io/k8s-prow/peribolos:v20230519-bb3c69e522
command:
- "peribolos"
args:
- "--config-path=peribolos/knative-sandbox.yaml"
- "--config-path=peribolos/knative-extensions.yaml"
- --github-app-id=$(GITHUB_APP_ID)
- --github-app-private-key-path=/etc/github/cert
- "--github-hourly-tokens=2000"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ periodics:
decorate: true
extra_refs:
- base_ref: main
org: knative-sandbox
org: knative-extensions
path_alias: knative.dev/async-component
repo: async-component
name: continuous_async-component_main_periodic
Expand Down Expand Up @@ -56,7 +56,7 @@ periodics:
decorate: true
extra_refs:
- base_ref: main
org: knative-sandbox
org: knative-extensions
path_alias: knative.dev/async-component
repo: async-component
name: nightly_async-component_main_periodic
Expand Down Expand Up @@ -101,7 +101,7 @@ periodics:
decorate: true
extra_refs:
- base_ref: main
org: knative-sandbox
org: knative-extensions
path_alias: knative.dev/async-component
repo: async-component
name: release_async-component_main_periodic
Expand All @@ -123,7 +123,7 @@ periodics:
- name: E2E_CLUSTER_REGION
value: us-central1
- name: ORG_NAME
value: knative-sandbox
value: knative-extensions
- name: ATTEST_IMAGES
value: "true"
image: gcr.io/knative-tests/test-infra/prow-tests:v20230524-d6a12e8c
Expand Down Expand Up @@ -155,7 +155,7 @@ periodics:
path: service-account.json
secretName: prow-google-credentials
presubmits:
knative-sandbox/async-component:
knative-extensions/async-component:
- always_run: true
branches:
- ^main$
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# #######################################################################

presubmits:
knative-sandbox/discovery:
knative-extensions/discovery:
- always_run: true
branches:
- ^main$
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ periodics:
decorate: true
extra_refs:
- base_ref: main
org: knative-sandbox
org: knative-extensions
path_alias: knative.dev/eventing-autoscaler-keda
repo: eventing-autoscaler-keda
name: continuous_eventing-autoscaler-keda_main_periodic
Expand Down Expand Up @@ -56,7 +56,7 @@ periodics:
decorate: true
extra_refs:
- base_ref: main
org: knative-sandbox
org: knative-extensions
path_alias: knative.dev/eventing-autoscaler-keda
repo: eventing-autoscaler-keda
max_concurrency: 1
Expand Down Expand Up @@ -102,7 +102,7 @@ periodics:
decorate: true
extra_refs:
- base_ref: main
org: knative-sandbox
org: knative-extensions
path_alias: knative.dev/eventing-autoscaler-keda
repo: eventing-autoscaler-keda
max_concurrency: 1
Expand All @@ -125,7 +125,7 @@ periodics:
- name: E2E_CLUSTER_REGION
value: us-central1
- name: ORG_NAME
value: knative-sandbox
value: knative-extensions
- name: ATTEST_IMAGES
value: "true"
image: gcr.io/knative-tests/test-infra/prow-tests:v20230524-d6a12e8c
Expand Down Expand Up @@ -157,7 +157,7 @@ periodics:
path: service-account.json
secretName: prow-google-credentials
presubmits:
knative-sandbox/eventing-autoscaler-keda:
knative-extensions/eventing-autoscaler-keda:
- always_run: true
branches:
- ^main$
Expand Down
Loading

0 comments on commit 1caa991

Please sign in to comment.