docs→rtfd
This commit is contained in:
parent
7bc781ed11
commit
c7ec1dc5d1
131 changed files with 1 additions and 1 deletions
40
rtfd/public/gitlab-ci/index.rst
Normal file
40
rtfd/public/gitlab-ci/index.rst
Normal file
|
@ -0,0 +1,40 @@
|
|||
gitlab-ci
|
||||
=========
|
||||
|
||||
* /.gitlab-ci.yml
|
||||
|
||||
.. code:: yaml
|
||||
|
||||
stages:
|
||||
- test
|
||||
- deploy
|
||||
|
||||
try:
|
||||
stage: test
|
||||
image: alpine:latest
|
||||
script:
|
||||
- ls -al ../../..
|
||||
- ls -al ../..
|
||||
- ls -al ..
|
||||
- ls -al
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- ls --all -l public
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
||||
* group script
|
||||
|
||||
.. todo:: explain group logic
|
||||
|
||||
.. code:: shell
|
||||
|
||||
apt update
|
||||
rm --force --recursive ../${group_project}
|
||||
apt --yes install git
|
||||
git clone ${group_url}/${group_project} ../${group_project}
|
||||
apt --yes install python3
|
||||
python3 ../${group_project}/buildeploy.py
|
Loading…
Add table
Add a link
Reference in a new issue