Skip to content

Commit

Permalink
chore(workflows): update runners from blacksmith to ubuntu-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
merrcury committed Nov 8, 2024
1 parent fd7b0ea commit 65619b4
Show file tree
Hide file tree
Showing 40 changed files with 65 additions and 65 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/community-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ concurrency:
jobs:
check:
name: Verify
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: useblacksmith/setup-node@v5
- uses: actions/setup-node@v4
with:
node-version: 20.8.1
- name: Install Octokit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conventional-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions:
jobs:
main:
name: Validate PR titles
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dev-deploy-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
secrets: inherit

deploy_dev_api:
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
needs: test_api
timeout-minutes: 80
environment: Development
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
url_prefix: '~'

newrelic:
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
name: New Relic Deploy
needs: deploy_dev_api
environment: Development
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-deploy-web-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

deploy_web_component:
needs: build
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
timeout-minutes: 80
if: "!contains(github.event.head_commit.message, 'ci skip')"
environment: Development
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dev-deploy-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

build_dev_worker:
# The type of runner that the job will run on
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
needs: test_worker
timeout-minutes: 80
environment: Development
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
docker_image: ${{ needs.build_dev_worker.outputs.docker_image }}

newrelic:
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
name: New Relic Deploy
needs: deploy_dev_workers
environment: Development
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-deploy-ws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# This workflow contains a single job called "build"
deploy_ws:
# The type of runner that the job will run on
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
needs: test_ws
timeout-minutes: 80
environment: Development
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/issue-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ concurrency:
jobs:
check:
name: Verify
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: useblacksmith/setup-node@v5
- uses: actions/setup-node@v4
with:
node-version: 20.8.1
- name: Install Octokit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jarvis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
add-comment:
if: github.event.label.name == '@novu/api'
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
permissions:
issues: write
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/milestone-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
permissions:
issues: write
pull-requests: write
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: useblacksmith/setup-node@v5
- uses: actions/setup-node@v4
with:
node-version: 20.8.1
- name: Install Octokit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-pr-change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- edited
jobs:
check-branches:
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- name: Check branches
env:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
dependency-review:
name: Dependency review
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
environment: Linting
steps:
- name: 'Checkout Repository'
Expand All @@ -23,7 +23,7 @@ jobs:

spellcheck:
name: Spell check
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
environment: Linting
steps:
- uses: actions/checkout@v4
Expand All @@ -35,7 +35,7 @@ jobs:
incremental_files_only: true

find-flags:
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
name: Find LaunchDarkly feature flags in diff
environment: Linting
steps:
Expand All @@ -53,7 +53,7 @@ jobs:

get-affected:
name: Get Affected Packages
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
outputs:
test-unit: ${{ steps.get-projects-arrays.outputs.test-unit }}
test-e2e: ${{ steps.get-projects-arrays.outputs.test-e2e }}
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
test_unit_providers:
name: Unit test @novu/providers
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
needs: [get-affected]
if: ${{ fromJson(needs.get-affected.outputs.test-providers)[0] }}
timeout-minutes: 80
Expand All @@ -138,7 +138,7 @@ jobs:

test_unit_packages:
name: Unit test @novu public NPM packages (except providers)
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
needs: [get-affected]
if: ${{ fromJson(needs.get-affected.outputs.test-packages)[0] }}
timeout-minutes: 80
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:

test_unit_libs:
name: Unit test @novu internal packages
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
needs: [get-affected]
if: ${{ fromJson(needs.get-affected.outputs.test-libs)[0] }}
timeout-minutes: 80
Expand All @@ -186,7 +186,7 @@ jobs:

test_unit_services:
name: Unit test backend services
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
needs: [get-affected]
if: ${{ fromJson(needs.get-affected.outputs.test-unit)[0] }}
timeout-minutes: 80
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:

validate_openapi:
name: Validate OpenAPI
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
needs: [get-affected]
if: ${{ fromJson(needs.get-affected.outputs.test-unit)[0] }}
timeout-minutes: 10
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
contents: read
pull-requests: write
statuses: write
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
permissions:
contents: read
pull-requests: write
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- name: Process stale PRs
uses: actions/stale@v9
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-cloud-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
prepare-cloud-release:
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prepare-self-hosted-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:

jobs:
build_docker:
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
timeout-minutes: 90
strategy:
fail-fast: false
Expand All @@ -44,7 +44,7 @@ jobs:
uses: pnpm/action-setup@v3

- name: Use Node.js
uses: useblacksmith/setup-node@v5
uses: actions/setup-node@v4
with:
node-version: 20.8.1
cache: 'pnpm'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/preview-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
publish_preview_packages:
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest

steps:
- name: Checkout code
Expand All @@ -21,7 +21,7 @@ jobs:
fetch-depth: 0

- run: corepack enable
- uses: useblacksmith/setup-node@v5
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/prod-deploy-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
build_prod_image:
# The type of runner that the job will run on
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
timeout-minutes: 80
environment: Production
outputs:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:

deploy_docs:
needs: deploy_prod_api_us
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
environment: Production
steps:
- name: Deploy API Documentation
Expand All @@ -118,7 +118,7 @@ jobs:
method: 'POST'

newrelic:
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
name: New Relic Deploy
needs: deploy_prod_api_us
environment: Production
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prod-deploy-inbound-mail.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
secrets: inherit

build_prod_image:
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
timeout-minutes: 80
environment: Production
outputs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prod-deploy-web-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

deploy_web_component:
needs: build
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
timeout-minutes: 80
if: "!contains(github.event.head_commit.message, 'ci skip')"
environment: Production
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prod-deploy-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
jobs:
build_prod_image:
# The type of runner that the job will run on
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
timeout-minutes: 80
environment: Production
outputs:
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
sentry_project: worker

newrelic:
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
name: New Relic Deploy
needs: deploy_prod_workers_us
environment: Production
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prod-deploy-ws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# This workflow contains a single job called "build"
build_prod_image:
# The type of runner that the job will run on
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
timeout-minutes: 80
environment: Production
outputs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-api-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ on:
jobs:
check_submodule_token:
name: Check if the secret exists or not.
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
outputs:
has_token: ${{ steps.secret-check.outputs.has_token }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-app-service-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
deploy_service:
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
timeout-minutes: 80
environment: ${{ inputs.environment }}
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-dashboard-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
reusable_web_deploy:
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
timeout-minutes: 80
environment: ${{ inputs.environment }}
permissions:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reusable-dashboard-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
total: [4]

# The type of runner that the job will run on
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
timeout-minutes: 80

permissions:
Expand Down Expand Up @@ -123,10 +123,10 @@ jobs:
# Merge reports after playwright-tests, even if some shards have failed
if: ${{ !cancelled() }}
needs: [e2e_dashboard]
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: useblacksmith/setup-node@v5
- uses: actions/setup-node@v4
with:
node-version: 20.8.1

Expand Down
Loading

0 comments on commit 65619b4

Please sign in to comment.