Skip to content

Commit

Permalink
chore: debug rnon-dry-run release mode (#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
devcorpio authored Sep 27, 2023
1 parent adc79d4 commit abbfef5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 20 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,22 +142,22 @@ jobs:
headers: |-
cache-control: public,max-age=604800,immutable
status:
if: always()
needs:
- release
runs-on: ubuntu-latest
steps:
- id: check
uses: elastic/apm-pipeline-library/.github/actions/check-dependent-jobs@current
with:
needs: ${{ toJSON(needs) }}
- uses: elastic/apm-pipeline-library/.github/actions/notify-build-status@current
if: inputs.dry-run == false
with:
status: ${{ steps.check.outputs.status }}
vaultUrl: ${{ secrets.VAULT_ADDR }}
vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}
slackChannel: "#apm-agent-js"
message: "Build result for release publication"
# status:
# if: always()
# needs:
# - release
# runs-on: ubuntu-latest
# steps:
# - id: check
# uses: elastic/apm-pipeline-library/.github/actions/check-dependent-jobs@current
# with:
# needs: ${{ toJSON(needs) }}
# - uses: elastic/apm-pipeline-library/.github/actions/notify-build-status@current
# if: inputs.dry-run == false
# with:
# status: ${{ steps.check.outputs.status }}
# vaultUrl: ${{ secrets.VAULT_ADDR }}
# vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
# vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}
# slackChannel: "#apm-agent-js"
# message: "Build result for release publication"
4 changes: 3 additions & 1 deletion scripts/ci-release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ async function main() {
if (isDryRun) {
await dryRunMode()
} else {
await prodMode()
console.log('SEE changes to be committed: \n\n')
await execa('git', ['status']).pipeStdout(process.stdout)
// await prodMode()
}
}

Expand Down

0 comments on commit abbfef5

Please sign in to comment.