Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpc-factory
Manage
Activity
Members
Labels
Plan
Issues
73
Issue boards
Milestones
Wiki
Code
Merge requests
12
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
Commits
7327140f
Commit
7327140f
authored
10 months ago
by
Eesaan Atluri
Browse files
Options
Downloads
Patches
Plain Diff
Add meaningful comments
parent
26982e6c
No related branches found
Branches containing commit
No related tags found
1 merge request
!96
Draft: Feat proxy build ci
Pipeline
#11592
failed with stages
in 2 hours, 25 minutes, and 38 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-2
3 additions, 2 deletions
.gitlab-ci.yml
with
3 additions
and
2 deletions
.gitlab-ci.yml
+
3
−
2
View file @
7327140f
...
@@ -234,9 +234,10 @@ build_proxy_image:
...
@@ -234,9 +234,10 @@ build_proxy_image:
-
packer init openstack-proxy
-
packer init openstack-proxy
-
packer validate openstack-proxy
-
packer validate openstack-proxy
packer build -machine-readable openstack-proxy | tee proxy_build.log
packer build -machine-readable openstack-proxy | tee proxy_build.log
#
vars for
#
setting vars for artifacts
-
export BUILT_PROXY_IMAGE_ID=$(grep 'Image:'
PROXY
_build.log | awk '{print $4}')
-
export BUILT_PROXY_IMAGE_ID=$(grep 'Image:'
proxy
_build.log | awk '{print $4}')
-
echo BUILT_PROXY_IMAGE_ID=${BUILT_PROXY_IMAGE_ID} | tee -a $CI_PROJECT_DIR/image.env
-
echo BUILT_PROXY_IMAGE_ID=${BUILT_PROXY_IMAGE_ID} | tee -a $CI_PROJECT_DIR/image.env
# set image property to convey point of time for image build
-
openstack image set --property CRI_XCBC_prod=${CRI_XCBC_prod} --property CRI_XCBC_dev=${CRI_XCBC_dev} --property PACKER_IMAGE_HEAD=${PACKER_IMAGE_HEAD} ${BUILT_PROXY_IMAGE_ID}
-
openstack image set --property CRI_XCBC_prod=${CRI_XCBC_prod} --property CRI_XCBC_dev=${CRI_XCBC_dev} --property PACKER_IMAGE_HEAD=${PACKER_IMAGE_HEAD} ${BUILT_PROXY_IMAGE_ID}
artifacts
:
artifacts
:
reports
:
reports
:
...
...
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