Unverified Commit 99f0cba1 authored by torgiren's avatar torgiren
Browse files

init

Signed-off-by: torgiren's avatarMarcin Fabrykowski <git@fabrykowski.pl>
No related merge requests found
Pipeline #3754 passed with stages
in 1 minute and 49 seconds
Showing with 65 additions and 0 deletions
+65 -0
include:
- https://gitlab.exphost.pl/exphost/exphost-helms/-/raw/master/common/gitlab-ci.yml
- https://gitlab.exphost.pl/exphost-controller/controller-helms/-/raw/master/helpers/gitlab-ci.yml
stages:
- prepare
- build
- push
get version:
extends: .get version
build:
stage: build
image: quay.io/podman/stable:v4
extends: .registry
script:
- podman pull $CI_REGISTRY_IMAGE:dev || true
- >
podman build
--pull
--tag $CI_REGISTRY_IMAGE:dev
.
- podman push $CI_REGISTRY_IMAGE:dev
push image:
variables:
GIT_STRATEGY: none
image: quay.io/podman/stable:v4
stage: push
extends: .registry
only:
- master
- tags
script:
- podman pull $CI_REGISTRY_IMAGE:dev
- podman tag $CI_REGISTRY_IMAGE:dev $CI_REGISTRY_IMAGE:latest
- podman push $CI_REGISTRY_IMAGE:latest
- "podman tag $CI_REGISTRY_IMAGE:dev $CI_REGISTRY_IMAGE:$(cat output/version.txt)"
- "podman push $CI_REGISTRY_IMAGE:$(cat output/version.txt)"
#push tag:
# variables:
# GIT_STRATEGY: none
# image: quay.io/podman/stable
# stage: push
# extends: .registry
# only:
# - tags
# script:
# - podman pull $CI_REGISTRY_IMAGE:dev
# - podman tag $CI_REGISTRY_IMAGE:dev $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
# - podman push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
Dockerfile 0 → 100644
FROM python:3
#RUN useradd --system -m -u 999 keystone
#RUN pip install poetry
#USER keystone
#WORKDIR /home/keystone
#COPY pyproject.toml /home/keystone
#RUN poetry install
#ENTRYPOINT ["poetry", "run", "bash", "-xc"]
RUN pip install python-openstackclient
CMD bash
#CMD ["uwsgi --http 0.0.0.0:35357 --wsgi-file $(which keystone-wsgi-admin) --max-fd 1024"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment