Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpc-factory
Manage
Activity
Members
Labels
Plan
Issues
76
Issue boards
Milestones
Wiki
Code
Merge requests
13
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rc
hpc-factory
Compare revisions
6e20c0c6962a72dbd7f06f34928308cc154fae23 to e3499e37ad9f92bb8cb94e7f121a4f36a283fe37
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
rc/hpc-factory
Select target project
No results found
e3499e37ad9f92bb8cb94e7f121a4f36a283fe37
Select Git revision
Swap
Target
rc/hpc-factory
Select target project
rc/hpc-factory
louistw/hpc-factory
jpr/hpc-factory
krish94/hpc-factory
atlurie/hpc-factory
dwheel7/hpc-factory
6 results
6e20c0c6962a72dbd7f06f34928308cc154fae23
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
feat: enable individual build with BUILD_TARGET
· 9727aa22
Bo-Chun Chen
authored
7 months ago
9727aa22
refactor: reuse BUILD_TARGET variable
· dfc09250
Bo-Chun Chen
authored
7 months ago
dfc09250
Merge branch 'feat-individual-build' into 'feat-hpc-factory'
· e3499e37
Eesaan Atluri
authored
7 months ago
Feat individual build See merge request
!119
e3499e37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-7
5 additions, 7 deletions
.gitlab-ci.yml
with
5 additions
and
7 deletions
.gitlab-ci.yml
View file @
e3499e37
...
@@ -77,13 +77,13 @@ workflow:
...
@@ -77,13 +77,13 @@ workflow:
-
*get_ansible_files
-
*get_ansible_files
# packer vars for job env
# packer vars for job env
-
export PKR_VAR_flavor="${PROXY_BUILD_FLAVOR:-$PKR_VAR_flavor}"
-
export PKR_VAR_flavor="${PROXY_BUILD_FLAVOR:-$PKR_VAR_flavor}"
-
export PKR_VAR_build_instance_name="${
PROXY_NAME
}-${CRI_XCBC_HEAD}"
-
export PKR_VAR_build_instance_name="${
BUILD_TARGET
}-${CRI_XCBC_HEAD}"
-
export PKR_VAR_image_date_suffix=false
-
export PKR_VAR_image_date_suffix=false
-
|
-
|
if [ $CI_PIPELINE_SOURCE == 'merge_request_event' ]; then
if [ $CI_PIPELINE_SOURCE == 'merge_request_event' ]; then
export PKR_VAR_image_name="${
PROXY_NAME
}-PR-${CI_MERGE_REQUEST_IID}"
export PKR_VAR_image_name="${
BUILD_TARGET
}-PR-${CI_MERGE_REQUEST_IID}"
elif [ $CI_PIPELINE_SOURCE == 'schedule' ]; then
elif [ $CI_PIPELINE_SOURCE == 'schedule' ]; then
export PKR_VAR_image_name="${
PROXY_NAME
}-${BUILD_DATE}"
export PKR_VAR_image_name="${
BUILD_TARGET
}-${BUILD_DATE}"
fi
fi
# Ansible var overrides
# Ansible var overrides
-
|
-
|
...
@@ -114,11 +114,10 @@ build_http_proxy_image:
...
@@ -114,11 +114,10 @@ build_http_proxy_image:
tags
:
tags
:
-
build
-
build
variables
:
variables
:
PROXY_NAME
:
"
http-proxy"
PROXY_ENABLE_VAR
:
"
enable_ood_proxy"
PROXY_ENABLE_VAR
:
"
enable_ood_proxy"
<<
:
*build_proxy_image_template
<<
:
*build_proxy_image_template
rules
:
rules
:
-
if
:
$PIPELINE_TARGET == "build" && $BUILD_TARGET
-
if
:
$PIPELINE_TARGET == "build" && $BUILD_TARGET
== "http-proxy"
when
:
always
when
:
always
build_ssh_proxy_image
:
build_ssh_proxy_image
:
...
@@ -128,11 +127,10 @@ build_ssh_proxy_image:
...
@@ -128,11 +127,10 @@ build_ssh_proxy_image:
tags
:
tags
:
-
build
-
build
variables
:
variables
:
PROXY_NAME
:
"
ssh-proxy"
PROXY_ENABLE_VAR
:
"
enable_sshpiper"
PROXY_ENABLE_VAR
:
"
enable_sshpiper"
<<
:
*build_proxy_image_template
<<
:
*build_proxy_image_template
rules
:
rules
:
-
if
:
$PIPELINE_TARGET == "build" && $BUILD_TARGET
-
if
:
$PIPELINE_TARGET == "build" && $BUILD_TARGET
== "ssh-proxy"
when
:
always
when
:
always
deploy_http_proxy_node
:
deploy_http_proxy_node
:
...
...
This diff is collapsed.
Click to expand it.