Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into all_ns
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrienkoAleksandr committed Oct 18, 2021
2 parents 2e57197 + 129a393 commit 8768d82
Show file tree
Hide file tree
Showing 2,105 changed files with 45,386 additions and 10,790 deletions.
14 changes: 13 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ release-controllers:
./hack/generators/release-controllers/generate-release-controllers.py .

checkconfig:
$(CONTAINER_ENGINE) run --rm -v "$(CURDIR):/release:z" gcr.io/k8s-prow/checkconfig:v20210927-8d536b6b41 --config-path /release/core-services/prow/02_config/_config.yaml --job-config-path /release/ci-operator/jobs/ --plugin-config /release/core-services/prow/02_config/_plugins.yaml --supplemental-plugin-config-dir /release/core-services/prow/02_config --strict --exclude-warning long-job-names --exclude-warning mismatched-tide-lenient
$(CONTAINER_ENGINE) run --rm -v "$(CURDIR):/release:z" gcr.io/k8s-prow/checkconfig:v20211015-ed5bdc5c27 --config-path /release/core-services/prow/02_config/_config.yaml --job-config-path /release/ci-operator/jobs/ --plugin-config /release/core-services/prow/02_config/_plugins.yaml --supplemental-plugin-config-dir /release/core-services/prow/02_config --strict --exclude-warning long-job-names --exclude-warning mismatched-tide-lenient

jobs: ci-operator-checkconfig
$(CONTAINER_ENGINE) pull registry.ci.openshift.org/ci/ci-operator-prowgen:latest
Expand Down Expand Up @@ -288,3 +288,15 @@ config_updater_vault_secret:
oc --context "$(cluster)" sa create-kubeconfig -n ci config-updater > "$(build_farm_credentials_folder)/sa.config-updater.$(cluster).config"
make ci-secret-generator
.PHONY: config_updater_vault_secret

# Need to run inside Red Had network
update_github_ldap_mapping_config_map:
ldapsearch -LLL -x -h ldap.corp.redhat.com -b ou=users,dc=redhat,dc=com '(rhatSocialURL=GitHub*)' rhatSocialURL uid 2>&1 | tee /tmp/out
$(CONTAINER_ENGINE) pull registry.ci.openshift.org/ci/ldap-users-from-github-owners-files:latest
$(CONTAINER_ENGINE) run --rm \
-v "/tmp:/tmp:z" \
registry.ci.openshift.org/ci/ldap-users-from-github-owners-files:latest \
-ldap-file /tmp/out \
-mapping-file /tmp/mapping.yaml
oc --context app.ci -n ci create configmap github-ldap-mapping --from-file=mapping.yaml=/tmp/mapping.yaml --dry-run=client -o yaml | oc --context app.ci -n ci apply -f -
.PHONY: update_github_ldap_mapping_config_map
13 changes: 5 additions & 8 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
approvers:
- dptp
- alvaroaleman
- AlexNPavel
- stevekuznetsov
- smarterclayton
- bbguimaraes
- droslean
- hongkailiu
- petr-muller
- AlexNPavel
- alvaroaleman
- emilvberglind
- smg247
- jupierce
reviewers:
- dptp
Loading

0 comments on commit 8768d82

Please sign in to comment.