Skip to content

Commit

Permalink
fix: fix path
Browse files Browse the repository at this point in the history
Signed-off-by: Kami Wan <kamiwan@iMac-Pro.local>
  • Loading branch information
KaimingWan authored and Kami Wan committed Jun 4, 2024
1 parent c18389d commit 97cc1ac
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/prepare-vs-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ jobs:
sed -i "s/\${TF_BACKEND_BUCKET}/$TF_BACKEND_BUCKET/g" "provision-kafka-aws.tf"
sed -i "s/\${TF_BACKEND_KEY}/$TF_BACKEND_KEY-${{ env.CLOUD_PROVIDER }}-${{ env.STREAMING_PROVIDER }}/g" "provision-kafka-aws.tf"
sed -i "s/\${TF_BACKEND_REGION}/$REGION/g" "provision-kafka-aws.tf"
sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars"
sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars"
sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" $GITHUB_WORKSPACE/driver-${{ env.STREAMING_PROVIDER }}/deploy/${{ inputs.cloud_provider }}/var.tfvars
sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" $GITHUB_WORKSPACE/driver-${{ env.STREAMING_PROVIDER }}/deploy/${{ inputs.cloud_provider }}/var.tfvars
env:
## sed match only support ENV rather than expression like ${{ secrets.TF_BACKEND_BUCKET }}
TF_BACKEND_BUCKET: ${{ secrets.TF_BACKEND_BUCKET }}
Expand Down Expand Up @@ -202,8 +202,8 @@ jobs:
sed -i "s/\${TF_BACKEND_BUCKET}/$TF_BACKEND_BUCKET/g" "provision-kafka-aws.tf"
sed -i "s/\${TF_BACKEND_KEY}/$TF_BACKEND_KEY-${{ env.CLOUD_PROVIDER }}-${{ env.STREAMING_PROVIDER }}/g" "provision-kafka-aws.tf"
sed -i "s/\${TF_BACKEND_REGION}/$REGION/g" "provision-kafka-aws.tf"
sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars"
sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars"
sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" $GITHUB_WORKSPACE/driver-${{ env.STREAMING_PROVIDER }}/deploy/${{ inputs.cloud_provider }}/var.tfvars
sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" $GITHUB_WORKSPACE/driver-${{ env.STREAMING_PROVIDER }}/deploy/${{ inputs.cloud_provider }}/var.tfvars
env:
## sed match only support ENV rather than expression like ${{ secrets.TF_BACKEND_BUCKET }}
TF_BACKEND_BUCKET: ${{ secrets.TF_BACKEND_BUCKET }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/prepare-vs-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ jobs:
sed -i "s/\${TF_BACKEND_BUCKET}/$TF_BACKEND_BUCKET/g" "provision-kafka-aws.tf"
sed -i "s/\${TF_BACKEND_KEY}/$TF_BACKEND_KEY-${{ env.CLOUD_PROVIDER }}-${{ env.STREAMING_PROVIDER }}/g" "provision-kafka-aws.tf"
sed -i "s/\${TF_BACKEND_REGION}/$REGION/g" "provision-kafka-aws.tf"
sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars"
sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars"
sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" $GITHUB_WORKSPACE/driver-${{ env.STREAMING_PROVIDER }}/deploy/${{ inputs.cloud_provider }}/var.tfvars
sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" $GITHUB_WORKSPACE/driver-${{ env.STREAMING_PROVIDER }}/deploy/${{ inputs.cloud_provider }}/var.tfvars
env:
## sed match only support ENV rather than expression like ${{ secrets.TF_BACKEND_BUCKET }}
TF_BACKEND_BUCKET: ${{ secrets.TF_BACKEND_BUCKET }}
Expand Down Expand Up @@ -196,8 +196,8 @@ jobs:
sed -i "s/\${TF_BACKEND_BUCKET}/$TF_BACKEND_BUCKET/g" "provision-kafka-aws.tf"
sed -i "s/\${TF_BACKEND_KEY}/$TF_BACKEND_KEY-${{ env.CLOUD_PROVIDER }}-${{ env.STREAMING_PROVIDER }}/g" "provision-kafka-aws.tf"
sed -i "s/\${TF_BACKEND_REGION}/$REGION/g" "provision-kafka-aws.tf"
sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars"
sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars"
sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" $GITHUB_WORKSPACE/driver-${{ env.STREAMING_PROVIDER }}/deploy/${{ inputs.cloud_provider }}/var.tfvars
sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" $GITHUB_WORKSPACE/driver-${{ env.STREAMING_PROVIDER }}/deploy/${{ inputs.cloud_provider }}/var.tfvars
env:
## sed match only support ENV rather than expression like ${{ secrets.TF_BACKEND_BUCKET }}
TF_BACKEND_BUCKET: ${{ secrets.TF_BACKEND_BUCKET }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/prepare-vs-uninstall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ jobs:
sed -i "s/\${TF_BACKEND_BUCKET}/$TF_BACKEND_BUCKET/g" "provision-kafka-aws.tf"
sed -i "s/\${TF_BACKEND_KEY}/$TF_BACKEND_KEY-${{ env.CLOUD_PROVIDER }}-${{ env.STREAMING_PROVIDER }}/g" "provision-kafka-aws.tf"
sed -i "s/\${TF_BACKEND_REGION}/$REGION/g" "provision-kafka-aws.tf"
sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars"
sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars"
sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" $GITHUB_WORKSPACE/driver-${{ env.STREAMING_PROVIDER }}/deploy/${{ inputs.cloud_provider }}/var.tfvars
sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" $GITHUB_WORKSPACE/driver-${{ env.STREAMING_PROVIDER }}/deploy/${{ inputs.cloud_provider }}/var.tfvars
env:
## sed match only support ENV rather than expression like ${{ secrets.TF_BACKEND_BUCKET }}
TF_BACKEND_BUCKET: ${{ secrets.TF_BACKEND_BUCKET }}
Expand Down Expand Up @@ -202,8 +202,8 @@ jobs:
sed -i "s/\${TF_BACKEND_BUCKET}/$TF_BACKEND_BUCKET/g" "provision-kafka-aws.tf"
sed -i "s/\${TF_BACKEND_KEY}/$TF_BACKEND_KEY-${{ env.CLOUD_PROVIDER }}-${{ env.STREAMING_PROVIDER }}/g" "provision-kafka-aws.tf"
sed -i "s/\${TF_BACKEND_REGION}/$REGION/g" "provision-kafka-aws.tf"
sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars"
sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" "$GITHUB_WORKSPACE/driver-shared/deploy/${{ inputs.cloud_provider }}/var.tfvars"
sed -i "s/\${AUTOMQ_ACCESS_KEY}/${{ secrets.AUTOMQ_ACCESS_KEY }}/g" $GITHUB_WORKSPACE/driver-${{ env.STREAMING_PROVIDER }}/deploy/${{ inputs.cloud_provider }}/var.tfvars
sed -i "s/\${AUTOMQ_SECRET_KEY}/${{ secrets.AUTOMQ_SECRET_KEY }}/g" $GITHUB_WORKSPACE/driver-${{ env.STREAMING_PROVIDER }}/deploy/${{ inputs.cloud_provider }}/var.tfvars
env:
## sed match only support ENV rather than expression like ${{ secrets.TF_BACKEND_BUCKET }}
TF_BACKEND_BUCKET: ${{ secrets.TF_BACKEND_BUCKET }}
Expand Down

0 comments on commit 97cc1ac

Please sign in to comment.