From b3b0002bc422aec9a4fd0c81fc3a40054e9a0f54 Mon Sep 17 00:00:00 2001 From: Derek Smart Date: Tue, 21 Mar 2023 09:29:37 -0400 Subject: [PATCH] Update nightly.yml --- .github/workflows/nightly.yml | 48 +---------------------------------- 1 file changed, 1 insertion(+), 47 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 8fd7d44..1574722 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -28,23 +28,6 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: us-west-2 - get_kernels_ubuntu-18: - runs-on: ubuntu-18.04 - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 - with: - go-version: '^1.18.0' - - name: Setup GO environment - run: | - go mod download - - id: set-matrix - run: echo "::set-output name=matrix::$(go run cmd/kernels/kernels.go -l ubuntu18)" - env: - GITHUB_PAT: ${{ secrets.REPO_TOKEN }} - outputs: - matrix: ${{ steps.set-matrix.outputs.matrix }} - get_kernels_ubuntu-20: runs-on: ubuntu-20.04 steps: @@ -62,35 +45,6 @@ jobs: outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} - build_kernel_ubuntu-18: - name: Build Kernel - needs: get_kernels_ubuntu-18 - if: startsWith(github.ref, 'refs/heads/') - runs-on: ubuntu-18.04 - strategy: - matrix: - zfs: - - 2.0.4 - - 2.0.6 - - 2.1.5 - kernels: ${{ fromJson(needs.get_kernels_ubuntu-18.outputs.matrix) }} - steps: - - uses: actions/checkout@v1 - - name: Create Kernel Build File - run: ./scripts/setup_kernel.sh - - name: Output Build File - run: cat src/$(uname -r)/uname - - name: Build - run: ./build_local.sh -b ${{ secrets.s3_url }} -k -z ${{ matrix.zfs }} -d $GITHUB_WORKSPACE -r ${{ matrix.kernels }} - env: - ZFS_VERSION: zfs-${{ matrix.zfs }} - - name: Publish - run: ./publish ${{ secrets.s3_bucket }} - env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_DEFAULT_REGION: us-west-2 - build_kernel_ubuntu-20: name: Build Kernel needs: get_kernels_ubuntu-20 @@ -110,4 +64,4 @@ jobs: - name: Build run: make build S3=${{ secrets.s3_url }} ZFS=${{ matrix.zfs }} KERNEL=${{ matrix.kernels }} - name: Publish - run: docker run -e "AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }}" -e "AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }}" -e "AWS_DEFAULT_REGION=us-west-2" zfs-builder /publish ${{ secrets.s3_bucket }} \ No newline at end of file + run: docker run -e "AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }}" -e "AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }}" -e "AWS_DEFAULT_REGION=us-west-2" zfs-builder /publish ${{ secrets.s3_bucket }}