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:
stages:
# - build
# - test
- docs
# - docs
- release
# - scan
......@@ -470,28 +470,6 @@ stages:
# - pip install -r ./requirements.txt
# - 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:
# stage: release
# image: docker:24-dind
......@@ -529,7 +507,7 @@ docs-docs:
release-docs:
stage: release
image: docker.io/finalgene/openssh:9.1
image: docker.io/python:3.11-slim
needs:
- docs-docs
dependencies:
......@@ -538,6 +516,8 @@ release-docs:
refs:
- /^release-.*/
script:
- apt-get update && apt-get install -y git make sed wget ssh
- make docs
- eval $(ssh-agent -s)
- echo "$CI_KEY_PRIVATE" > /root/.ssh/id_rsa && chmod 0600 /root/.ssh/id_rsa
- 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