Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger mod installer deploy after APT repo update #4158

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,15 @@ jobs:
run: aws s3 sync _build/deb/apt-repo-root s3://${AWS_S3_BUCKET}/deb --follow-symlinks
- name: Push nightly APT repo to S3
run: aws s3 sync _build/deb/apt-repo-dist s3://${AWS_S3_BUCKET}/deb/dists/nightly --follow-symlinks
- name: CKAN-ModInstaller repo dispatch
env:
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
if: env.REPO_ACCESS_TOKEN
uses: peter-evans/repository-dispatch@v2
with:
repository: KSP-CKAN/CKAN-ModInstaller
event-type: deploy
token: ${{ secrets.REPO_ACCESS_TOKEN }}

upload-rpm:
needs:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.metadata
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Everything we need in both the build and prod images
FROM ubuntu:22.04 as base
FROM ubuntu:22.04 AS base

# Don't prompt for time zone
ENV DEBIAN_FRONTEND noninteractive
Expand All @@ -26,7 +26,7 @@ RUN apt-get install -y --no-install-recommends \
mono-runtime ca-certificates-mono libmono-microsoft-csharp4.0-cil libmono-system-data4.0-cil libmono-system-runtime-serialization4.0-cil libmono-system-transactions4.0-cil libmono-system-net-http-webrequest4.0-cil

# Isolate Python build stuff in a separate container
FROM base as build
FROM base AS build

# Install Python build deps
RUN apt-get install -y --no-install-recommends \
Expand Down