Skip to content

Commit

Permalink
Merge pull request #28797 from upodroid/revert-28668-move-sync-script…
Browse files Browse the repository at this point in the history
…-repo

Revert "Move the sync script to the registry.k8s.io repo"
  • Loading branch information
k8s-ci-robot committed Feb 20, 2023
2 parents f6cb3f5 + 06f8f75 commit 0daf074
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ periodics:
testgrid-num-failures-to-alert: "1"
extra_refs:
- org: kubernetes
repo: registry.k8s.io
repo: k8s.io
base_ref: main
rerun_auth_config:
github_team_slugs:
Expand All @@ -28,15 +28,17 @@ periodics:
- -c
- |
aws sts get-caller-identity
git clone https://github.com/kubernetes/k8s.io /tmp/workspace/kubernetes/k8s.io
cd /tmp/workspace/kubernetes/k8s.io/registry.k8s.io
echo "initiating a sync between GCS and S3..."
./hack/tools/sync-to-s3.sh
./hack/initial-copy-to-s3.sh
env:
- name: AWS_ROLE_ARN
value: arn:aws:iam::513428760722:role/registry.k8s.io_s3writer
- name: AWS_WEB_IDENTITY_TOKEN_FILE
value: /var/run/secrets/aws-iam-token/serviceaccount/token
- name: AWS_REGION
value: us-east-2
value: us-east-1
volumeMounts:
- mountPath: /var/run/secrets/aws-iam-token/serviceaccount
name: aws-iam-token
Expand Down

0 comments on commit 0daf074

Please sign in to comment.