Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove sitl jfrog upload #655

Merged
merged 1 commit into from
Mar 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .github/workflows/tiiuae-sitl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,33 +70,3 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- uses: jfrog/setup-jfrog-cli@v3
if: github.event_name == 'push'
env:
JF_ENV_1: ${{ secrets.ARTIFACTORY_CLOUD_TOKEN }}

- name: Upload to Artifactory (px4-sitl)
env:
ARTIFACTORY_GEN_REPO: ssrc-gen-private-local
BUILD_NAME: px4-sitl
CI: true
if: github.event_name == 'push'
run: |
set -exu
jfrog rt ping
pkg=$(find bin -name 'px4_sitl_build*.tar.gz')
pkg_name=$(basename $pkg)
jfrog rt u --target-props COMMIT="$GITHUB_SHA" \
--build-name "$BUILD_NAME" \
--build-number "$GITHUB_SHA" \
"$pkg" \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/sitl/$pkg_name"
jfrog rt build-publish "$BUILD_NAME" "$GITHUB_SHA"
jfrog rt bpr "$BUILD_NAME" "$GITHUB_SHA" "$ARTIFACTORY_GEN_REPO" \
--status dev \
--comment "development build"
jfrog rt cp --flat \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/sitl/$pkg_name" \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/sitl/latest/px4_sitl_build.tar.gz"

Loading