Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restyle Cml runner long job #640

Closed
Closed
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
8 changes: 2 additions & 6 deletions src/cml.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@ const Github = require('./drivers/github');
const BitBucketCloud = require('./drivers/bitbucket_cloud');
const { upload, exec, watermarkUri } = require('./utils');

const {
GITHUB_REPOSITORY,
CI_PROJECT_URL,
BITBUCKET_REPO_UUID,
CI
} = process.env;
const { GITHUB_REPOSITORY, CI_PROJECT_URL, BITBUCKET_REPO_UUID, CI } =
process.env;

const GIT_USER_NAME = 'Olivaw[bot]';
const GIT_USER_EMAIL = '[email protected]';
Expand Down
8 changes: 2 additions & 6 deletions src/drivers/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@ const { download, exec } = require('../utils');
const CHECK_TITLE = 'CML Report';
process.env.RUNNER_ALLOW_RUNASROOT = 1;

const {
GITHUB_REPOSITORY,
GITHUB_SHA,
GITHUB_REF,
GITHUB_EVENT_NAME
} = process.env;
const { GITHUB_REPOSITORY, GITHUB_SHA, GITHUB_REF, GITHUB_EVENT_NAME } =
process.env;

const branchName = (branch) => {
if (!branch) return;
Expand Down