Bug 1950653 - BuildConfig ignores Args
Summary: BuildConfig ignores Args
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Build
Version: 4.6
Hardware: x86_64
OS: Unspecified
low
low
Target Milestone: ---
: 4.8.0
Assignee: Gabe Montero
QA Contact: XiuJuan Wang
Rolfe Dlugy-Hegwer
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-17 13:04 UTC by Sasha Segal
Modified: 2021-07-27 23:01 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 23:01:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
BuildConfig (2.54 KB, text/plain)
2021-04-17 13:07 UTC, Sasha Segal
no flags Details
Build log with level 5 (12.31 KB, text/plain)
2021-04-18 05:44 UTC, Sasha Segal
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift openshift-docs pull 32982 0 None open Bug 1950653: RHDEVDOCS-3033: Add link from build topic to Docker build reference topic 2021-06-02 02:54:42 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:01:58 UTC

Description Sasha Segal 2021-04-17 13:04:02 UTC
Description of problem:

Docker-based build ignores args 


Version-Release number of selected component (if applicable):

OpenShift Version : 4.6.15
kubernetes v1.19.0+1833054


How reproducible:
build attached buildconfig

Steps to Reproduce:
1. load build config
2. oc start-build main-jenkins-docker
3. oc logs buildpod

Actual results:
FROM docker-registry.upshift.redhat.com/ccit/jenkins-csb-prod:latest

Expected results:
FROM docker-registry.upshift.redhat.com/ccit/jenkins-csb-dev:latest

Additional info:
Server https://api.ocp4.prod.psi.redhat.com:6443

Attached BuildConfig and level 5 log

Comment 1 Sasha Segal 2021-04-17 13:07:50 UTC
Created attachment 1772758 [details]
BuildConfig

it will read https://gitlab.cee.redhat.com/ccit/jenkins-csb/-/blob/new/master/Dockerfile

Comment 2 Sasha Segal 2021-04-18 05:44:32 UTC
Created attachment 1772865 [details]
Build log with level 5

Comment 4 Sasha Segal 2021-05-28 05:16:18 UTC
Hello, this is ongoing changing project.
Since BuildConfig ignores Args, we are not using it and removed this from our build process.
You can setup simple BuildConfig with args in your own environment and verify if it works.

Comment 8 Rolfe Dlugy-Hegwer 2021-06-02 10:39:41 UTC
Updated the documentation with:
- https://issues.redhat.com/browse/RHDEVDOCS-3033
- https://github.com/openshift/openshift-docs/pull/32982

Comment 10 XiuJuan Wang 2021-06-07 01:36:02 UTC
Has verified this bug before doc pr merged.

Comment 14 Rolfe Dlugy-Hegwer 2021-06-28 16:56:02 UTC
No release note required for documentation and help updates.

Comment 16 errata-xmlrpc 2021-07-27 23:01:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2438


Note You need to log in before you can comment on or make changes to this bug.