Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpc-factory
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
Eesaan Atluri
hpc-factory
Commits
68f66fa3
Commit
68f66fa3
authored
6 months ago
by
Eesaan Atluri
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/mr/119' into test-individual-build
parents
f3f1096b
dfc09250
No related branches found
No related tags found
No related merge requests found
Pipeline
#12048
failed with stage
in 8 minutes and 18 seconds
Changes
1
Pipelines
2
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
+
5
−
7
View file @
68f66fa3
...
@@ -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.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment