From a4c6bbd5f074f8a1aae8c222f2c8459eea4b0d3d Mon Sep 17 00:00:00 2001 From: Andrew Halberstadt Date: Tue, 24 Oct 2023 22:29:10 -0400 Subject: [PATCH] ci: fix remaining uses of old 'simple-github-client' name --- taskcluster/ci/codecov/kind.yml | 2 +- taskcluster/ci/config.yml | 6 +++--- taskcluster/scripts/codecov-upload.py | 4 +--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/taskcluster/ci/codecov/kind.yml b/taskcluster/ci/codecov/kind.yml index 4b40c1f..e889563 100644 --- a/taskcluster/ci/codecov/kind.yml +++ b/taskcluster/ci/codecov/kind.yml @@ -22,7 +22,7 @@ tasks: env: MOZ_FETCHES_DIR: /builds/worker/fetches scopes: - - secrets:get:project/releng/mozilla/simple-github-client/build/level-1/ci + - secrets:get:project/mozilla/simple-github/level-any/codecov dependencies: test: test-unit fetches: diff --git a/taskcluster/ci/config.yml b/taskcluster/ci/config.yml index 64b4949..8e08693 100644 --- a/taskcluster/ci/config.yml +++ b/taskcluster/ci/config.yml @@ -3,10 +3,10 @@ trust-domain: "mozilla" task-priority: low taskgraph: - cached-task-prefix: "mozilla.v2.simple-github-client" + cached-task-prefix: "mozilla.v2.simple-github" repositories: - simple-github-client: - name: "simple-github-client" + simple_github: + name: "simple-github" workers: aliases: diff --git a/taskcluster/scripts/codecov-upload.py b/taskcluster/scripts/codecov-upload.py index 0a504c8..fdf5dc7 100644 --- a/taskcluster/scripts/codecov-upload.py +++ b/taskcluster/scripts/codecov-upload.py @@ -17,9 +17,7 @@ def fetch_secret(secret_name): return r.json()["secret"] -token = fetch_secret("project/releng/mozilla/simple-github-client/build/level-1/ci")[ - "codecov_api_token" -] +token = fetch_secret("project/mozilla/simple-github/level-any/codecov")["token"] uploader = FETCHES_DIR / "codecov" uploader.chmod(uploader.stat().st_mode | stat.S_IEXEC) subprocess.run(