Skip to content

Commit 3451238

Browse files
authored
Merge pull request #7 from denzp/experiment-llb
BuildKit frontend
2 parents 0383661 + 4753268 commit 3451238

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+6757
-5108
lines changed

.dockerignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
/target
1+
target
2+
debug-output
3+
examples
4+
tests/integration/**
5+
6+
Makefile
7+
.dockerignore

.github/workflows/integration.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Docker integration tests
2+
on: [push]
3+
4+
jobs:
5+
test:
6+
name: Run integration tests
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout sources
10+
uses: actions/checkout@v1
11+
12+
- name: Print docker version
13+
run: docker version
14+
15+
- name: Install bats
16+
run: sudo npm install -g bats
17+
18+
- name: Run integration tests
19+
run: DOCKER_BUILDKIT=1 bats tests/integration

.github/workflows/rust.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: Rust CI
2+
on: [push]
3+
4+
jobs:
5+
clippy:
6+
name: Clippy lints
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout sources
10+
uses: actions/checkout@v1
11+
12+
- name: Find a suitable toolchain
13+
id: component
14+
uses: actions-rs/components-nightly@v1
15+
with:
16+
component: clippy
17+
18+
- name: Install the toolchain
19+
uses: actions-rs/toolchain@v1
20+
with:
21+
toolchain: ${{ steps.component.outputs.toolchain }}
22+
override: true
23+
24+
- name: Install clippy
25+
run: rustup component add clippy
26+
27+
- name: Check with clippy
28+
uses: actions-rs/clippy-check@v1
29+
with:
30+
token: ${{ secrets.GITHUB_TOKEN }}
31+
32+
fmt:
33+
name: Formatting lints
34+
runs-on: ubuntu-latest
35+
steps:
36+
- name: Checkout sources
37+
uses: actions/checkout@v1
38+
39+
- name: Find a suitable toolchain
40+
id: component
41+
uses: actions-rs/components-nightly@v1
42+
with:
43+
component: rustfmt
44+
45+
- name: Install the toolchain
46+
uses: actions-rs/toolchain@v1
47+
with:
48+
toolchain: ${{ steps.component.outputs.toolchain }}
49+
override: true
50+
51+
- name: Install rustfmt
52+
run: rustup component add rustfmt
53+
54+
- name: Check the formatting
55+
uses: actions-rs/cargo@v1
56+
with:
57+
command: fmt
58+
args: --all -- --check
59+
60+
test:
61+
name: Unit tests
62+
runs-on: ubuntu-latest
63+
steps:
64+
- name: Checkout sources
65+
uses: actions/checkout@v1
66+
67+
- name: Install Nightly toolchain
68+
uses: actions-rs/toolchain@v1
69+
with:
70+
toolchain: nightly
71+
override: true
72+
73+
- name: Run cargo test
74+
uses: actions-rs/cargo@v1
75+
with:
76+
command: test

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
/target
2-
/plan.json
3-
**/*.rs.bk
1+
target
2+
debug-output
3+
tests/integration/.cache

0 commit comments

Comments
 (0)