forked from mlrun/mlrun
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Removed deprecated set-output commands (mlrun#2952)
- Loading branch information
Showing
4 changed files
with
52 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,17 +87,17 @@ jobs: | |
- name: Extract git branch | ||
id: git_info | ||
run: | | ||
echo "::set-output name=branch::$(echo ${GITHUB_REF#refs/heads/})" | ||
echo "branch=$(echo ${GITHUB_REF#refs/heads/})" | ||
- name: Extract git hash from action mlrun version | ||
if: ${{ github.event.inputs.test_code_from_action == 'true' }} | ||
id: git_action_info | ||
run: | | ||
echo "::set-output name=mlrun_hash::$(git rev-parse --short=8 $GITHUB_SHA)" | ||
echo "mlrun_hash=$(git rev-parse --short=8 $GITHUB_SHA)" | ||
- name: Extract UI git hash from action mlrun version | ||
if: ${{ github.event.inputs.ui_code_from_action == 'true' }} | ||
id: git_action_ui_info | ||
run: | | ||
echo "::set-output name=ui_hash::$( \ | ||
echo "ui_hash=$( \ | ||
cd /tmp && \ | ||
git clone --single-branch --branch ${{ steps.git_info.outputs.branch }} https://github.com/mlrun/ui.git mlrun-ui 2> /dev/null && \ | ||
cd mlrun-ui && \ | ||
|
@@ -107,52 +107,52 @@ jobs: | |
- name: Extract git hashes from upstream and latest version | ||
id: git_upstream_info | ||
run: | | ||
echo "::set-output name=mlrun_hash::$( \ | ||
echo "mlrun_hash=$( \ | ||
cd /tmp && \ | ||
git clone --single-branch --branch development https://github.com/mlrun/mlrun.git mlrun-upstream 2> /dev/null && \ | ||
cd mlrun-upstream && \ | ||
git rev-parse --short=8 HEAD && \ | ||
cd .. && \ | ||
rm -rf mlrun-upstream)" | ||
echo "::set-output name=ui_hash::$( \ | ||
echo "ui_hash=$( \ | ||
cd /tmp && \ | ||
git clone --single-branch --branch development https://github.com/mlrun/ui.git mlrun-ui 2> /dev/null && \ | ||
cd mlrun-ui && \ | ||
git rev-parse --short=8 HEAD && \ | ||
cd .. && \ | ||
rm -rf mlrun-ui)" | ||
echo "::set-output name=unstable_version_prefix::$(cat automation/version/unstable_version_prefix)" | ||
echo "unstable_version_prefix=$(cat automation/version/unstable_version_prefix)" | ||
- name: Set computed versions params | ||
id: computed_params | ||
run: | | ||
action_mlrun_hash=${{ steps.git_action_info.outputs.mlrun_hash }} && \ | ||
upstream_mlrun_hash=${{ steps.git_upstream_info.outputs.mlrun_hash }} && \ | ||
export mlrun_hash=${action_mlrun_hash:-`echo $upstream_mlrun_hash`} | ||
echo "::set-output name=mlrun_hash::$(echo $mlrun_hash)" | ||
echo "mlrun_hash=$(echo $mlrun_hash)" | ||
action_mlrun_ui_hash=${{ steps.git_action_ui_info.outputs.ui_hash }} && \ | ||
upstream_mlrun_ui_hash=${{ steps.git_upstream_info.outputs.ui_hash }} && \ | ||
export ui_hash=${action_mlrun_ui_hash:-`echo $upstream_mlrun_ui_hash`} | ||
echo "::set-output name=ui_hash::$(echo $ui_hash)" | ||
echo "::set-output name=mlrun_version::$(echo ${{ steps.git_upstream_info.outputs.unstable_version_prefix }}+$mlrun_hash)" | ||
echo "::set-output name=mlrun_docker_tag::$(echo ${{ steps.git_upstream_info.outputs.unstable_version_prefix }}-$mlrun_hash)" | ||
echo "::set-output name=mlrun_ui_version::${{ steps.git_upstream_info.outputs.unstable_version_prefix }}-$ui_hash" | ||
echo "::set-output name=mlrun_docker_repo::$( \ | ||
echo "ui_hash=$(echo $ui_hash)" | ||
echo "mlrun_version=$(echo ${{ steps.git_upstream_info.outputs.unstable_version_prefix }}+$mlrun_hash)" | ||
echo "mlrun_docker_tag=$(echo ${{ steps.git_upstream_info.outputs.unstable_version_prefix }}-$mlrun_hash)" | ||
echo "mlrun_ui_version=${{ steps.git_upstream_info.outputs.unstable_version_prefix }}-$ui_hash" | ||
echo "mlrun_docker_repo=$( \ | ||
input_docker_repo=${{ github.event.inputs.docker_repo }} && \ | ||
echo ${input_docker_repo:-mlrun})" | ||
echo "::set-output name=mlrun_docker_registry::$( \ | ||
echo "mlrun_docker_registry=$( \ | ||
input_docker_registry=${{ github.event.inputs.docker_registry }} && \ | ||
echo ${input_docker_registry:-ghcr.io/})" | ||
echo "::set-output name=mlrun_system_tests_clean_resources::$( \ | ||
echo "mlrun_system_tests_clean_resources=$( \ | ||
input_system_tests_clean_resources=${{ github.event.inputs.clean_resources_in_teardown }} && \ | ||
echo ${input_system_tests_clean_resources:-true})" | ||
- uses: azure/setup-helm@v3 | ||
with: | ||
version: "v3.9.1" | ||
|
||
- uses: manusa/[email protected].1 | ||
- uses: manusa/[email protected].2 | ||
with: | ||
minikube version: "v1.26.0" | ||
minikube version: "v1.28.0" | ||
kubernetes version: "v1.23.9" | ||
driver: docker | ||
github token: ${{ github.token }} | ||
|