ci: don't build portal-api (for now)

This commit is contained in:
Sérgio Ramos 2017-06-20 15:52:32 +01:00
parent 914dbca77f
commit 5275b2c7df

View File

@ -89,6 +89,11 @@ const build = async () => {
const { name } = await readPkg(folder); const { name } = await readPkg(folder);
const tags = [`${name}:${CIRCLE_BRANCH}`, `${name}:latest`]; const tags = [`${name}:${CIRCLE_BRANCH}`, `${name}:latest`];
// todo remove this
if (name === 'portal-api') {
return;
}
LOG(`${figures.arrowRight} build.name ${name}`); LOG(`${figures.arrowRight} build.name ${name}`);
LOG(JSON.stringify(tags, null, 2)); LOG(JSON.stringify(tags, null, 2));
@ -111,7 +116,7 @@ const build = async () => {
return `${NAMESPACE}/${name}`; return `${NAMESPACE}/${name}`;
}); });
await map(images, image => { await map(images.filter(Boolean), image => {
LOG(`${figures.arrowRight} build.push ${image}`); LOG(`${figures.arrowRight} build.push ${image}`);
return execa('docker', ['push', `${image}`], { return execa('docker', ['push', `${image}`], {
stdio: 'inherit' stdio: 'inherit'