update ci to forgejo 1.21.2
This commit is contained in:
		
							parent
							
								
									6db4879d15
								
							
						
					
					
						commit
						440081afaa
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -5,10 +5,10 @@ steps:
 | 
			
		|||
    image: rust
 | 
			
		||||
    environment:
 | 
			
		||||
      - "FORGEJO_API_CI_INSTANCE_URL=http://forgejo-testing:3000/"
 | 
			
		||||
      - FORGEJO_API_CI_TOKEN=0889eabbb0006f15be4af017c4e0d3f51df78f98
 | 
			
		||||
      - FORGEJO_API_CI_TOKEN=3226a46b52e29804bfb9b8ba21a5f91291fb86eb
 | 
			
		||||
    commands:
 | 
			
		||||
      - cargo test
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  forgejo-testing:
 | 
			
		||||
    image: code.cartoon-aa.xyz/cyborus/ci-forgejo
 | 
			
		||||
    image: code.cartoon-aa.xyz/cyborus/ci-forgejo:1.21.2-0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -80,9 +80,9 @@ async fn repo(api: &forgejo_api::Forgejo) -> eyre::Result<()> {
 | 
			
		|||
    };
 | 
			
		||||
    let remote_repo = api.create_repo(repo_opt).await?;
 | 
			
		||||
    ensure!(remote_repo.has_pull_requests, "repo does not accept pull requests");
 | 
			
		||||
    tokio::time::sleep(std::time::Duration::from_secs(3)).await;
 | 
			
		||||
    ensure!(remote_repo.owner.login == "TestingAdmin", "repo owner is not \"TestingAdmin\"");
 | 
			
		||||
    ensure!(remote_repo.name == "test", "repo owner is not \"test\"");
 | 
			
		||||
    tokio::time::sleep(std::time::Duration::from_secs(3)).await;
 | 
			
		||||
 | 
			
		||||
    let mut remote_url = remote_repo.clone_url.clone();
 | 
			
		||||
    remote_url.set_username("TestingAdmin").unwrap();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue