fix: remove unused deb build stage
This commit is contained in:
+1
-31
@@ -13,34 +13,10 @@ services:
|
||||
alias: docker
|
||||
|
||||
stages:
|
||||
- build_deb
|
||||
- docker
|
||||
- scan
|
||||
- notification
|
||||
|
||||
deb:
|
||||
image: eu.gcr.io/vnc-development/docker-vnc-deb-builder:latest
|
||||
stage: build_deb
|
||||
script:
|
||||
- yarn cache clean
|
||||
- yarn install
|
||||
- echo 'Packaging deb'
|
||||
- ls -la
|
||||
- git fetch --tags
|
||||
- makechangelog.uxf > debian/changelog && cat debian/changelog
|
||||
- sed -n 1p debian/changelog | grep -oP '\(.*?\)' > version.txt
|
||||
- echo '####################################################'
|
||||
- cat version.txt
|
||||
- echo '####################################################'
|
||||
- rm config/vnc-hybrid-authenticator.js
|
||||
- cp -P conf.template/vnc-hybridauth2.js config/vnc-hybrid-authenticator.js
|
||||
- (cd debian; debuild --check-dirname-level 0 --no-tgz-check --no-lintian -us -uc)
|
||||
- ls -la ../
|
||||
- scp ../*.deb repo@newpackages.vnc.biz:/srv/repo/apt/incoming/
|
||||
- ssh repo@newpackages.vnc.biz /srv/repo/bin/import-new-packages.sh
|
||||
only:
|
||||
- master
|
||||
|
||||
dev_deploy:
|
||||
before_script:
|
||||
- until docker info; do sleep 1; done
|
||||
@@ -59,15 +35,9 @@ dev_deploy:
|
||||
- master
|
||||
|
||||
dev_trivy:
|
||||
image: eu.gcr.io/vnc-development/docker-vnc-runner:nogsdk
|
||||
image: aquasec/trivy:latest
|
||||
stage: scan
|
||||
script:
|
||||
- apt -y update
|
||||
- apt -y install wget apt-transport-https gnupg lsb-release
|
||||
- wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | apt-key add -
|
||||
- echo "deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main" >> /etc/apt/sources.list.d/trivy.list
|
||||
- apt -y update
|
||||
- apt -y install trivy
|
||||
- trivy image --input scan/hybridauth.tgz
|
||||
only:
|
||||
- master
|
||||
|
||||
Reference in New Issue
Block a user