Skip to content

Commit

Permalink
add bob proxy as only mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
iQQBot committed Sep 20, 2023
1 parent d28b12e commit 9c035c9
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 648 deletions.
43 changes: 7 additions & 36 deletions .github/workflows/buildkit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ concurrency:
cancel-in-progress: true

on:
schedule:
- cron: '0 10 * * *'
workflow_dispatch:
push:
branches:
Expand All @@ -24,35 +22,11 @@ env:
GO_VERSION: "1.20"
SETUP_BUILDX_VERSION: "latest"
SETUP_BUILDKIT_IMAGE: "moby/buildkit:latest"
IMAGE_NAME: "moby/buildkit"
PLATFORMS: "linux/amd64,linux/arm/v7,linux/arm64,linux/s390x,linux/ppc64le,linux/riscv64"
IMAGE_NAME: "ghcr.io/gitpod-io/buildkit"
PLATFORMS: "linux/amd64"
DESTDIR: "./bin"

jobs:
test:
uses: ./.github/workflows/.test.yml
with:
cache_scope: build-integration-tests
pkgs: ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend
kinds: integration
codecov_flags: core
includes: |
- pkg: ./...
skip-integration-tests: 1
typ: integration gateway
- pkg: ./client
worker: containerd
tags: nydus
typ: integration
- pkg: ./client
worker: oci
tags: nydus
typ: integration
- pkg: ./...
tags: nydus
skip-integration-tests: 1
typ: integration
prepare:
runs-on: ubuntu-22.04
outputs:
Expand Down Expand Up @@ -83,8 +57,7 @@ jobs:
fi
echo "tag=${TAG}" >>${GITHUB_OUTPUT}
echo "push=${PUSH}" >>${GITHUB_OUTPUT}
platforms=$(docker buildx bake release --print | jq -cr '.target."release".platforms')
echo "platforms=$platforms" >>${GITHUB_OUTPUT}
echo ::set-output name=platforms::'["linux/amd64"]'
binaries:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -139,13 +112,11 @@ jobs:
runs-on: ubuntu-22.04
needs:
- prepare
- test
strategy:
fail-fast: false
matrix:
target-stage:
- ''
- rootless
steps:
-
name: Checkout
Expand All @@ -164,12 +135,13 @@ jobs:
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
buildkitd-flags: --debug
-
name: Login to DockerHub
name: Login to GitHub Container Registry
if: needs.prepare.outputs.push == 'push'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build ${{ needs.prepare.outputs.tag }}
run: |
Expand All @@ -184,7 +156,6 @@ jobs:
runs-on: ubuntu-22.04
needs:
- prepare
- test
- binaries
- image
steps:
Expand Down
81 changes: 0 additions & 81 deletions .github/workflows/buildx-image.yml

This file was deleted.

133 changes: 0 additions & 133 deletions .github/workflows/dockerd.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/docs-upstream.yml

This file was deleted.

Loading

0 comments on commit 9c035c9

Please sign in to comment.