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

Use Fedora 35 as base image to benefit GHC 8.10 #647

Merged
merged 1 commit into from
Oct 12, 2021
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
8 changes: 8 additions & 0 deletions .github/workflows/publish-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ jobs:
if: github.repository_owner == 'change-metrics'
runs-on: ubuntu-latest
steps:
# See https://github.com/actions/virtual-environments/issues/3812 for more information
- name: Download Docker with patched seccomp
run: |
sudo systemctl stop docker containerd
sudo apt-get remove --autoremove -y moby-engine moby-cli moby-buildx moby-containerd moby-runc
sudo add-apt-repository -y ppa:pascallj/docker.io-clone3
sudo apt-get install -y docker.io

- name: Checkout code
uses: actions/checkout@v2
with:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/publish-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ jobs:
if: github.repository_owner == 'change-metrics'
runs-on: ubuntu-latest
steps:
# See https://github.com/actions/virtual-environments/issues/3812 for more information
- name: Download Docker with patched seccomp
run: |
sudo systemctl stop docker containerd
sudo apt-get remove --autoremove -y moby-engine moby-cli moby-buildx moby-containerd moby-runc
sudo add-apt-repository -y ppa:pascallj/docker.io-clone3
sudo apt-get install -y docker.io

- name: Checkout code
uses: actions/checkout@v2
with:
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/validate-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,17 @@ jobs:
- name: Test with tox
run: tox -e py3

# - name: Validate usefulness of tests
# uses: quality-of-tests/has-useful-tests-action@master
# with:
# run-tests: tox -epy3
docker:
runs-on: ubuntu-latest
steps:
# See https://github.com/actions/virtual-environments/issues/3812 for more information
- name: Download Docker with patched seccomp
run: |
sudo systemctl stop docker containerd
sudo apt-get remove --autoremove -y moby-engine moby-cli moby-buildx moby-containerd moby-runc
sudo add-apt-repository -y ppa:pascallj/docker.io-clone3
sudo apt-get install -y docker.io

- name: Checkout code
uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-api
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ COPY haskell/ /build
RUN cabal v2-install -v1 exe:monocle-api exe:macroscope

################################################################################
FROM registry.fedoraproject.org/fedora:33
FROM registry.fedoraproject.org/fedora:35

COPY --from=0 /root/.cabal/bin/monocle-api /root/.cabal/bin/macroscope /bin/