Skip to content

DB-209 creates artifact delete, upload and tags #3

DB-209 creates artifact delete, upload and tags

DB-209 creates artifact delete, upload and tags #3

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: artifact-upload
on:
pull_request:
types: [opened, synchronize]
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
jobs:
artifact-upload-server:
if: "!contains(github.event.pull_request.labels.*.name, 'skip-kvrocks-controller-upload')"
strategy: # If you only need 1 architecture, remove this matrix strategy and directly pass in the architecture
matrix:
architecture: [amd64, arm64]
uses: StackAdapt/actions/.github/workflows/stargate-upload.yml@main

Check failure on line 30 in .github/workflows/artifact-upload.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/artifact-upload.yml

Invalid workflow file

error parsing called workflow ".github/workflows/artifact-upload.yml" -> "StackAdapt/actions/.github/workflows/stargate-upload.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
with:
component: kvrocks-controller
binary-name: kvctl-server
branch: ${{ github.head_ref }}
commit: ${{ github.event.pull_request.head.sha }}
architecture: ${{ matrix.architecture }}
make-command: server
output-dir: cmd/server
secrets:
action-token: ${{ secrets.GO_PRIVATE_MODULES }}
artifact-upload-client:
if: "!contains(github.event.pull_request.labels.*.name, 'skip-kvrocks-controller-upload')"
strategy: # If you only need 1 architecture, remove this matrix strategy and directly pass in the architecture
matrix:
architecture: [amd64, arm64]
uses: StackAdapt/actions/.github/workflows/stargate-upload.yml@main
with:
component: kvrocks-controller
binary-name: kvctl
branch: ${{ github.head_ref }}
commit: ${{ github.event.pull_request.head.sha }}
architecture: ${{ matrix.architecture }}
make-command: client
output-dir: cmd/client
secrets:
action-token: ${{ secrets.GO_PRIVATE_MODULES }}