-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix e2e test to work in a 2-version environment Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * add workflow to create backport pr Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * add reusable workflow to detect ci container image tag Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * use dynamic ci container image tag Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * add workflow execution rule Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * deleted unnecessary workflow execution rule Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * add new workflow to build docker images when release branch is created Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * refactor curl command Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * use dynamic ci container image for unit test and hack test Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * add new workflow execution rule to codeql and protobuf build Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * add workflow to release Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * make format Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * deleted unnecessary code Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * add step to create release tag and release commit Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * deleted invalid environment variable Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * add release logic and auto generate code for release Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * deleted unnecessary code Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * bugfix branch specification Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * bugfix release logic Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * add checkout to release branch Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * bugfix set step result and add gpg import step Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * fix typo Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * add new workflow for two version support Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * add space to improve readability Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * deleted unnecessary line Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * bugfix github object error for release pr Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * add cluster-info dump Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * change workflow name Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * fix: apply latest workflow changes and fix actionlint warning Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * fix: add new line for readability Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * fix: deleted unnecessary file Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * feat: add release branch image creation logic for new component Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> * fix: execute make format to update license Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com> --------- Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
- Loading branch information
Showing
39 changed files
with
864 additions
and
254 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
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 |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# | ||
# Copyright (C) 2019-2024 vdaas.org vald team <vald@vdaas.org> | ||
# | ||
# Licensed 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 | ||
# | ||
# https://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: "Detect CI container image tag" | ||
on: | ||
workflow_call: | ||
outputs: | ||
TAG_NAME: | ||
description: "The docker image tag name" | ||
value: ${{ jobs.detect.outputs.TAG_NAME }} | ||
|
||
env: | ||
TARGET_IMAGE: vdaas/vald-ci-container | ||
|
||
jobs: | ||
detect: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
TAG_NAME: ${{ steps.merge_detection_results.outputs.TAG_NAME }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Determine Docker image tag | ||
id: determine_tag_name | ||
uses: ./.github/actions/determine-docker-image-tag | ||
|
||
- name: Detect Docker image tag for primary | ||
id: detect_primary_tag_name | ||
uses: ./.github/actions/detect-docker-image-tags | ||
with: | ||
images: ${{ env.TARGET_IMAGE }} | ||
tag_name: ${{ steps.determine_tag_name.outputs.PRIMARY_TAG }} | ||
|
||
- name: Detect Docker image tag for default | ||
id: detect_default_tag_name | ||
uses: ./.github/actions/detect-docker-image-tags | ||
with: | ||
images: ${{ env.TARGET_IMAGE }} | ||
tag_name: ${{ steps.determine_tag_name.outputs.DEFAULT_TAG }} | ||
|
||
- name: Merge Docker image tag detection results | ||
id: merge_detection_results | ||
run: | | ||
TAG_NAME="nightly" | ||
if [ -n "${DEFAULT_TAG_RESULT}" ]; then | ||
TAG_NAME=${{ steps.determine_tag_name.outputs.DEFAULT_TAG }} | ||
fi | ||
if [ -n "${PRIMARY_TAG_RESULT}" ]; then | ||
TAG_NAME=${{ steps.determine_tag_name.outputs.PRIMARY_TAG }} | ||
fi | ||
echo "TAG_NAME=${TAG_NAME}" | ||
echo "TAG_NAME=${TAG_NAME}" >> $GITHUB_OUTPUT | ||
env: | ||
PRIMARY_TAG_RESULT: ${{ steps.detect_primary_tag_name.outputs.IMAGE_TAGS }} | ||
DEFAULT_TAG_RESULT: ${{ steps.detect_default_tag_name.outputs.IMAGE_TAGS }} |
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
Oops, something went wrong.