Fixed of the testing process, drop parallel building of Python
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Test build / build (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Test build / build (push) Has been cancelled
				
			This commit is contained in:
		
							parent
							
								
									c6d7126d2a
								
							
						
					
					
						commit
						f85560426b
					
				
					 3 changed files with 14 additions and 10 deletions
				
			
		
							
								
								
									
										10
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Dockerfile
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -61,9 +61,9 @@ RUN build_node.sh 18.20.5 & \
 | 
			
		|||
# https://www.python.org/downloads/
 | 
			
		||||
WORKDIR /usr/src
 | 
			
		||||
ADD build_python.sh /usr/local/bin/build_python.sh
 | 
			
		||||
RUN build_python.sh 3.11.11 & \
 | 
			
		||||
    build_python.sh 3.12.8 & \
 | 
			
		||||
    build_python.sh 3.13.1
 | 
			
		||||
RUN build_python.sh 3.11.11
 | 
			
		||||
RUN build_python.sh 3.12.8
 | 
			
		||||
RUN build_python.sh 3.13.1
 | 
			
		||||
 | 
			
		||||
## PHP 8
 | 
			
		||||
# https://www.php.net/downloads.php
 | 
			
		||||
| 
						 | 
				
			
			@ -75,8 +75,8 @@ RUN build_php8.sh 8.4.3
 | 
			
		|||
# https://www.ruby-lang.org/en/downloads/releases/
 | 
			
		||||
WORKDIR /usr/src
 | 
			
		||||
ADD build_ruby.sh /usr/local/bin/build_ruby.sh
 | 
			
		||||
RUN build_ruby.sh 3.3.7 & \
 | 
			
		||||
 build_ruby.sh 3.4.1
 | 
			
		||||
RUN build_ruby.sh 3.3.7
 | 
			
		||||
RUN build_ruby.sh 3.4.1
 | 
			
		||||
 | 
			
		||||
## Deno
 | 
			
		||||
# From: https://github.com/denoland/deno/releases
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,12 +19,16 @@ with open("Dockerfile") as f:
 | 
			
		|||
        if line.startswith("FROM debian:"):
 | 
			
		||||
            image = line.split(" ")[1].strip()
 | 
			
		||||
            continue
 | 
			
		||||
        if line.startswith("RUN build_"):
 | 
			
		||||
        if "build_" in line and "ADD" not in line:
 | 
			
		||||
            line = line.replace("RUN ", "").strip()
 | 
			
		||||
            line = line.replace("& \\", "")
 | 
			
		||||
            line = line.lstrip(" ")
 | 
			
		||||
            
 | 
			
		||||
            parts = line.split(" ")
 | 
			
		||||
            name = parts[1].replace("build_", "").replace(".sh", "")
 | 
			
		||||
            name = parts[0].replace("build_", "").replace(".sh", "")
 | 
			
		||||
            if name.startswith("php"):
 | 
			
		||||
                name = "php"
 | 
			
		||||
            version = line.split(" ")[2].strip()
 | 
			
		||||
            version = parts[1].strip()
 | 
			
		||||
            if name not in output["techs"]:
 | 
			
		||||
                output["techs"][name] = {
 | 
			
		||||
                    "versions": [],
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -24,10 +24,10 @@ fi
 | 
			
		|||
CONTAINER_NAME=dev_test
 | 
			
		||||
$DOCKER stop $CONTAINER_NAME &>/dev/null
 | 
			
		||||
 | 
			
		||||
COUNT=`cat Dockerfile | grep -e "^RUN build_" | sed "s/RUN build_//" | sed "s/\.sh//" | sed "s/php8/php/" | wc -l`
 | 
			
		||||
COUNT=`cat Dockerfile | grep -e "build_" | grep -v "/usr/local" | sed "s/RUN //" |  sed "s/ADD //" | sed 's/& \\\//' | sed "s/^[ ]*//" | sed "s/build_//" | sed "s/\.sh//" | sed "s/php8/php/" | wc -l`
 | 
			
		||||
I=1
 | 
			
		||||
 | 
			
		||||
cat Dockerfile | grep -e "^RUN build_" | sed "s/RUN build_//" | sed "s/\.sh//" | sed "s/php8/php/" | \
 | 
			
		||||
cat Dockerfile | grep -e "build_" | grep -v "/usr/local" | sed "s/RUN //" |  sed "s/ADD //" | sed 's/& \\//' | sed "s/^[ ]*//" | sed "s/build_//" | sed "s/\.sh//" | sed "s/php8/php/" | \
 | 
			
		||||
while read line
 | 
			
		||||
do
 | 
			
		||||
    tech=`echo $line | cut -d " " -f 1`
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue