mirror of
https://port.numenaute.org/aleajactaest/uploadartefact.git
synced 2024-11-23 23:56:26 +00:00
adding 1st files
This commit is contained in:
commit
52ff363a7a
2 changed files with 125 additions and 0 deletions
122
.gitlab-ci.yml
Normal file
122
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,122 @@
|
|||
# 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
|
3
README.md
Normal file
3
README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Upload Artefact
|
||||
|
||||
Goal validate we can upload artefact with GitLab-CI
|
Loading…
Reference in a new issue