Skip to content

Commit

Permalink
Fix docker image cleanup job, and configure variables for prod (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcleblanc2 authored Mar 27, 2024
1 parent ba59a4d commit d6bd0aa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/docker-image-cleaup-old-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Delete old untagged packages
uses: actions/delete-package-versions@v5.0.0
uses: actions/delete-package-versions@v5
with:
package-name: sourcegraph/bridge-repo-converter
package-name: implementation-bridge-repo-converter
package-type: container
min-versions-to-keep: 5
delete-only-untagged-versions: 'true'
token: ${{ secrets.GITHUB_TOKEN }}
min-versions-to-keep: 10
ignore-versions: '^v\\d+\\.\\d+\\.\\d+$'
6 changes: 3 additions & 3 deletions repo-converter/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ services:

repo-converter:
container_name: repo-converter
image: ghcr.io/sourcegraph/implementation-bridge-repo-converter:main
image: ghcr.io/sourcegraph/implementation-bridge-repo-converter:latest
volumes:
- ../config/repos-to-convert.yaml:/sourcegraph/repos-to-convert.yaml:ro
- ../config/toprc:/root/.config/procps/toprc
- ../src-serve-root/:/sourcegraph/src-serve-root
restart: always
environment:
- REPO_CONVERTER_INTERVAL_SECONDS=60
- LOG_LEVEL=DEBUG # DEBUG INFO WARNING ERROR CRITICAL # Default is INFO if unspecified
- REPO_CONVERTER_INTERVAL_SECONDS=900
# - LOG_LEVEL=DEBUG # DEBUG INFO WARNING ERROR CRITICAL # Default is INFO if unspecified

0 comments on commit d6bd0aa

Please sign in to comment.