mirror of
https://github.com/internetee/registry.git
synced 2025-06-02 18:58:35 +02:00
Namespaces alignment (#2261)
* Algins registry admin panel namespace * Adds directory to hold generated certs * Adds openssl db and serial
This commit is contained in:
parent
78e50c490d
commit
b2efa6ad7e
3 changed files with 16 additions and 3 deletions
2
.github/workflows/build_deploy_staging.yml
vendored
2
.github/workflows/build_deploy_staging.yml
vendored
|
@ -164,7 +164,7 @@ jobs:
|
|||
export KUBECONFIG=./kubeconfig
|
||||
helm repo add eisrepo https://internetee.github.io/helm-charts/
|
||||
helm repo update
|
||||
helm upgrade --install reg-admin-"$PR_REF" --set image.tag="$SHORT_TAG",reference="$PR_REF" eisrepo/registry-admin -n reg-admin-staging
|
||||
helm upgrade --install reg-admin-"$PR_REF" --set image.tag="$SHORT_TAG",reference="$PR_REF" eisrepo/registry-admin -n reg-admin
|
||||
helm upgrade --install epp-"$PR_REF" --set image.tag="$SHORT_TAG",reference="$PR_REF",epp.proxy.enabled=true eisrepo/registry-epp -n epp
|
||||
helm upgrade --install reg-api-"$PR_REF" --set image.tag="$SHORT_TAG",reference="$PR_REF" eisrepo/registry-api -n reg-api
|
||||
TOKEN=${{ secrets.CLOUD_TOKEN }} python3 ../../portOpener.py "$PR_REF" add
|
||||
|
|
|
@ -9,7 +9,13 @@ ENV SECRET_KEY_BASE "$SECRET_KEY_BASE"
|
|||
|
||||
RUN npm install -g yarn@"$YARN_VER"
|
||||
|
||||
RUN mkdir -p /opt/webapps/app/tmp/pids
|
||||
RUN mkdir -p -v -m776 {/opt/webapps/app/tmp/pids,/opt/ca,/opt/ca/newcerts}
|
||||
RUN echo -n 12 > /opt/ca/serial
|
||||
RUN chmod 776 /opt/ca/serial
|
||||
RUN echo '3A0e' > /opt/ca/crlnumber
|
||||
RUN chmod 776 /opt/ca/crlnumber
|
||||
RUN touch /opt/ca/index.txt
|
||||
RUN chmod 776 /opt/ca/index.txt
|
||||
WORKDIR /opt/webapps/app
|
||||
COPY Gemfile Gemfile.lock ./
|
||||
RUN gem install bundler && bundle config set without 'development test' && bundle install --jobs 20 --retry 5
|
||||
|
|
|
@ -9,7 +9,14 @@ ENV SECRET_KEY_BASE "$SECRET_KEY_BASE"
|
|||
|
||||
RUN npm install -g yarn@"$YARN_VER"
|
||||
|
||||
RUN mkdir -p /opt/webapps/app/tmp/pids
|
||||
RUN mkdir -p -m776 /opt/webapps/app/tmp/pids
|
||||
RUN mkdir -p -m776 /opt/ca/newcerts
|
||||
RUN echo -n 12 > /opt/ca/serial
|
||||
RUN chmod 776 /opt/ca/serial
|
||||
RUN echo '3A0e' > /opt/ca/crlnumber
|
||||
RUN chmod 776 /opt/ca/crlnumber
|
||||
RUN touch /opt/ca/index.txt
|
||||
RUN chmod 776 /opt/ca/index.txt
|
||||
WORKDIR /opt/webapps/app
|
||||
|
||||
COPY . .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue