mirror of https://github.com/openXC7/prjxray.git
ci: rm cloudbuild related sources
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
parent
bbe54c9acc
commit
a44886bb9c
|
|
@ -1,26 +0,0 @@
|
|||
steps:
|
||||
- name: 'gcr.io/cloud-builders/docker'
|
||||
args:
|
||||
- 'build'
|
||||
- '--build-arg'
|
||||
- 'DEV_ENV_IMAGE=${_DEV_ENV_IMAGE}'
|
||||
- '--build-arg'
|
||||
- 'NUM_PARALLEL_JOBS=${_NUM_CPUS}'
|
||||
- '--build-arg'
|
||||
- 'BUILD_TYPE=${_BUILD_TYPE}'
|
||||
- '-t'
|
||||
- '${_GCR_ZONE}/$PROJECT_ID/${_IMAGE_NAME}:${SHORT_SHA}'
|
||||
- '-f'
|
||||
- '.github/cloudbuild/Dockerfile'
|
||||
- '.'
|
||||
options:
|
||||
disk_size_gb: 1000
|
||||
machine_type: N1_HIGHCPU_32
|
||||
timeout: '24h0m0s'
|
||||
substitutions:
|
||||
_GCR_ZONE: 'gcr.io'
|
||||
_IMAGE_NAME: 'prjxray-db'
|
||||
_NUM_CPUS: '16'
|
||||
_BUILD_TYPE: ''
|
||||
images:
|
||||
- '${_GCR_ZONE}/$PROJECT_ID/${_IMAGE_NAME}:${SHORT_SHA}'
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
ARG DEV_ENV_IMAGE
|
||||
|
||||
FROM ${DEV_ENV_IMAGE} AS db_builder
|
||||
ARG NUM_PARALLEL_JOBS=1
|
||||
|
||||
COPY . /source
|
||||
RUN cd /source && make -j${NUM_PARALLEL_JOBS} --output-sync=target --warn-undefined-variables build && make env
|
||||
RUN bash -c ". /source/database/artix7/settings.sh; cd /source/fuzzers && make --output-sync=target --warn-undefined-variables ${BUILD_TYPE}"
|
||||
#RUN find /source/database -mindepth 1 -maxdepth 1 -type d -exec /source/htmlgen/htmlgen.py --settings={}/settings.sh --output=/output/html \;
|
||||
RUN mkdir -p /output/raw && find /source/database -mindepth 1 -maxdepth 1 -type d -exec cp -R {} /output/raw \;
|
||||
|
||||
FROM amd64/nginx:alpine
|
||||
COPY --from=db_builder /output /usr/share/nginx/html
|
||||
Loading…
Reference in New Issue