Skip to content

Commit

Permalink
Initial Refactor to Github Actions
Browse files Browse the repository at this point in the history
temo
  • Loading branch information
kyle committed Sep 12, 2023
1 parent 0e99647 commit 6db00e1
Show file tree
Hide file tree
Showing 11 changed files with 22,514 additions and 86 deletions.
61 changes: 61 additions & 0 deletions .github/composite_actions/log_cw_metric/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Log CW Metric
description: Test to log a CW metric
inputs:
# For getting failing step
job-status:
description: Used to determine if we track success or failure.
required: true
job-identifier:
description: For differentiating jobs of a run.
required: true
github-token:
required: true
description: Github token for requesting failing steps.
repo:
required: true
description: Github repo
run-id:
required: true
description: Github Action Run Id

# Global Metric Dimensions
metricName:
description: Name of the metric to track in Cloudwatch.
required: true
testType:
description: canary, integration, unit testType.
required: true
category:
description: analytics, api, authenticator, etc.
required: true
workflowName:
description: The Github Action workflow.yaml file name. ie "AmplifyCanaries".
required: true

# FlutterDart Workflows Metric Dimensions
framework:
description: flutter, dart.
required: false
flutterDartChannel:
description: beta, stable.
required: false
dartVersion:
description: 3, 2.19, 2.18, etc.
required: false
flutterVersion:
description: 3.10.6, 3.10.5, etc.
required: false
dartCompiler:
description: dart2js, ddc, dart, dart2wasm.
required: false

# Platform Workflows Metric Dimensions
platform:
description: android, ios, web, linux, windows.
required: false
platformVersion:
description: ios-14.5, ios-16, android-25-x86, etc.
required: false
runs:
using: "node16"
main: "dist/index.mjs"
Loading

0 comments on commit 6db00e1

Please sign in to comment.