Toolkit: add git log info to the plugin build report (#21344)

This commit is contained in:
Ryan McKinley
2020-01-06 17:10:15 -08:00
committed by GitHub
parent f0764ceda8
commit eac66813ca
3 changed files with 56 additions and 2 deletions
@@ -9,7 +9,7 @@ import { PluginMeta } from '@grafana/data';
import execa = require('execa');
import path = require('path');
import fs from 'fs';
import { getPackageDetails, findImagesInFolder, getGrafanaVersions } from '../../plugins/utils';
import { getPackageDetails, findImagesInFolder, getGrafanaVersions, readGitLog } from '../../plugins/utils';
import {
job,
getJobFolder,
@@ -324,6 +324,7 @@ const pluginReportRunner: TaskRunner<PluginCIOptions> = async ({ upload }) => {
tests: agregateTestInfo(),
artifactsBaseURL: await getCircleDownloadBaseURL(),
grafanaVersion: getGrafanaVersions(),
git: await readGitLog(),
};
const pr = getPullRequestNumber();
if (pr) {