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

Move Test Metrics Code to Agent #7256

Merged
merged 5 commits into from
May 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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