Skip to content
Snippets Groups Projects
Verified Commit 61136e45 authored by Martin Weise's avatar Martin Weise
Browse files

Use python

parent b47def73
Branches
Tags
No related merge requests found
...@@ -19,7 +19,7 @@ cache: ...@@ -19,7 +19,7 @@ cache:
stages: stages:
# - build # - build
# - test # - test
- docs # - docs
- release - release
# - scan # - scan
...@@ -470,28 +470,6 @@ stages: ...@@ -470,28 +470,6 @@ stages:
# - pip install -r ./requirements.txt # - pip install -r ./requirements.txt
# - python3 .docs/docker/release.py # - python3 .docs/docker/release.py
docs-docs:
stage: docs
image: docker.io/python:3.11-slim
only:
refs:
- /^release-.*/
script:
- apt-get update && apt-get install -y git make sed wget
- make docs
- tar czfv final.tar.gz final/
- ls -la ./final.tar.gz
cache:
policy: push
key: ${CI_BUILD_REF_NAME}
paths:
- ./final.tar.gz
artifacts:
when: always
paths:
- ./final.tar.gz
expire_in: 1 hour
#release-images: #release-images:
# stage: release # stage: release
# image: docker:24-dind # image: docker:24-dind
...@@ -529,7 +507,7 @@ docs-docs: ...@@ -529,7 +507,7 @@ docs-docs:
release-docs: release-docs:
stage: release stage: release
image: docker.io/finalgene/openssh:9.1 image: docker.io/python:3.11-slim
needs: needs:
- docs-docs - docs-docs
dependencies: dependencies:
...@@ -538,6 +516,8 @@ release-docs: ...@@ -538,6 +516,8 @@ release-docs:
refs: refs:
- /^release-.*/ - /^release-.*/
script: script:
- apt-get update && apt-get install -y git make sed wget ssh
- make docs
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- echo "$CI_KEY_PRIVATE" > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa - echo "$CI_KEY_PRIVATE" > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa
- echo "$CI_KEY_PUBLIC" > /root/.ssh/id_rsa.pub - echo "$CI_KEY_PUBLIC" > /root/.ssh/id_rsa.pub
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment