Skip to content

Commit 31f4616

Browse files
authored
ci: rename testing diff tool to: custard (#3995)
* ci: rename testing diff tool to: custard Rename the diffing and ci-setup.json helper tool to `custard` to match name change in `cloud-samples-tools` repo. * fix: increment tag
1 parent 5eaff3c commit 31f4616

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/ci-dev.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -40,25 +40,25 @@ jobs:
4040
- uses: actions/checkout@v4
4141
with:
4242
repository: GoogleCloudPlatform/cloud-samples-tools
43-
ref: v0.1.0
43+
ref: v0.2.1
4444
path: cloud-samples-tools
4545
- name: Create `bin` directory for cloud-samples-tools binaries
4646
run: mkdir bin
4747
working-directory: cloud-samples-tools
4848
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
4949
with:
5050
go-version: ${{ env.GO_VERSION }}
51-
- name: Build Ariwete (from cloud-samples-tools)
51+
- name: Build Custard (from cloud-samples-tools)
5252
run: go build -o ../bin -v ./...
53-
working-directory: cloud-samples-tools/ariwete
53+
working-directory: cloud-samples-tools/custard
5454
- name: Get diffs
5555
run: git --no-pager diff --name-only HEAD origin/main | tee diffs.txt
5656
- name: Find Node.js affected packages
5757
id: nodejs
5858
run: |
59-
echo "paths=$(./cloud-samples-tools/bin/ariwete affected .github/config/nodejs-dev.jsonc diffs.txt paths.txt)" >> $GITHUB_OUTPUT
59+
echo "paths=$(./cloud-samples-tools/bin/custard affected .github/config/nodejs-dev.jsonc diffs.txt paths.txt)" >> $GITHUB_OUTPUT
6060
cat paths.txt
61-
echo "setups=$(./cloud-samples-tools/bin/ariwete setup-files .github/config/nodejs-dev.jsonc paths.txt)" >> $GITHUB_OUTPUT
61+
echo "setups=$(./cloud-samples-tools/bin/custard setup-files .github/config/nodejs-dev.jsonc paths.txt)" >> $GITHUB_OUTPUT
6262
6363
nodejs-test:
6464
name: Node.js test

.github/workflows/ci-prod.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -40,25 +40,25 @@ jobs:
4040
- uses: actions/checkout@v4
4141
with:
4242
repository: GoogleCloudPlatform/cloud-samples-tools
43-
ref: v0.1.0
43+
ref: v0.2.1
4444
path: cloud-samples-tools
4545
- name: Create `bin` directory for cloud-samples-tools binaries
4646
run: mkdir bin
4747
working-directory: cloud-samples-tools
4848
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
4949
with:
5050
go-version: ${{ env.GO_VERSION }}
51-
- name: Build Ariwete (from cloud-samples-tools)
51+
- name: Build Custard (from cloud-samples-tools)
5252
run: go build -o ../bin -v ./...
53-
working-directory: cloud-samples-tools/ariwete
53+
working-directory: cloud-samples-tools/custard
5454
- name: Get diffs
5555
run: git --no-pager diff --name-only HEAD origin/main | tee diffs.txt
5656
- name: Find Node.js affected packages
5757
id: nodejs
5858
run: |
59-
echo "paths=$(./cloud-samples-tools/bin/ariwete affected .github/config/nodejs-prod.jsonc diffs.txt paths.txt)" >> $GITHUB_OUTPUT
59+
echo "paths=$(./cloud-samples-tools/bin/custard affected .github/config/nodejs-prod.jsonc diffs.txt paths.txt)" >> $GITHUB_OUTPUT
6060
cat paths.txt
61-
echo "setups=$(./cloud-samples-tools/bin/ariwete setup-files .github/config/nodejs-prod.jsonc paths.txt)" >> $GITHUB_OUTPUT
61+
echo "setups=$(./cloud-samples-tools/bin/custard setup-files .github/config/nodejs-prod.jsonc paths.txt)" >> $GITHUB_OUTPUT
6262
6363
nodejs-lint:
6464
name: Node.js lint

0 commit comments

Comments
 (0)