Compare commits
	
		
			6 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 3484575108 | |||
| 7c4890f57a | |||
| 308d969540 | |||
| 5065587275 | |||
| 8f0092b2ef | |||
| e81d001aeb | 
| @@ -1,4 +1,4 @@ | |||||||
| image: hosttoday/ht-docker-node:latest | image: hosttoday/ht-docker-node:stable | ||||||
|  |  | ||||||
| stages: | stages: | ||||||
| - test | - test | ||||||
|   | |||||||
							
								
								
									
										7
									
								
								dist/npmci.build.docker.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								dist/npmci.build.docker.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "npmci", |   "name": "npmci", | ||||||
|   "version": "2.3.58", |   "version": "2.3.61", | ||||||
|   "description": "", |   "description": "", | ||||||
|   "main": "dist/index.js", |   "main": "dist/index.js", | ||||||
|   "typings": "dist/index.d.ts", |   "typings": "dist/index.d.ts", | ||||||
|   | |||||||
| @@ -7,6 +7,7 @@ import { bashBare } from './npmci.bash' | |||||||
|  * builds a cwd of Dockerfiles by triggering a promisechain |  * builds a cwd of Dockerfiles by triggering a promisechain | ||||||
|  */ |  */ | ||||||
| export let build = async () => { | export let build = async () => { | ||||||
|  |   plugins.beautylog.log('now building Dockerfiles...') | ||||||
|   await readDockerfiles() |   await readDockerfiles() | ||||||
|     .then(sortDockerfiles) |     .then(sortDockerfiles) | ||||||
|     .then(mapDockerfiles) |     .then(mapDockerfiles) | ||||||
| @@ -19,10 +20,12 @@ export let build = async () => { | |||||||
|  * @returns Promise<Dockerfile[]> |  * @returns Promise<Dockerfile[]> | ||||||
|  */ |  */ | ||||||
| export let readDockerfiles = async (): Promise<Dockerfile[]> => { | export let readDockerfiles = async (): Promise<Dockerfile[]> => { | ||||||
|   let fileTree = await plugins.smartfile.fs.listFileTree(paths.cwd, './Dockerfile*') |   let fileTree = await plugins.smartfile.fs.listFileTree(paths.cwd, 'Dockerfile*') | ||||||
|  |  | ||||||
|   // create the Dockerfile array |   // create the Dockerfile array | ||||||
|   let readDockerfilesArray: Dockerfile[] = [] |   let readDockerfilesArray: Dockerfile[] = [] | ||||||
|  |   plugins.beautylog.info(`found ${fileTree.length} Dockerfiles:`) | ||||||
|  |   console.log(fileTree) | ||||||
|   for (let dockerfilePath of fileTree) { |   for (let dockerfilePath of fileTree) { | ||||||
|     let myDockerfile = new Dockerfile({ |     let myDockerfile = new Dockerfile({ | ||||||
|       filePath: dockerfilePath, |       filePath: dockerfilePath, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user