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

chore: make it running without GCP env #1471

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nicolasburtey
Copy link
Member

@nicolasburtey nicolasburtey commented Feb 19, 2025

will looks like this

for reports:

image

for documents:

image

@nicolasburtey nicolasburtey force-pushed the chore--make-it-running-without-GCP-env branch from 7ce1856 to e3df73e Compare February 19, 2025 19:02
Comment on lines +65 to +68
if self.sa_creds_base64.is_none() {
return Err(ServiceAccountError::CredentialsNotProvided);
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redundant since ok_or on L 72 already handles this

return Ok(self);
}

println!("sa_creds_base64: {:?}", sa_creds_base64);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this intended ?

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Nicolas Burtey seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

#[clap(env = "DEV_ENV_NAME_PREFIX")]
dev_env_name_prefix: Option<String>,
}

pub async fn run() -> anyhow::Result<()> {
let cli = Cli::parse();

let sa_creds_base64 = if cli.sa_creds_base64_raw.is_empty() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That this is optional should be handled in the cli field / clap attribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants