Skip to content

Commit d3a848b

Browse files
committed
Private image build
1 parent b5e3554 commit d3a848b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/stackhpc-container-image-build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
- name: Install Docker Python SDK
154154
run: |
155155
sudo pip install docker 'requests<2.32.0'
156-
156+
157157
- name: Get Kolla tag
158158
id: write-kolla-tag
159159
run: echo "kolla-tag=${{ needs.generate-tag.outputs.openstack_release }}-${{ matrix.distro }}-${{ matrix.distro == 'rocky' && '9' || 'jammy' }}-${{ needs.generate-tag.outputs.datetime_tag }}" >> $GITHUB_OUTPUT
@@ -194,6 +194,8 @@ jobs:
194194
kayobe overcloud container image build $args
195195
env:
196196
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
197+
GITHUB_USERNAME: "git"
198+
GITHUB_TOKEN: ${{ secrets.STACKHPC_RELEASE_TRAIN_TOKEN }}
197199
if: inputs.overcloud
198200

199201
- name: Copy overcloud container image build logs to output directory

etc/kayobe/kolla.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ kolla_sources:
147147
type: git
148148
location: https://github.com/stackhpc/networking-generic-switch.git
149149
reference: stackhpc/{{ openstack_release }}
150+
nova-base:
151+
type: git
152+
location: https://{{ lookup('env', 'GITHUB_USERNAME') }}:{{ lookup('env', 'GITHUB_TOKEN') }}@github.com/stackhpc/nova-private.git
153+
reference: build
150154

151155
###############################################################################
152156
# Kolla image build configuration.

0 commit comments

Comments
 (0)