Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

Commit

The deploy workflow's test says every job runs on ubuntu-latest

Part of #169. The test asked for g1t-4core by name for Rust builds and the runner's image; they now run on ubuntu-latest, which is 4 vCPU in this public repository.

G1t-Session:
ses_01m57b7r6jew3aqgyfmhw6yah6
syntaqxcommitted Parent82ab88cBrowse files
1 file+6−40/1 viewed
+6−4
872872 }
873873
874874 #[test]
875−fn deploy_builds_rust_on_the_larger_machine_with_its_target_cached() {
875+fn deploy_builds_on_ubuntu_latest_with_its_target_cached() {
876876 let deploy = read("deploy.yml");
877877 for stage in ["core", "edge", "front"] {
878878 let job = deploy.jobs.iter().find(|j| j.id == stage).unwrap();
889889 };
890890 expr::interpolate_value(&job.runs_on, &scope).unwrap()
891891 };
892− assert_eq!(on(true, false), json!("g1t-4core"), "{stage}");
893− // The runner's image is built with the job's own Docker Engine.
894− assert_eq!(on(false, true), json!("g1t-4core"), "{stage}");
892+ // Every job on ubuntu-latest, as on GitHub: 4 vCPU in this public
893+ // repository (g1t_contracts::actions::instance_for), Rust builds and
894+ // the runner's image included.
895+ assert_eq!(on(true, false), json!("ubuntu-latest"), "{stage}");
896+ assert_eq!(on(false, true), json!("ubuntu-latest"), "{stage}");
895897 assert_eq!(on(false, false), json!("ubuntu-latest"), "{stage}");
896898 }
897899 let source = std::fs::read_to_string(workflows_dir().join("deploy.yml")).unwrap();

Comments

Sign in to comment.