Skip to content

Commit

Permalink
Remove buildconfigs for old golang version
Browse files Browse the repository at this point in the history
No one should be using pre 1.11 go versions anymore. Furthermore, they
expect an inexistent push secret, so they just hang in Init and waste
cluster capacity, while the cluster doesn't have any to spare.

Lastlty, when building something like this it is not supposed to be on
app.ci.
  • Loading branch information
alvaroaleman committed Jan 22, 2021
1 parent 0385584 commit 0bbbc0d
Showing 1 changed file with 0 additions and 90 deletions.
90 changes: 0 additions & 90 deletions projects/origin-release/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,96 +41,6 @@ objects:
name: ${BASE_REPOSITORY}
importPolicy:
scheduled: true
- apiVersion: v1
kind: BuildConfig
metadata:
labels:
app: origin-release
name: "origin-release-golang-1.8"
spec:
successfulBuildsHistoryLimit: 1
failedBuildsHistoryLimit: 2
output:
to:
kind: DockerImage
name: "${PUSH_REPOSITORY}:golang-1.8"
pushSecret:
name: "dockerhub"
source:
git:
ref: "${SOURCE_REF}"
uri: "${SOURCE_URL}"
contextDir: "projects/origin-release/golang-1.8/"
type: Git
strategy:
dockerStrategy:
from:
kind: ImageStreamTag
name: origin-release:base
imageOptimizationPolicy: SkipLayers
triggers:
- imageChange: {}
type: ImageChange
- apiVersion: v1
kind: BuildConfig
metadata:
labels:
app: origin-release
name: "origin-release-golang-1.9"
spec:
successfulBuildsHistoryLimit: 1
failedBuildsHistoryLimit: 2
output:
to:
kind: DockerImage
name: "${PUSH_REPOSITORY}:golang-1.9"
pushSecret:
name: "dockerhub"
source:
git:
ref: "${SOURCE_REF}"
uri: "${SOURCE_URL}"
contextDir: "projects/origin-release/golang-1.9/"
type: Git
strategy:
dockerStrategy:
from:
kind: ImageStreamTag
name: origin-release:base
imageOptimizationPolicy: SkipLayers
triggers:
- imageChange: {}
type: ImageChange
- apiVersion: v1
kind: BuildConfig
metadata:
labels:
app: origin-release
name: "origin-release-golang-1.10"
spec:
successfulBuildsHistoryLimit: 1
failedBuildsHistoryLimit: 2
output:
to:
kind: DockerImage
name: "${PUSH_REPOSITORY}:golang-1.10"
pushSecret:
name: "dockerhub"
source:
git:
ref: "${SOURCE_REF}"
uri: "${SOURCE_URL}"
contextDir: "projects/origin-release/golang-1.10/"
type: Git
strategy:
dockerStrategy:
from:
kind: ImageStreamTag
name: origin-release:base
imageOptimizationPolicy: SkipLayers
triggers:
- imageChange: {}
type: ImageChange
- apiVersion: v1
kind: BuildConfig
metadata:
Expand Down

0 comments on commit 0bbbc0d

Please sign in to comment.