Skip to content

Commit

Permalink
feat(github): build platform run part
Browse files Browse the repository at this point in the history
  • Loading branch information
fargito committed Jan 16, 2025
1 parent cd4a7fa commit 5bcb13b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/run/ci_provider/github_actions/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use lazy_static::lazy_static;
use regex::Regex;
use serde_json::Value;
use simplelog::SharedLogger;
use std::collections::BTreeMap;
use std::{env, fs};

use crate::prelude::*;
Expand Down Expand Up @@ -138,8 +139,15 @@ impl CIProvider for GitHubActionsProvider {
}

fn get_platform_run_part(&self) -> Option<RunPart> {
// TODO(COD-447): return correct values here
None
info!("Wowowowowowow, everybody calm down!");

Some(RunPart {
run_id: self.gh_data.run_id.clone(),
// TODO(COD-447): handle matrix jobs here

Check notice on line 146 in src/run/ci_provider/github_actions/provider.rs

View workflow job for this annotation

GitHub Actions / check-todos

TODO for cod-447

handle matrix jobs here
run_part_id: self.gh_data.job.clone(),
job_name: self.gh_data.job.clone(),
metadata: BTreeMap::new(),
})
}

fn get_ci_provider_metadata(&self) -> Result<CIProviderMetadata> {
Expand Down

0 comments on commit 5bcb13b

Please sign in to comment.