Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #7256 from EOSIO/zach-1.8-test-metrics
Browse files Browse the repository at this point in the history
Move Test Metrics Code to Agent
  • Loading branch information
kj4ezj authored May 3, 2019
2 parents 7097087 + d6eb4d1 commit 51cc4e6
Show file tree
Hide file tree
Showing 51 changed files with 12,639 additions and 81 deletions.
93 changes: 12 additions & 81 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,4 @@
# env:
# ANKA_WORKDIR: "/data/job"
# ANKA_MOJAVE_TEMPLATE: "10.14.4_6C_14G_40G"
# ANKA_TEMPLATE_TAG: "clean::cicd::git-ssh::nas::brew"
# CHECKSUMABLE: "scripts/eosio_build*"
# MAC_TAG: "eosio_2-3"

steps:

# - trigger: "mac-anka-fleet"
# label: ":anka: Ensure Mojave Anka Template Tag Exists"
# branches: "*"
# async: false
# build:
# branch: "master"
# env:
# REPO: "${BUILDKITE_REPO}"
# REPO_BRANCH: "${BUILDKITE_BRANCH}"
# CHECKSUMABLE: "${CHECKSUMABLE}"
# TEMPLATE: "${ANKA_MOJAVE_TEMPLATE}"
# TEMPLATE_TAG: "${ANKA_TEMPLATE_TAG}"
# TAG_COMMANDS: "CLONED_REPO_DIR/scripts/eosio_build.sh -y -P -f" # CLONED_REPO_DIR IS REQUIRED and is where the repo is always cloned into
# PROJECT_TAG: "${MAC_TAG}"

# - wait

# - label: ":darwin: [Darwin] Mojave Build"
# command:
# - "./scripts/eosio_build.sh -y -P"
# - "tar -pczf /Network/NAS/MAC_FLEET/BUILDKITE/artifacts/${ANKA_MOJAVE_TEMPLATE}-${BUILDKITE_PIPELINE_SLUG}-${BUILDKITE_BUILD_ID}.tar.gz build"
# plugins:
# chef/anka#v0.4.3:
# vm-name: $ANKA_MOJAVE_TEMPLATE
# vm-registry-tag: "${ANKA_TEMPLATE_TAG}::${MAC_TAG}"
# workdir: $ANKA_WORKDIR
# always-pull: true
# debug: true
# wait-network: true
# agents:
# - "queue=mac-anka-node-fleet"
# timeout: 120


- command: | # macOS Mojave Build
echo "--- Creating symbolic link to job directory :file_folder:"
sleep 5
Expand Down Expand Up @@ -324,44 +282,6 @@ steps:
workdir: /data/job
timeout: 60
# - label: ":darwin: [Darwin] Mojave Tests"
# command:
# - "./scripts/parallel-test.sh /Network/NAS/MAC_FLEET/BUILDKITE/artifacts/${ANKA_MOJAVE_TEMPLATE}-${BUILDKITE_PIPELINE_SLUG}-${BUILDKITE_BUILD_ID}.tar.gz"
# artifact_paths:
# - "build/mongod.log"
# - "build/genesis.json"
# - "build/config.ini"
# agents:
# - "queue=mac-anka-node-fleet"
# plugins:
# chef/anka#v0.4.3:
# vm-name: $ANKA_MOJAVE_TEMPLATE
# vm-registry-tag: "${ANKA_TEMPLATE_TAG}::${MAC_TAG}"
# workdir: $ANKA_WORKDIR
# always-pull: true
# debug: true
# wait-network: true
# timeout: 120

# - label: ":darwin: [Darwin] Mojave Tests"
# command:
# - "./scripts/serial-test.sh /Network/NAS/MAC_FLEET/BUILDKITE/artifacts/${ANKA_MOJAVE_TEMPLATE}-${BUILDKITE_PIPELINE_SLUG}-${BUILDKITE_BUILD_ID}.tar.gz"
# artifact_paths:
# - "build/mongod.log"
# - "build/genesis.json"
# - "build/config.ini"
# agents:
# - "queue=mac-anka-node-fleet"
# plugins:
# chef/anka#v0.4.3:
# vm-name: $ANKA_MOJAVE_TEMPLATE
# vm-registry-tag: "${ANKA_TEMPLATE_TAG}::${MAC_TAG}"
# workdir: $ANKA_WORKDIR
# always-pull: true
# debug: true
# wait-network: true
# timeout: 120

# Mojave Tests
- command: |
echo "--- :arrow_down: Downloading Build Directory"
Expand All @@ -386,6 +306,17 @@ steps:
- "os=mojave"
timeout: 60
- wait:
continue_on_failure: true

- command: |
cd scripts/metrics
node --max-old-space-size=4096 test-metrics.js
label: ":bar_chart: Test Metrics"
agents:
queue: "automation-apps-builder-fleet"
timeout: 10
soft_fail: true
- wait

Expand Down Expand Up @@ -515,4 +446,4 @@ steps:
label: "Git Submodule Regression Check"
agents:
queue: "automation-large-builder-fleet"
timeout: 5
timeout: 5
260 changes: 260 additions & 0 deletions scripts/metrics/node_modules/node-fetch/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 51cc4e6

Please sign in to comment.