Skip to content

Commit

Permalink
chore: fetch credentials dev config from devstack
Browse files Browse the repository at this point in the history
  • Loading branch information
mumarkhan999 committed Oct 24, 2024
1 parent 58e8a6e commit 99356c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/push-credentials-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
branch:
description: "Target branch from which the source dockerfile from image will be sourced"

# Added for testing purposes. Will remove once the PR is finalised
pull_request:
branches:
- '**'

schedule:
- cron: "0 4 * * 1-5" # UTC Time

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/credentials.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ RUN mkdir -p /edx/var/log
# This line is after the python requirements so that changes to the code will not
# bust the image cache
RUN curl -L https://github.com/openedx/credentials/archive/refs/heads/master.tar.gz | tar -xz --strip-components=1
# Download python configuration file from devstack
RUN curl -L -o credentials/settings/devstack.py https://raw.githubusercontent.com/edx/devstack/master/py_configuration_files/credentials.py

# Fetch the translations into the image once the Makefile's in place
RUN make pull_translations
Expand Down

0 comments on commit 99356c9

Please sign in to comment.