Skip to content

Commit

Permalink
Merge pull request #1745 from dims/switch-to-new-s3-bucket-in-aws-com…
Browse files Browse the repository at this point in the history
…munity-account

Switch to new s3 bucket in AWS community account
  • Loading branch information
k8s-ci-robot authored Sep 16, 2023
2 parents baf69b0 + 2e1b9db commit d3abad3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hack/e2e/metrics/metrics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ upload_metrics() {
aws s3api put-bucket-notification-configuration \
--bucket "$SOURCE_BUCKET" \
--notification-configuration "$notification_config" \
--region "$AWS_REGION"
--region "$AWS_REGION" || (echo -e "\nERROR: Skipping uploading metrics ...\n" && return)

log "Uploading metrics to S3 bucket $SOURCE_BUCKET"
aws s3 sync "$METRICS_DIR_PATH" "s3://$SOURCE_BUCKET/$METRICS_DIR_NAME" --region "$AWS_REGION"
Expand Down
2 changes: 1 addition & 1 deletion hack/e2e/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ K8S_VERSION_KOPS=${K8S_VERSION_KOPS:-${K8S_VERSION:-1.27.4}}
K8S_VERSION_EKSCTL=${K8S_VERSION_EKSCTL:-${K8S_VERSION:-1.27}}

KOPS_VERSION=${KOPS_VERSION:-1.27.1}
KOPS_STATE_FILE=${KOPS_STATE_FILE:-s3://k8s-kops-csi-e2e}
KOPS_STATE_FILE=${KOPS_STATE_FILE:-s3://k8s-kops-csi-shared-e2e}
KOPS_PATCH_FILE=${KOPS_PATCH_FILE:-./hack/kops-patch.yaml}
KOPS_PATCH_NODE_FILE=${KOPS_PATCH_NODE_FILE:-./hack/kops-patch-node.yaml}
AMI_ID=$(aws ssm get-parameters --names /aws/service/ami-amazon-linux-latest/al2023-ami-kernel-default-x86_64 --region ${REGION} --query 'Parameters[0].Value' --output text)
Expand Down

0 comments on commit d3abad3

Please sign in to comment.