Skip to content

Questions :) #12

@peterbaouoft

Description

@peterbaouoft

To track questions I encounter / may encounter in this issue :p

1: "$GITHUB_TOKEN" refers to the github token we got from github I assume?

2: I am not too familiar with openshift CLI syntax, but I got the following error while following instructions: they seem to not recognize dc and bc as resources, which is very weird. Can't seem to find a solution online either :(. But it might be the version difference + mismatch tho. (3.9 vs 3.6.1)

[root@localhost jenkins]# oc rollout latest dc/jenkins
the server doesn't have a resource type "dc"
[root@localhost jenkins]# oc logs --follow bc/paci-jenkins
the server doesn't have a resource type "bc"
[root@localhost jenkins]# oc version
oc v3.9.0+191fece
kubernetes v1.9.1+a0ce1bc657
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://127.0.0.1:8443
openshift v3.6.1+269e828-9
kubernetes v1.6.1+5115d708d7

3: If I acciedentally run oc start-build paci-jenkins multiple times,would the image just simply get rebuilt, is the effect cumulative for starting multiple jobs? (and no side effects should happen I guess :p? )

The logs of oc status is attached below:

[root@localhost jenkins]# oc status
In project projectatomic-ci on server https://127.0.0.1:8443

https://jenkins-projectatomic-ci.127.0.0.1.nip.io (redirects) (svc/jenkins)
  dc/jenkins deploys istag/paci-jenkins:latest <-
    bc/paci-jenkins source builds https://github.com/projectatomic/projectatomic-ci-infra#master on istag/jenkins:stable 
      build #3 new for 30 seconds
      build #2 new for 4 minutes
      build #1 succeeded 3 minutes ago - 0889a6a: jenkins/papr: more PAPR integration improvements (Jonathan Lebon <jonathan@jlebon.com>)
    deployment #1 deployed 3 minutes ago - 1 pod

svc/jenkins-jnlp - 172.30.105.43:50000
  dc/jenkins deploys istag/paci-jenkins:latest <-
    bc/paci-jenkins source builds https://github.com/projectatomic/projectatomic-ci-infra#master on istag/jenkins:stable 
      build #3 new for 30 seconds
      build #2 new for 4 minutes
      build #1 succeeded 3 minutes ago - 0889a6a: jenkins/papr: more PAPR integration improvements (Jonathan Lebon <jonathan@jlebon.com>)
    deployment #1 deployed 3 minutes ago - 1 pod

bc/job-builder is a Jenkins Pipeline
  not built yet

bc/paci-jenkins-slave docker builds https://github.com/projectatomic/projectatomic-ci-infra#master
  -> istag/paci-jenkins-slave:latest
  not built yet

bc/papr docker builds https://github.com/projectatomic/papr#master
  -> istag/papr:latest
  not built yet

3 warnings identified, use 'oc status -v' to see details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions