File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 BUILD_NUMBER : ${{ github.run_attempt }}
5555 JOB_NAME : ${{ github.job }}
5656 GOOGLE_APPLICATION_CREDENTIALS : ${{ steps.gcloud-creds.outputs.gcloud-creds }}
57+ GH_REPO : ${{ github.repository }}
5758 shell : bash
5859 run : |
5960 export TAG_NAME="${REF#*/tags/}"
@@ -217,8 +218,8 @@ jobs:
217218 env :
218219 BUILDBOT_GPG_KEY_ID : ${{ secrets.BUILDBOT_GPG_KEY_ID }}
219220 run : |
220- git config --global user.name 'pixie-io-buildbot'
221- git config --global user.email 'build@pixielabs.ai'
221+ git config --global user.name "${{ vars.BUILDBOT_NAME || 'pixie-io-buildbot' }}"
222+ git config --global user.email "${{ vars.BUILDBOT_EMAIL || 'build@pixielabs.ai' }}"
222223 git config --global user.signingkey "${BUILDBOT_GPG_KEY_ID}"
223224 git config --global commit.gpgsign true
224225 - uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
Original file line number Diff line number Diff line change 5050 GOOGLE_APPLICATION_CREDENTIALS : ${{ steps.gcloud-creds.outputs.gcloud-creds }}
5151 BUILDBOT_GPG_KEY_ID : ${{ secrets.BUILDBOT_GPG_KEY_ID }}
5252 IMAGE_REPO : ${{ vars.IMAGE_REPO || 'gcr.io/pixie-oss/pixie-prod' }}
53+ GH_REPO : ${{ github.repository }}
5354 shell : bash
5455 run : |
5556 export TAG_NAME="${REF#*/tags/}"
7778 env :
7879 REF : ${{ github.event.ref }}
7980 GH_TOKEN : ${{ secrets.BUILDBOT_GH_API_TOKEN }}
80- OWNER : pixie-io
81- REPO : pixie
81+ GH_REPO : ${{ github.repository }}
8282 shell : bash
8383 run : |
8484 export TAG_NAME="${REF#*/tags/}"
Original file line number Diff line number Diff line change @@ -128,8 +128,8 @@ jobs:
128128 env :
129129 GIT_SSH_COMMAND : " ssh -i /tmp/ssh.key"
130130 run : |
131- git config --global user.name 'pixie-io-buildbot'
132- git config --global user.email 'build@pixielabs.ai'
131+ git config --global user.name "${{ vars.BUILDBOT_NAME || 'pixie-io-buildbot' }}"
132+ git config --global user.email "${{ vars.BUILDBOT_EMAIL || 'build@pixielabs.ai' }}"
133133 - name : Push Helm YAML to gh-pages
134134 shell : bash
135135 env :
@@ -172,8 +172,8 @@ jobs:
172172 env :
173173 BUILDBOT_GPG_KEY_ID : ${{ secrets.BUILDBOT_GPG_KEY_ID }}
174174 run : |
175- git config --global user.name 'pixie-io-buildbot'
176- git config --global user.email 'build@pixielabs.ai'
175+ git config --global user.name "${{ vars.BUILDBOT_NAME || 'pixie-io-buildbot' }}"
176+ git config --global user.email "${{ vars.BUILDBOT_EMAIL || 'build@pixielabs.ai' }}"
177177 git config --global user.signingkey "${BUILDBOT_GPG_KEY_ID}"
178178 git config --global commit.gpgsign true
179179 - uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
Original file line number Diff line number Diff line change @@ -135,8 +135,8 @@ jobs:
135135 env :
136136 GIT_SSH_COMMAND : " ssh -i /tmp/ssh.key"
137137 run : |
138- git config --global user.name 'pixie-io-buildbot'
139- git config --global user.email 'build@pixielabs.ai'
138+ git config --global user.name "${{ vars.BUILDBOT_NAME || 'pixie-io-buildbot' }}"
139+ git config --global user.email "${{ vars.BUILDBOT_EMAIL || 'build@pixielabs.ai' }}"
140140 - name : Push Helm YAML to gh-pages
141141 shell : bash
142142 env :
@@ -179,8 +179,8 @@ jobs:
179179 env :
180180 BUILDBOT_GPG_KEY_ID : ${{ secrets.BUILDBOT_GPG_KEY_ID }}
181181 run : |
182- git config --global user.name 'pixie-io-buildbot'
183- git config --global user.email 'build@pixielabs.ai'
182+ git config --global user.name "${{ vars.BUILDBOT_NAME || 'pixie-io-buildbot' }}"
183+ git config --global user.email "${{ vars.BUILDBOT_EMAIL || 'build@pixielabs.ai' }}"
184184 git config --global user.signingkey "${BUILDBOT_GPG_KEY_ID}"
185185 git config --global commit.gpgsign true
186186 - uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
Original file line number Diff line number Diff line change 1717# SPDX-License-Identifier: Apache-2.0
1818
1919gh_artifacts_dir=" ${ARTIFACTS_DIR} "
20- gh_repo=" ${GH_REPO:- pixie-io/ pixie} "
20+ gh_repo=" ${GH_REPO:- ${GITHUB_REPOSITORY :- pixie-io/ pixie} } "
2121workspace=$( git rev-parse --show-toplevel)
2222mirrors_file=" ${workspace} /ci/artifact_mirrors.yaml"
2323
You can’t perform that action at this time.
0 commit comments