From 662c5c69598ed1a1f3f7777679d8b25e2af2c8d8 Mon Sep 17 00:00:00 2001 From: Tmonster Date: Tue, 3 Sep 2024 18:12:47 +0200 Subject: [PATCH 1/7] fix var that is passed --- .github/workflows/test-fuzzer-ci-still-works.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-fuzzer-ci-still-works.yml b/.github/workflows/test-fuzzer-ci-still-works.yml index f67ad990..68187398 100644 --- a/.github/workflows/test-fuzzer-ci-still-works.yml +++ b/.github/workflows/test-fuzzer-ci-still-works.yml @@ -12,7 +12,7 @@ jobs: name: Build DuckDB uses: duckdblabs/duckdb-fuzzer-ci/.github/workflows/build_fuzzer.yml@main with: - git_url: ${{ github.actor }} + git_url: ${{ github.GITHUB_REPOSITORY }} git_tag: ${{ github.ref_name }} timeout-minutes: 120 From e1afb07918b8fc8fb03f6d929a5187fe9ab5d32f Mon Sep 17 00:00:00 2001 From: Tmonster Date: Tue, 3 Sep 2024 18:14:21 +0200 Subject: [PATCH 2/7] try again --- .github/workflows/test-fuzzer-ci-still-works.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-fuzzer-ci-still-works.yml b/.github/workflows/test-fuzzer-ci-still-works.yml index 68187398..11c19796 100644 --- a/.github/workflows/test-fuzzer-ci-still-works.yml +++ b/.github/workflows/test-fuzzer-ci-still-works.yml @@ -12,7 +12,7 @@ jobs: name: Build DuckDB uses: duckdblabs/duckdb-fuzzer-ci/.github/workflows/build_fuzzer.yml@main with: - git_url: ${{ github.GITHUB_REPOSITORY }} + git_url: ${{ github.repository }} git_tag: ${{ github.ref_name }} timeout-minutes: 120 From 292196ce1cba146dc307d9be5e5004097f3e85ea Mon Sep 17 00:00:00 2001 From: Tmonster Date: Tue, 3 Sep 2024 18:22:53 +0200 Subject: [PATCH 3/7] trying another var --- .github/workflows/test-fuzzer-ci-still-works.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-fuzzer-ci-still-works.yml b/.github/workflows/test-fuzzer-ci-still-works.yml index 11c19796..0b218bdf 100644 --- a/.github/workflows/test-fuzzer-ci-still-works.yml +++ b/.github/workflows/test-fuzzer-ci-still-works.yml @@ -12,8 +12,8 @@ jobs: name: Build DuckDB uses: duckdblabs/duckdb-fuzzer-ci/.github/workflows/build_fuzzer.yml@main with: - git_url: ${{ github.repository }} - git_tag: ${{ github.ref_name }} + git_url: ${{ github.actor }}/${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} + git_tag: ${{ github.sha }} timeout-minutes: 120 fuzzer: From d7ced498133b0d765c2e6e8b9fdb4c4bbc363867 Mon Sep 17 00:00:00 2001 From: Tmonster Date: Tue, 3 Sep 2024 18:26:06 +0200 Subject: [PATCH 4/7] yes cool --- .github/workflows/test-fuzzer-ci-still-works.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-fuzzer-ci-still-works.yml b/.github/workflows/test-fuzzer-ci-still-works.yml index 0b218bdf..cf73f969 100644 --- a/.github/workflows/test-fuzzer-ci-still-works.yml +++ b/.github/workflows/test-fuzzer-ci-still-works.yml @@ -8,11 +8,21 @@ on: - '!main' jobs: + get-branch-name: + name: Get branch get-branch-name + shell: bash + run: | + echo "head ref =" + echo ${{ github.head_ref }} + echo "ref =" + echo ${{ github.ref }} + echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT + build-duckdb: name: Build DuckDB uses: duckdblabs/duckdb-fuzzer-ci/.github/workflows/build_fuzzer.yml@main with: - git_url: ${{ github.actor }}/${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} + git_url: ${{ github.actor }}/duckdb_sqlsmith git_tag: ${{ github.sha }} timeout-minutes: 120 From a81c4fce7e66c722e52f84215fb46a26d3a7e357 Mon Sep 17 00:00:00 2001 From: Tmonster Date: Tue, 3 Sep 2024 18:29:34 +0200 Subject: [PATCH 5/7] thank you very cool --- .github/workflows/test-fuzzer-ci-still-works.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/test-fuzzer-ci-still-works.yml b/.github/workflows/test-fuzzer-ci-still-works.yml index cf73f969..4b195fc6 100644 --- a/.github/workflows/test-fuzzer-ci-still-works.yml +++ b/.github/workflows/test-fuzzer-ci-still-works.yml @@ -8,22 +8,12 @@ on: - '!main' jobs: - get-branch-name: - name: Get branch get-branch-name - shell: bash - run: | - echo "head ref =" - echo ${{ github.head_ref }} - echo "ref =" - echo ${{ github.ref }} - echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT - build-duckdb: name: Build DuckDB uses: duckdblabs/duckdb-fuzzer-ci/.github/workflows/build_fuzzer.yml@main with: git_url: ${{ github.actor }}/duckdb_sqlsmith - git_tag: ${{ github.sha }} + git_tag: ${{ github.head_ref }} timeout-minutes: 120 fuzzer: From 17d33cef65b4b186a67fc10d925b5fd048ab58cd Mon Sep 17 00:00:00 2001 From: Tmonster Date: Wed, 4 Sep 2024 10:34:00 +0200 Subject: [PATCH 6/7] add no-git-checks:True --- .github/workflows/test-fuzzer-ci-still-works.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-fuzzer-ci-still-works.yml b/.github/workflows/test-fuzzer-ci-still-works.yml index 4b195fc6..af54ed81 100644 --- a/.github/workflows/test-fuzzer-ci-still-works.yml +++ b/.github/workflows/test-fuzzer-ci-still-works.yml @@ -37,4 +37,5 @@ jobs: data: ${{ matrix.data }} timeout-minutes: 20 max_queries: 10 + no-git-checks: True enable_verification: ${{ matrix.enable_verification }} \ No newline at end of file From 4f166eff459f6acb97269d64023e2e793c024c7b Mon Sep 17 00:00:00 2001 From: Tmonster Date: Wed, 4 Sep 2024 13:18:49 +0200 Subject: [PATCH 7/7] ok cool --- .github/workflows/test-fuzzer-ci-still-works.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-fuzzer-ci-still-works.yml b/.github/workflows/test-fuzzer-ci-still-works.yml index af54ed81..7dda921b 100644 --- a/.github/workflows/test-fuzzer-ci-still-works.yml +++ b/.github/workflows/test-fuzzer-ci-still-works.yml @@ -38,4 +38,7 @@ jobs: timeout-minutes: 20 max_queries: 10 no-git-checks: True - enable_verification: ${{ matrix.enable_verification }} \ No newline at end of file + enable_verification: ${{ matrix.enable_verification }} + secrets: + FUZZEROFDUCKSKEY: 'fake_key' + DUCKDB_HASH: 'fake_hash'