Skip to content

Commit

Permalink
Merge pull request coreos#11 from ashcrow/fix-openshift
Browse files Browse the repository at this point in the history
rdgo: Add openshift repo and required mock packages
  • Loading branch information
openshift-merge-robot authored May 12, 2018
2 parents 28c9bbe + 29707ba commit 0bda467
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
src/
snapshot/
build*
latest_openshift.repo
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ syntax-check:
.PHONY: container
container:
imagebuild -privileged .

.PHONY: refresh
refresh:
./generate-openshift-repo
12 changes: 12 additions & 0 deletions generate-openshift-repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

set -xeuo pipefail

LATEST_OPENSHIFT_REPO=`curl https://storage.googleapis.com/origin-ci-test/releases/openshift/origin/master/.latest-rpms`

echo "[openshift]
name=openshift
baseurl=${LATEST_OPENSHIFT_REPO}
type=rpm
enabled=1
gpgcheck=0" > latest_openshift.repo
1 change: 1 addition & 0 deletions host-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"repos": [
"atomic-centos-continuous",
"origin-repo",
"openshift",
"dustymabe-ignition"
],
"selinux": true,
Expand Down
5 changes: 0 additions & 5 deletions overlay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,3 @@ components:

# - src: github:coreos/ignition
# TODO: use copr for distgit here OR get spec in the ignition repo

# Use the internal spec specified in origin repo
# so we don't pull content from dist-git
- src: github:openshift/origin
spec: internal

0 comments on commit 0bda467

Please sign in to comment.