mirror of
https://port.numenaute.org/aleajactaest/uploadartefact.git
synced 2024-11-09 08:49:05 +00:00
122 lines
2.8 KiB
YAML
122 lines
2.8 KiB
YAML
# Configuration for Continous Integration
|
|
#
|
|
# Copyright (C) 2017 Khanat
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
#
|
|
|
|
stages:
|
|
- test
|
|
|
|
## BUILDS
|
|
|
|
|
|
Linux upload artefact 1M:
|
|
stage: test
|
|
tags:
|
|
- Docker
|
|
image: debian:jessie
|
|
script:
|
|
- dd if=/dev/zero of=empty_artefacts.img bs=1 count=0 seek=1M
|
|
artifacts:
|
|
name: "upload-artefact-1M"
|
|
paths:
|
|
- empty_artefacts.img
|
|
expire_in: 2 mins
|
|
when: manual
|
|
|
|
Linux upload artefact 10M:
|
|
stage: test
|
|
tags:
|
|
- Docker
|
|
image: debian:jessie
|
|
script:
|
|
- dd if=/dev/zero of=empty_artefacts.img bs=1 count=0 seek=10M
|
|
artifacts:
|
|
name: "upload-artefact-10M"
|
|
paths:
|
|
- empty_artefacts.img
|
|
expire_in: 2 mins
|
|
when: manual
|
|
|
|
Linux upload artefact 100M:
|
|
stage: test
|
|
tags:
|
|
- Docker
|
|
image: debian:jessie
|
|
script:
|
|
- dd if=/dev/zero of=empty_artefacts.img bs=1 count=0 seek=100M
|
|
artifacts:
|
|
name: "upload-artefact-100M"
|
|
paths:
|
|
- empty_artefacts.img
|
|
expire_in: 2 mins
|
|
when: manual
|
|
|
|
Linux upload artefact 500M:
|
|
stage: test
|
|
tags:
|
|
- Docker
|
|
image: debian:jessie
|
|
script:
|
|
- dd if=/dev/zero of=empty_artefacts.img bs=1 count=0 seek=500M
|
|
artifacts:
|
|
name: "upload-artefact-500M"
|
|
paths:
|
|
- empty_artefacts.img
|
|
expire_in: 2 mins
|
|
when: manual
|
|
|
|
Linux upload artefact 1G:
|
|
stage: test
|
|
tags:
|
|
- Docker
|
|
image: debian:jessie
|
|
script:
|
|
# Calcul le nombre de cpu désactivé (on ne laisse que 4 au maximum)
|
|
- dd if=/dev/zero of=empty_artefacts.img bs=1 count=0 seek=1G
|
|
artifacts:
|
|
name: "upload-artefact-1G"
|
|
paths:
|
|
- empty_artefacts.img
|
|
expire_in: 2 mins
|
|
when: manual
|
|
|
|
Linux upload artefact 10G:
|
|
stage: test
|
|
tags:
|
|
- Docker
|
|
image: debian:jessie
|
|
script:
|
|
- dd if=/dev/zero of=empty_artefacts.img bs=1 count=0 seek=10G
|
|
artifacts:
|
|
name: "upload-artefact-10G"
|
|
paths:
|
|
- empty_artefacts.img
|
|
expire_in: 2 mins
|
|
when: manual
|
|
|
|
Linux upload artefact 100G:
|
|
stage: test
|
|
tags:
|
|
- Docker
|
|
image: debian:jessie
|
|
script:
|
|
- dd if=/dev/zero of=empty_artefacts.img bs=1 count=0 seek=100G
|
|
artifacts:
|
|
name: "upload-artefact-100G"
|
|
paths:
|
|
- empty_artefacts.img
|
|
expire_in: 2 mins
|
|
when: manual
|