Add hardcoded backend-protobuf submodule
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
fd4eac4eb4
10
.drone.yml
10
.drone.yml
|
@ -62,6 +62,7 @@ steps:
|
|||
backend-pictures: 'https://git.makerforce.io/beep/backend-pictures.git'
|
||||
backend-permissions: 'https://git.makerforce.io/beep/backend-permissions.git'
|
||||
backend-webrtc: 'https://git.makerforce.io/beep/backend-webrtc.git'
|
||||
backend-protobuf: 'https://git.makerforce.io/beep/backend-protobuf.git'
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
@ -102,6 +103,7 @@ steps:
|
|||
backend-pictures: 'https://git.makerforce.io/beep/backend-pictures.git'
|
||||
backend-permissions: 'https://git.makerforce.io/beep/backend-permissions.git'
|
||||
backend-webrtc: 'https://git.makerforce.io/beep/backend-webrtc.git'
|
||||
backend-protobuf: 'https://git.makerforce.io/beep/backend-protobuf.git'
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
@ -142,6 +144,7 @@ steps:
|
|||
backend-pictures: 'https://git.makerforce.io/beep/backend-pictures.git'
|
||||
backend-permissions: 'https://git.makerforce.io/beep/backend-permissions.git'
|
||||
backend-webrtc: 'https://git.makerforce.io/beep/backend-webrtc.git'
|
||||
backend-protobuf: 'https://git.makerforce.io/beep/backend-protobuf.git'
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
@ -182,6 +185,7 @@ steps:
|
|||
backend-pictures: 'https://git.makerforce.io/beep/backend-pictures.git'
|
||||
backend-permissions: 'https://git.makerforce.io/beep/backend-permissions.git'
|
||||
backend-webrtc: 'https://git.makerforce.io/beep/backend-webrtc.git'
|
||||
backend-protobuf: 'https://git.makerforce.io/beep/backend-protobuf.git'
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
@ -222,6 +226,7 @@ steps:
|
|||
backend-pictures: 'https://git.makerforce.io/beep/backend-pictures.git'
|
||||
backend-permissions: 'https://git.makerforce.io/beep/backend-permissions.git'
|
||||
backend-webrtc: 'https://git.makerforce.io/beep/backend-webrtc.git'
|
||||
backend-protobuf: 'https://git.makerforce.io/beep/backend-protobuf.git'
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
@ -262,6 +267,7 @@ steps:
|
|||
backend-pictures: 'https://git.makerforce.io/beep/backend-pictures.git'
|
||||
backend-permissions: 'https://git.makerforce.io/beep/backend-permissions.git'
|
||||
backend-webrtc: 'https://git.makerforce.io/beep/backend-webrtc.git'
|
||||
backend-protobuf: 'https://git.makerforce.io/beep/backend-protobuf.git'
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
@ -302,6 +308,7 @@ steps:
|
|||
backend-pictures: 'https://git.makerforce.io/beep/backend-pictures.git'
|
||||
backend-permissions: 'https://git.makerforce.io/beep/backend-permissions.git'
|
||||
backend-webrtc: 'https://git.makerforce.io/beep/backend-webrtc.git'
|
||||
backend-protobuf: 'https://git.makerforce.io/beep/backend-protobuf.git'
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
@ -342,6 +349,7 @@ steps:
|
|||
backend-pictures: 'https://git.makerforce.io/beep/backend-pictures.git'
|
||||
backend-permissions: 'https://git.makerforce.io/beep/backend-permissions.git'
|
||||
backend-webrtc: 'https://git.makerforce.io/beep/backend-webrtc.git'
|
||||
backend-protobuf: 'https://git.makerforce.io/beep/backend-protobuf.git'
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
@ -382,6 +390,7 @@ steps:
|
|||
backend-pictures: 'https://git.makerforce.io/beep/backend-pictures.git'
|
||||
backend-permissions: 'https://git.makerforce.io/beep/backend-permissions.git'
|
||||
backend-webrtc: 'https://git.makerforce.io/beep/backend-webrtc.git'
|
||||
backend-protobuf: 'https://git.makerforce.io/beep/backend-protobuf.git'
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
@ -420,6 +429,7 @@ steps:
|
|||
backend-pictures: 'https://git.makerforce.io/beep/backend-pictures.git'
|
||||
backend-permissions: 'https://git.makerforce.io/beep/backend-permissions.git'
|
||||
backend-webrtc: 'https://git.makerforce.io/beep/backend-webrtc.git'
|
||||
backend-protobuf: 'https://git.makerforce.io/beep/backend-protobuf.git'
|
||||
- name: copy-docker-compose
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
|
|
|
@ -5,14 +5,18 @@ const yaml = require('js-yaml');
|
|||
const ini = require('ini');
|
||||
|
||||
const gitmodules = ini.parse(fs.readFileSync('.gitmodules', 'utf-8'));
|
||||
const submodules = Object.values(gitmodules).map(m => m.path);
|
||||
const gitmodulepaths = Object.values(gitmodules).map(m => m.path);
|
||||
/*
|
||||
const folders = fs.readdirSync(cwd, { withFileTypes: true });
|
||||
const dockers = folders.filter(f =>
|
||||
f.isDirectory() && fs.readdirSync(path.join(cwd, f.name)).includes('Dockerfile')
|
||||
).map(f => f.name);
|
||||
*/
|
||||
const dockers = submodules; // Assumption: All submodules have Docker. Should hold true
|
||||
const submodules = gitmodulepaths.concat([
|
||||
// Additional nested submodules
|
||||
'backend-protobuf',
|
||||
]);
|
||||
const dockers = gitmodulepaths; // Assumption: All submodules have Docker. Should hold true
|
||||
|
||||
const submodule_override = submodules.reduce((acc, f) => {
|
||||
acc[f] = 'https://git.makerforce.io/beep/' + f + '.git';
|
||||
|
|
Loading…
Reference in New Issue