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

Remove modify-apt-sources.sh #574

Merged
merged 2 commits into from
Oct 30, 2024
Merged

Conversation

int128
Copy link
Member

@int128 int128 commented Oct 29, 2024

We decided to mount /etc/apt/sources.list in an AutoscalingRunnerSet as follows:

apiVersion: actions.github.com/v1alpha1
kind: AutoscalingRunnerSet
metadata:
  name: any-amd64
spec:
  template:
    spec:
      containers:
        - name: runner
          volumeMounts:
            # Use cloud-local APT sources to reduce the time of apt-get.
            # You need to set subPath to the current version of Ubuntu.
            - name: apt-sources
              subPath: apt-sources-jammy-amd64.list
              mountPath: /etc/apt/sources.list
      volumes:
        - name: apt-sources
          configMap:
            name: apt-sources

This pull request will remove the entrypoint script.

Copy link

🆕 If you need to build a new runner image, create a new release after merge.

Copy link

🆕 If you need to build a new runner image, create a new release after merge.

@int128 int128 marked this pull request as ready for review October 30, 2024 00:01
@int128 int128 requested a review from a team as a code owner October 30, 2024 00:01
@int128 int128 merged commit 733f524 into main Oct 30, 2024
6 checks passed
@int128 int128 deleted the int128/Remove-modify-apt-sources-sh branch October 30, 2024 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant