Skip to content

Commit

Permalink
[DRAFT] control-service: fine-tune the job-builder-secure
Browse files Browse the repository at this point in the history
Signed-off-by: Miroslav Ivanov [email protected]
  • Loading branch information
mivanov1988 committed Jul 28, 2023
1 parent 7969600 commit c0bb329
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions projects/control-service/cicd/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,9 @@ control_service_publish_job_builder_secure_image:
- cd projects/control-service/projects/job-builder-secure
- bash -ex ./publish-vdk-job-builder-secure.sh
retry: !reference [.control_service_retry, retry_options]
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- if: '$CI_COMMIT_BRANCH == "main"'
changes:
- projects/control-service/projects/job-builder-secure/version.txt
only:
refs:
- external_pull_requests


control_service_publish_image:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RUN : \
&& yum autoremove shadow build-essential gcc glibc-devel git curl unzip -y; fi \
&& echo "Deleting system directories ..." \
&& yum install findutils -y \
&& rm -rf /boot /home /media /mnt /root /sbin /srv /var /usr/lib/ldscripts /usr/lib/rpm /usr/lib/sysimage \
&& rm -rf /boot /home /media /mnt /root /sbin /srv /usr/lib/ldscripts /usr/lib/rpm /usr/lib/sysimage \
/usr/lib/tdnf /usr/lib/perl5 /usr/lib/gcc /usr/share/locale /tmp/* /usr/include /usr/libexec /usr/sbin /usr/libexec \
&& echo "Deleting system binaries ..." \
&& python -m pip uninstall pip -y \
Expand Down

0 comments on commit c0bb329

Please sign in to comment.