Skip to content

Commit

Permalink
ci: Update self hosted runner group and CODEOWNERS (#427)
Browse files Browse the repository at this point in the history
Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>
Signed-off-by: Nathan Klick <nathan@swirldslabs.com>
Co-authored-by: Nathan Klick <nathan@swirldslabs.com>
  • Loading branch information
rbarker-dev and nathanklick authored Aug 16, 2024
1 parent 4fbb824 commit 7c22efe
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 18 deletions.
25 changes: 13 additions & 12 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,31 @@
# NOTE: Must be placed last to ensure enforcement over all other rules

# Protection Rules for Github Configuration Files and Actions Workflows
/.github/ @hashgraph/release-engineering-managers
/.github/ @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/release-engineering-managers
/.github/workflows/ @hashgraph/devops-ci @hashgraph/devops-ci-committers

# NodeJS project files
package.json @michielmulders
package-lock.json @michielmulders
jest.config.mjs @michielmulders
package.json @hashgraph/devops-ci @hashgraph/devops-ci-committers @michielmulders
package-lock.json @hashgraph/devops-ci @hashgraph/devops-ci-committers @michielmulders
jest.config.mjs @hashgraph/devops-ci @hashgraph/devops-ci-committers @michielmulders

# Codacy Tool Configurations
/config/ @michielmulders
.remarkrc @michielmulders
/config/ @hashgraph/devops-ci @hashgraph/devops-ci-committers @michielmulders
.remarkrc @hashgraph/devops-ci @hashgraph/devops-ci-committers @michielmulders

# Semantic Release Configuration
.releaserc @hashgraph/release-engineering-managers
.releaserc @hashgraph/devops-ci @hashgraph/devops-ci-committers

# Self-protection for root CODEOWNERS files (this file should not exist and should definitely require approval)
/CODEOWNERS @hashgraph/release-engineering-managers

# Protect the repository root files
/README.md @michielmulders
**/LICENSE @hashgraph/release-engineering @hashgraph/release-engineering-managers
/README.md @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/release-engineering-managers @michielmulders
**/LICENSE @hashgraph/release-engineering-managers

# CodeCov configuration
**/codecov.yml @hashgraph/release-engineering @hashgraph/release-engineering-managers
**/codecov.yml @hashgraph/devops-ci @hashgraph/devops-ci-committers

# Git Ignore definitions
**/.gitignore @hashgraph/release-engineering @hashgraph/release-engineering-managers
**/.gitignore.* @hashgraph/release-engineering @hashgraph/release-engineering-managers
**/.gitignore @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/release-engineering-managers
**/.gitignore.* @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/release-engineering-managers
4 changes: 2 additions & 2 deletions .github/workflows/flow-deploy-release-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ permissions:
jobs:
prepare-release:
name: Release / Prepare
runs-on: [self-hosted, Linux, medium, ephemeral]
runs-on: transaction-tools-linux-medium
outputs:
version: ${{ steps.tag.outputs.version }}
steps:
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:

create-github-release:
name: Github / Release
runs-on: [self-hosted, Linux, medium, ephemeral]
runs-on: transaction-tools-linux-medium
needs:
- prepare-release
- safety-checks
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flow-pull-request-formatting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ concurrency:
jobs:
title-check:
name: Title Check
runs-on: [self-hosted, Linux, medium, ephemeral]
runs-on: transaction-tools-linux-medium
steps:
- name: Check PR Title
uses: step-security/conventional-pr-title-action@0eae74515f5a79f8773fa04142dd746df76666ac # v1.0.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zxc-code-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ permissions:
jobs:
analyze:
name: ${{ inputs.custom-job-label || 'Analyze' }}
runs-on: [self-hosted, Linux, medium, ephemeral]
runs-on: transaction-tools-linux-medium
steps:
- name: Checkout Code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/zxc-compile-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ permissions:
jobs:
compile:
name: ${{ inputs.custom-job-label || 'Compiles' }}
runs-on: [self-hosted, Linux, medium, ephemeral]
runs-on: transaction-tools-linux-medium
steps:
- name: Checkout Code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down Expand Up @@ -105,14 +105,20 @@ jobs:
name: Unit Test Coverage Report
path: 'coverage/unit'

- name: Install Docker Compose Plugin
if: ${{ inputs.enable-e2e-tests && !cancelled() && !failure() }}
run: |
sudo curl -fLo /usr/local/lib/docker/cli-plugins/docker-compose https://github.com/docker/compose/releases/download/v2.29.1/docker-compose-linux-x86_64
sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose
- name: Install Local Node (E2E Tests)
if: ${{ inputs.enable-e2e-tests && !cancelled() && !failure() }}
run: npm install -g @hashgraph/hedera-local

- name: Setup Local Node (E2E Tests)
id: setup-local-node
if: ${{ inputs.enable-e2e-tests && !cancelled() && !failure() }}
run: hedera start --verbose --detached --full
run: hedera start --verbose=trace --detached --full

- name: Configure E2E Tests
if: ${{ inputs.enable-e2e-tests && !cancelled() && !failure() }}
Expand Down

0 comments on commit 7c22efe

Please sign in to comment.