mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Merge pull request #40831 from ClickHouse/migrate-artifactory
Migrate artifactory
This commit is contained in:
commit
6dfd415758
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: ReleaseWorkflow
|
name: PublishedReleaseCI
|
||||||
# - Gets artifacts from S3
|
# - Gets artifacts from S3
|
||||||
# - Sends it to JFROG Artifactory
|
# - Sends it to JFROG Artifactory
|
||||||
# - Adds them to the release assets
|
# - Adds them to the release assets
|
||||||
@ -15,7 +15,7 @@ jobs:
|
|||||||
- name: Set envs
|
- name: Set envs
|
||||||
run: |
|
run: |
|
||||||
cat >> "$GITHUB_ENV" << 'EOF'
|
cat >> "$GITHUB_ENV" << 'EOF'
|
||||||
JFROG_API_KEY=${{ secrets.JFROG_KEY_API_PACKAGES }}
|
JFROG_API_KEY=${{ secrets.JFROG_ARTIFACTORY_API_KEY }}
|
||||||
TEMP_PATH=${{runner.temp}}/release_packages
|
TEMP_PATH=${{runner.temp}}/release_packages
|
||||||
REPO_COPY=${{runner.temp}}/release_packages/ClickHouse
|
REPO_COPY=${{runner.temp}}/release_packages/ClickHouse
|
||||||
EOF
|
EOF
|
||||||
@ -30,7 +30,7 @@ jobs:
|
|||||||
cp -r "$GITHUB_WORKSPACE" "$TEMP_PATH"
|
cp -r "$GITHUB_WORKSPACE" "$TEMP_PATH"
|
||||||
cd "$REPO_COPY"
|
cd "$REPO_COPY"
|
||||||
python3 ./tests/ci/push_to_artifactory.py --release "${{ github.ref }}" \
|
python3 ./tests/ci/push_to_artifactory.py --release "${{ github.ref }}" \
|
||||||
--commit '${{ github.sha }}' --all
|
--commit '${{ github.sha }}' --artifactory-url "${{ secrets.JFROG_ARTIFACTORY_URL }}" --all
|
||||||
- name: Upload packages to release assets
|
- name: Upload packages to release assets
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
|
2
.github/workflows/release_branches.yml
vendored
2
.github/workflows/release_branches.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: ReleaseCI
|
name: ReleaseBranchCI
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Force the stdout and stderr streams to be unbuffered
|
# Force the stdout and stderr streams to be unbuffered
|
||||||
|
Loading…
Reference in New Issue
Block a user