Skip to content

Commit

Permalink
chore: comment out stage actions (#866)
Browse files Browse the repository at this point in the history
  • Loading branch information
metal-messiah authored Jan 24, 2024
1 parent 69a8e00 commit d23e75a
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 43 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,24 +80,24 @@ jobs:
asset_path: ${{ join(fromJson(steps.dev-s3-upload.outputs.results).*.Key, ' ') }}

# Publish dev to staging NRDB
publish-dev-nr:
needs: [publish-dev-to-s3]
runs-on: ubuntu-latest
timeout-minutes: 30
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
with:
ref: main
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Publish dev loader to nr
uses: ./.github/actions/nr-upload-dev
with:
nr_stage_api_key: ${{ secrets.NR_API_KEY_STAGING }}
# publish-dev-nr:
# needs: [publish-dev-to-s3]
# runs-on: ubuntu-latest
# timeout-minutes: 30
# defaults:
# run:
# shell: bash
# steps:
# - uses: actions/checkout@v3
# with:
# ref: main
# - uses: actions/setup-node@v3
# with:
# node-version: lts/*
# - name: Publish dev loader to nr
# uses: ./.github/actions/nr-upload-dev
# with:
# nr_stage_api_key: ${{ secrets.NR_API_KEY_STAGING }}

# Rebuild and publish the dev environment A/B script
publish-dev-ab:
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,31 +169,31 @@ jobs:
loader_version: ${{ steps.agent-loader-version.outputs.results }}

# Publish the loaders to nr stage
publish-to-nr-stage:
needs: [ publish-prod-to-s3 ]
runs-on: ubuntu-latest
timeout-minutes: 30
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Get version number
id: agent-loader-version
run: echo "results=$(cat package.json | jq -r '.version')" >> $GITHUB_OUTPUT
- name: Publish loader to nr
uses: ./.github/actions/nr-upload
with:
nr_stage_api_key: ${{ secrets.NR_API_KEY_STAGING }}
loader_version: ${{ steps.agent-loader-version.outputs.results }}
environment: stage
- name: Verify loaders in nr
uses: ./.github/actions/nr-verify
with:
loader_version: ${{ steps.agent-loader-version.outputs.results }}
# publish-to-nr-stage:
# needs: [ publish-prod-to-s3 ]
# runs-on: ubuntu-latest
# timeout-minutes: 30
# defaults:
# run:
# shell: bash
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: lts/*
# - name: Get version number
# id: agent-loader-version
# run: echo "results=$(cat package.json | jq -r '.version')" >> $GITHUB_OUTPUT
# - name: Publish loader to nr
# uses: ./.github/actions/nr-upload
# with:
# nr_stage_api_key: ${{ secrets.NR_API_KEY_STAGING }}
# loader_version: ${{ steps.agent-loader-version.outputs.results }}
# environment: stage
# - name: Verify loaders in nr
# uses: ./.github/actions/nr-verify
# with:
# loader_version: ${{ steps.agent-loader-version.outputs.results }}

# Publish the agent to npmjs.org
publish-npm:
Expand Down

0 comments on commit d23e75a

Please sign in to comment.