Skip to content

Commit e2c55f0

Browse files
committed
wip runner test
1 parent 61aec79 commit e2c55f0

4 files changed

Lines changed: 341 additions & 346 deletions

File tree

.github/workflows/doc.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
1-
name: Publish documentation
1+
# name: Publish documentation
22

3-
on:
4-
push:
5-
branches:
6-
- master
7-
workflow_dispatch:
3+
# on:
4+
# push:
5+
# branches:
6+
# - master
7+
# workflow_dispatch:
88

9-
jobs:
10-
build:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- name: Checkout repository
14-
uses: actions/checkout@v4
9+
# jobs:
10+
# build:
11+
# runs-on: ubuntu-latest
12+
# steps:
13+
# - name: Checkout repository
14+
# uses: actions/checkout@v4
1515

16-
- name: Install mdBook
17-
run: >
18-
curl -sL https://github.com/rust-lang/mdBook/releases/download/v0.4.40/mdbook-v0.4.40-x86_64-unknown-linux-musl.tar.gz |
19-
tar xz -C /usr/local/bin
16+
# - name: Install mdBook
17+
# run: >
18+
# curl -sL https://github.com/rust-lang/mdBook/releases/download/v0.4.40/mdbook-v0.4.40-x86_64-unknown-linux-musl.tar.gz |
19+
# tar xz -C /usr/local/bin
2020

21-
- name: Build doc
22-
run: mdbook build docs
21+
# - name: Build doc
22+
# run: mdbook build docs
2323

24-
- name: Upload artifact
25-
uses: actions/upload-pages-artifact@v3
26-
with:
27-
path: ./docs/book
24+
# - name: Upload artifact
25+
# uses: actions/upload-pages-artifact@v3
26+
# with:
27+
# path: ./docs/book
2828

29-
publish:
30-
runs-on: ubuntu-latest
31-
needs: build
32-
if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/mdbook' }}
33-
environment:
34-
name: github-pages
35-
permissions:
36-
pages: write
37-
id-token: write
38-
steps:
39-
- name: Deploy to GitHub Pages
40-
uses: actions/deploy-pages@v4
29+
# publish:
30+
# runs-on: ubuntu-latest
31+
# needs: build
32+
# if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/mdbook' }}
33+
# environment:
34+
# name: github-pages
35+
# permissions:
36+
# pages: write
37+
# id-token: write
38+
# steps:
39+
# - name: Deploy to GitHub Pages
40+
# uses: actions/deploy-pages@v4

.github/workflows/release.yml

Lines changed: 80 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,80 @@
1-
name: Release
2-
3-
on:
4-
push:
5-
tags:
6-
- '*'
7-
8-
jobs:
9-
docker-build-core:
10-
name: Docker Build Core
11-
runs-on: ubuntu-24.04
12-
steps:
13-
# Docker image + Nix cache tends to be big, this avoids out of space issue
14-
- name: Free Disk Space
15-
uses: jlumbroso/free-disk-space@main
16-
with:
17-
tool-cache: false
18-
19-
- name: Checkout repository
20-
uses: actions/checkout@v4
21-
22-
- name: Set up Docker Buildx
23-
uses: docker/setup-buildx-action@v3
24-
with:
25-
platforms: linux/amd64,linux/arm64
26-
27-
- name: Login to GitHub Container Registry
28-
uses: docker/login-action@v3
29-
with:
30-
registry: ghcr.io
31-
username: ${{ github.actor }}
32-
password: ${{ secrets.GITHUB_TOKEN }}
33-
34-
- name: Setup Nix
35-
uses: nixbuild/nix-quick-install-action@v30
36-
37-
- name: Cache Nix
38-
uses: nix-community/cache-nix-action@v6
39-
with:
40-
primary-key: nix-${{ runner.os }}
41-
restore-prefixes-first-match: nix-${{ runner.os }}
42-
43-
- name: Build Core container image
44-
run: CLOUDYPAD_BUILD_CORE_IMAGE_TAG=${GITHUB_REF_NAME#v} nix develop -c task build-core-container-release
45-
46-
docker-build-sunshine:
47-
name: Docker Build Sunshine
48-
runs-on: ubuntu-24.04
49-
steps:
50-
51-
# Docker image + Nix cache tends to be big, this avoids out of space issue
52-
- name: Free Disk Space
53-
uses: jlumbroso/free-disk-space@main
54-
with:
55-
tool-cache: false
56-
57-
- name: Checkout repository
58-
uses: actions/checkout@v4
59-
60-
- name: Set up Docker Buildx
61-
uses: docker/setup-buildx-action@v3
62-
63-
- name: Login to GitHub Container Registry
64-
uses: docker/login-action@v3
65-
with:
66-
registry: ghcr.io
67-
username: ${{ github.actor }}
68-
password: ${{ secrets.GITHUB_TOKEN }}
69-
70-
- name: Setup Nix
71-
uses: nixbuild/nix-quick-install-action@v30
72-
73-
- name: Cache Nix
74-
uses: nix-community/cache-nix-action@v6
75-
with:
76-
primary-key: nix-${{ runner.os }}
77-
restore-prefixes-first-match: nix-${{ runner.os }}
78-
79-
- name: Build Sunshine container image
80-
run: CLOUDYPAD_BUILD_SUNSHINE_IMAGE_TAG=${GITHUB_REF_NAME#v} nix develop -c task build-sunshine-container-release
1+
# name: Release
2+
3+
# on:
4+
# push:
5+
# tags:
6+
# - '*'
7+
8+
# jobs:
9+
# docker-build-core:
10+
# name: Docker Build Core
11+
# runs-on: ubuntu-24.04
12+
# steps:
13+
# # Docker image + Nix cache tends to be big, this avoids out of space issue
14+
# - name: Free Disk Space
15+
# uses: jlumbroso/free-disk-space@main
16+
# with:
17+
# tool-cache: false
18+
19+
# - name: Checkout repository
20+
# uses: actions/checkout@v4
21+
22+
# - name: Set up Docker Buildx
23+
# uses: docker/setup-buildx-action@v3
24+
# with:
25+
# platforms: linux/amd64,linux/arm64
26+
27+
# - name: Login to GitHub Container Registry
28+
# uses: docker/login-action@v3
29+
# with:
30+
# registry: ghcr.io
31+
# username: ${{ github.actor }}
32+
# password: ${{ secrets.GITHUB_TOKEN }}
33+
34+
# - name: Setup Nix
35+
# uses: nixbuild/nix-quick-install-action@v30
36+
37+
# - name: Cache Nix
38+
# uses: nix-community/cache-nix-action@v6
39+
# with:
40+
# primary-key: nix-${{ runner.os }}
41+
# restore-prefixes-first-match: nix-${{ runner.os }}
42+
43+
# - name: Build Core container image
44+
# run: CLOUDYPAD_BUILD_CORE_IMAGE_TAG=${GITHUB_REF_NAME#v} nix develop -c task build-core-container-release
45+
46+
# docker-build-sunshine:
47+
# name: Docker Build Sunshine
48+
# runs-on: ubuntu-24.04
49+
# steps:
50+
51+
# # Docker image + Nix cache tends to be big, this avoids out of space issue
52+
# - name: Free Disk Space
53+
# uses: jlumbroso/free-disk-space@main
54+
# with:
55+
# tool-cache: false
56+
57+
# - name: Checkout repository
58+
# uses: actions/checkout@v4
59+
60+
# - name: Set up Docker Buildx
61+
# uses: docker/setup-buildx-action@v3
62+
63+
# - name: Login to GitHub Container Registry
64+
# uses: docker/login-action@v3
65+
# with:
66+
# registry: ghcr.io
67+
# username: ${{ github.actor }}
68+
# password: ${{ secrets.GITHUB_TOKEN }}
69+
70+
# - name: Setup Nix
71+
# uses: nixbuild/nix-quick-install-action@v30
72+
73+
# - name: Cache Nix
74+
# uses: nix-community/cache-nix-action@v6
75+
# with:
76+
# primary-key: nix-${{ runner.os }}
77+
# restore-prefixes-first-match: nix-${{ runner.os }}
78+
79+
# - name: Build Sunshine container image
80+
# run: CLOUDYPAD_BUILD_SUNSHINE_IMAGE_TAG=${GITHUB_REF_NAME#v} nix develop -c task build-sunshine-container-release

.github/workflows/test-integ.yml

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
1-
name: Integration Tests
1+
# name: Integration Tests
22

3-
on:
4-
push:
5-
branches:
6-
- "master"
7-
pull_request:
8-
branches:
9-
- master
3+
# on:
4+
# push:
5+
# branches:
6+
# - "master"
7+
# pull_request:
8+
# branches:
9+
# - master
1010

11-
env:
12-
CLOUDYPAD_LOG_LEVEL: "3"
11+
# env:
12+
# CLOUDYPAD_LOG_LEVEL: "3"
1313

14-
jobs:
15-
integ-test:
16-
name: Integration tests
17-
runs-on: ubuntu-24.04
14+
# jobs:
15+
# integ-test:
16+
# name: Integration tests
17+
# runs-on: ubuntu-24.04
1818

19-
steps:
20-
# Docker image + Nix cache tends to be big, this avoids out of space issue
21-
- name: Free Disk Space
22-
uses: jlumbroso/free-disk-space@main
23-
with:
24-
tool-cache: false
19+
# steps:
20+
# # Docker image + Nix cache tends to be big, this avoids out of space issue
21+
# - name: Free Disk Space
22+
# uses: jlumbroso/free-disk-space@main
23+
# with:
24+
# tool-cache: false
2525

26-
- name: Checkout repository
27-
uses: actions/checkout@v4
26+
# - name: Checkout repository
27+
# uses: actions/checkout@v4
2828

29-
- uses: nixbuild/nix-quick-install-action@v30
29+
# - uses: nixbuild/nix-quick-install-action@v30
3030

31-
- uses: nix-community/cache-nix-action@v6
32-
with:
33-
primary-key: nix-${{ runner.os }}
34-
restore-prefixes-first-match: nix-${{ runner.os }}
31+
# - uses: nix-community/cache-nix-action@v6
32+
# with:
33+
# primary-key: nix-${{ runner.os }}
34+
# restore-prefixes-first-match: nix-${{ runner.os }}
3535

36-
- uses: actions/cache@v3
37-
with:
38-
path: ~/.npm
39-
key: ${{ runner.os }}-npm-${{ hashFiles('**/package*.json') }}
40-
restore-keys: |
41-
${{ runner.os }}-npm-
36+
# - uses: actions/cache@v3
37+
# with:
38+
# path: ~/.npm
39+
# key: ${{ runner.os }}-npm-${{ hashFiles('**/package*.json') }}
40+
# restore-keys: |
41+
# ${{ runner.os }}-npm-
4242

43-
- run: nix develop -c npm i
43+
# - run: nix develop -c npm i
4444

45-
# Only S3 integ test on CI for now as it only depends on container not external accounts and runs quickly
46-
- name: Run integration tests
47-
run: nix develop -c task test-integ-s3-side-effects
45+
# # Only S3 integ test on CI for now as it only depends on container not external accounts and runs quickly
46+
# - name: Run integration tests
47+
# run: nix develop -c task test-integ-s3-side-effects

0 commit comments

Comments
 (0)