Skip to content

Commit 6760ad3

Browse files
iQQBotkylos101
authored andcommitted
ci
1 parent e4a1b2d commit 6760ad3

File tree

7 files changed

+7
-573
lines changed

7 files changed

+7
-573
lines changed

.github/workflows/buildkit.yml

Lines changed: 7 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ concurrency:
55
cancel-in-progress: true
66

77
on:
8-
schedule:
9-
- cron: '0 10 * * *'
108
workflow_dispatch:
119
push:
1210
branches:
@@ -24,35 +22,11 @@ env:
2422
GO_VERSION: "1.20"
2523
SETUP_BUILDX_VERSION: "latest"
2624
SETUP_BUILDKIT_IMAGE: "moby/buildkit:latest"
27-
IMAGE_NAME: "moby/buildkit"
28-
PLATFORMS: "linux/amd64,linux/arm/v7,linux/arm64,linux/s390x,linux/ppc64le,linux/riscv64"
25+
IMAGE_NAME: "ghcr.io/gitpod-io/buildkit"
26+
PLATFORMS: "linux/amd64"
2927
DESTDIR: "./bin"
3028

3129
jobs:
32-
test:
33-
uses: ./.github/workflows/.test.yml
34-
with:
35-
cache_scope: build-integration-tests
36-
pkgs: ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend
37-
kinds: integration
38-
codecov_flags: core
39-
includes: |
40-
- pkg: ./...
41-
skip-integration-tests: 1
42-
typ: integration gateway
43-
- pkg: ./client
44-
worker: containerd
45-
tags: nydus
46-
typ: integration
47-
- pkg: ./client
48-
worker: oci
49-
tags: nydus
50-
typ: integration
51-
- pkg: ./...
52-
tags: nydus
53-
skip-integration-tests: 1
54-
typ: integration
55-
5630
prepare:
5731
runs-on: ubuntu-22.04
5832
outputs:
@@ -86,8 +60,7 @@ jobs:
8660
fi
8761
echo "tag=${TAG}" >>${GITHUB_OUTPUT}
8862
echo "push=${PUSH}" >>${GITHUB_OUTPUT}
89-
platforms=$(docker buildx bake release --print | jq -cr '.target."release".platforms')
90-
echo "platforms=$platforms" >>${GITHUB_OUTPUT}
63+
echo ::set-output name=platforms::'["linux/amd64"]'
9164
9265
binaries:
9366
runs-on: ubuntu-22.04
@@ -142,13 +115,11 @@ jobs:
142115
runs-on: ubuntu-22.04
143116
needs:
144117
- prepare
145-
- test
146118
strategy:
147119
fail-fast: false
148120
matrix:
149121
target-stage:
150122
- ''
151-
- rootless
152123
steps:
153124
-
154125
name: Checkout
@@ -167,12 +138,13 @@ jobs:
167138
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
168139
buildkitd-flags: --debug
169140
-
170-
name: Login to DockerHub
141+
name: Login to GitHub Container Registry
171142
if: needs.prepare.outputs.push == 'push'
172143
uses: docker/login-action@v2
173144
with:
174-
username: ${{ secrets.DOCKERHUB_USERNAME }}
175-
password: ${{ secrets.DOCKERHUB_TOKEN }}
145+
registry: ghcr.io
146+
username: ${{ github.actor }}
147+
password: ${{ secrets.GITHUB_TOKEN }}
176148
-
177149
name: Build ${{ needs.prepare.outputs.tag }}
178150
run: |
@@ -187,7 +159,6 @@ jobs:
187159
runs-on: ubuntu-22.04
188160
needs:
189161
- prepare
190-
- test
191162
- binaries
192163
- image
193164
steps:

.github/workflows/buildx-image.yml

Lines changed: 0 additions & 81 deletions
This file was deleted.

.github/workflows/dockerd.yml

Lines changed: 0 additions & 133 deletions
This file was deleted.

.github/workflows/docs-upstream.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)