Home - YakDriver/fardvag GitHub Wiki

Det här är sättet Wiki

Welcome to the Färdväg wiki! Helping me organize Terraform/AWS work since 2018.

Att Göra

Tech debty

  • Generate aws sdk v2 clients
  • Move names CSV to HCL
  • Maintain github action, move to Hashi

Other

Snabblänkar

TF_ACC=1 go test ./internal/service/iam -v -count 1 -parallel 20 -run='TestAcc' -timeout=180m
TF_ACC=1 go test ./internal/sweep -v -tags=sweep -sweep-run=aws_config_aggregate_authorization -sweep=$AWS_DEFAULT_REGION -sweep-allow-failures -timeout=1h
echo "PR,Modify,Comments,Thumbs,Size" > prs.test.csv
gh pr list --json number,reactionGroups,comments,maintainerCanModify,labels --limit 1000 | jq -r '.[] | {pr:.number, modifiable:.maintainerCanModify, comments:(.comments | length), count:(if .reactionGroups[0].content=="THUMBS_UP" then .reactionGroups[0].users.totalCount else 0 end)} + (.labels[].name | capture("size/(?<size>[A-Z]+)")) | join(",")' >> prs.test.csv
echo "Issue,Comments,Thumbs" > issues.test.csv
gh issue list --json number,reactionGroups,comments --limit 1000 | jq -r '.[] | {issue:.number, comments:(.comments | length), count:(if .reactionGroups[0].content=="THUMBS_UP" then .reactionGroups[0].users.totalCount else 0 end)} | join(",")' >> issues.test.csv
echo "Issue,Comments,Thumbs" > issues.test.csv
gh issue list --json number,reactionGroups,comments --limit 2500 | jq -r '.[] | {issue:.number, comments:(.comments | length), count:(if .reactionGroups[0].content=="THUMBS_UP" then .reactionGroups[0].users.totalCount else 0 end)} | join(",")' >> issues.test.csv
⚠️ **GitHub.com Fallback** ⚠️