commit 52ff363a7a22e4a8f2768ef98ec68fcc37626dee Author: AleaJactaEst Date: Sat Jun 22 11:55:17 2019 +0200 adding 1st files diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..898576c --- /dev/null +++ b/.gitlab-ci.yml @@ -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 . +# + +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 diff --git a/README.md b/README.md new file mode 100644 index 0000000..69429ef --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Upload Artefact + +Goal validate we can upload artefact with GitLab-CI \ No newline at end of file