代码拉取完成,页面将自动刷新
stages:
- prep
- build
# Kali ??
# EOL: ??
build-kali-x86_64:
stage: build
before_script:
- mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
- rm -rf ~/rpmbuild/BUILD/* || true
- cp *.spec ~/rpmbuild/SPECS/
- rm -f ~/rpmbuild/SOURCES/*
- cp SOURCES/* ~/rpmbuild/SOURCES/
- git clone https://gitlab.dev.atomicorp.com/atomicrocketturtle/buildsys-tools
- cp buildsys-tools/* ~/bin/
- chmod +x ~/bin/build-debian.sh
script:
- (if [[ $CI_BUILD_REF_NAME == "master" ]]; then dist=kali arch=amd64 ~/bin/build-debian.sh -b openvas-scanner.spec /mnt/repo/atomic-testing/debian/; else dist=kali arch=amd64 ~/bin/build-debian.sh -b openvas-scanner.spec /mnt/repo/atomic-bleeding/debian/; fi )
# Ubuntu 16
# EOL: 04/01/2021
build-xenial-x86_64:
stage: build
before_script:
- mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
- rm -rf ~/rpmbuild/BUILD/* || true
- cp *.spec ~/rpmbuild/SPECS/
- rm -f ~/rpmbuild/SOURCES/*
- cp SOURCES/* ~/rpmbuild/SOURCES/
- git clone https://gitlab.dev.atomicorp.com/atomicrocketturtle/buildsys-tools
- cp buildsys-tools/* ~/bin/
- chmod +x ~/bin/build-debian.sh
script:
- (if [[ $CI_BUILD_REF_NAME == "master" ]]; then dist=xenial arch=amd64 ~/bin/build-debian.sh -b openvas-scanner.spec /mnt/repo/atomic-testing/debian/; else dist=xenial arch=amd64 ~/bin/build-debian.sh -b openvas-scanner.spec /mnt/repo/atomic-bleeding/debian/; fi )
build-el7-x86_64:
stage: build
before_script:
- mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
- mkdir -p ~/mock
- cp mock/* ~/mock/
- cp *.spec ~/rpmbuild/SPECS/
- rm -f ~/rpmbuild/SOURCES/*
- cp SOURCES/* ~/rpmbuild/SOURCES/
script:
- (if [[ $CI_BUILD_REF_NAME == "master" ]]; then gitlab-build.sh el7-x86_64 openvas-scanner.spec /mnt/repo/atomic-testing/centos/7/x86_64/ ; else gitlab-build.sh el7-x86_64 openvas-scanner.spec /mnt/repo/atomic-bleeding/centos/7/x86_64/ ; fi )
build-el8-x86_64:
stage: prep
before_script:
- mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
- mkdir -p ~/mock
- cp mock/* ~/mock/
- cp *.spec ~/rpmbuild/SPECS/
- rm -f ~/rpmbuild/SOURCES/*
- cp SOURCES/* ~/rpmbuild/SOURCES/
script:
- (if [[ $CI_BUILD_REF_NAME == "master" ]]; then gitlab-build.sh el8-x86_64 openvas-scanner.spec /mnt/repo/atomic-testing/centos/8/x86_64/ ; else gitlab-build.sh el8-x86_64 openvas-scanner.spec /mnt/repo/atomic-bleeding/centos/8/x86_64/ ; fi )
build-fc32-x86_64:
stage: prep
before_script:
- mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
- mkdir -p ~/mock
- cp mock/* ~/mock/
- cp openvas-scanner.spec ~/rpmbuild/SPECS/
- rm -f ~/rpmbuild/SOURCES/*
- cp SOURCES/* ~/rpmbuild/SOURCES/
script:
- (if [[ $CI_BUILD_REF_NAME == "master" ]]; then gitlab-build.sh fc32-x86_64 openvas-scanner.spec /mnt/repo/atomic-testing/fedora/32/x86_64 ; else gitlab-build.sh fc32-x86_64 openvas-scanner.spec /mnt/repo/atomic-bleeding/fedora/32/x86_64 ; fi )
build-fc29-x86_64:
stage: build
before_script:
- mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
- mkdir -p ~/mock
- cp mock/* ~/mock/
- cp openvas-scanner.spec ~/rpmbuild/SPECS/
- cp SOURCES/* ~/rpmbuild/SOURCES/
script:
- (if [[ $CI_BUILD_REF_NAME == "master" ]]; then gitlab-build.sh fc29-x86_64 openvas-scanner.spec /mnt/repo/atomic-testing/fedora/29/x86_64 ; else gitlab-build.sh fc29-x86_64 openvas-scanner.spec /mnt/repo/atomic-bleeding/fedora/29/x86_64 ; fi )
build-fc30-x86_64:
stage: build
before_script:
- mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
- mkdir -p ~/mock
- cp mock/* ~/mock/
- cp openvas-scanner.spec ~/rpmbuild/SPECS/
- rm -f ~/rpmbuild/SOURCES/*
- cp SOURCES/* ~/rpmbuild/SOURCES/
script:
- (if [[ $CI_BUILD_REF_NAME == "master" ]]; then gitlab-build.sh fc30-x86_64 openvas-scanner.spec /mnt/repo/atomic-testing/fedora/30/x86_64 ; else gitlab-build.sh fc30-x86_64 openvas-scanner.spec /mnt/repo/atomic-bleeding/fedora/30/x86_64 ; fi )
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。