Skip to content

Commit

Permalink
Disable LCFS_RELOAD (#1389)
Browse files Browse the repository at this point in the history
Update build config to use pullSecret
  • Loading branch information
kuanfandevops authored Dec 6, 2024
1 parent 5e0a115 commit 20e45d6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 26 deletions.
8 changes: 4 additions & 4 deletions backend/Dockerfile.openshift
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ ENV POETRY_CACHE_DIR=/.cache/pypoetry
RUN poetry install --only main

# Removing gcc
# RUN apt-get purge -y \
# gcc \
# && rm -rf /var/lib/apt/lists/*
RUN apt-get purge -y \
gcc \
&& rm -rf /var/lib/apt/lists/*

# Copying the actual application, wait-for-it script, and prestart script
COPY . /app/
Expand All @@ -45,4 +45,4 @@ RUN chmod +x /app/wait-for-it.sh /app/lcfs/prestart.sh /app/lcfs/start.sh
# Set the APP_ENVIRONMENT variable to 'production'
ENV APP_ENVIRONMENT=prod

CMD ["/app/lcfs/start.sh"]
CMD ["/app/lcfs/start.sh"]
15 changes: 4 additions & 11 deletions openshift/templates/backend-bc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,9 @@ objects:
strategy:
dockerStrategy:
dockerfilePath: ./Dockerfile.openshift
env:
- name: ARTIFACTORY_USER
valueFrom:
secretKeyRef:
name: artifacts-default-gyszor
key: username
- name: ARTIFACTORY_PASSWORD
valueFrom:
secretKeyRef:
name: artifacts-default-gyszor
key: password
pullSecret:
name: artifacts-pull-default-gyszor
forcePull: true
noCache: true
type: Docker
triggers: []
15 changes: 4 additions & 11 deletions openshift/templates/frontend-bc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,9 @@ objects:
strategy:
dockerStrategy:
dockerfilePath: ./Dockerfile.openshift
env:
- name: ARTIFACTORY_USER
valueFrom:
secretKeyRef:
name: artifacts-default-gyszor
key: username
- name: ARTIFACTORY_PASSWORD
valueFrom:
secretKeyRef:
name: artifacts-default-gyszor
key: password
pullSecret:
name: artifacts-pull-default-gyszor
forcePull: true
noCache: true
type: Docker
triggers: []

0 comments on commit 20e45d6

Please sign in to comment.