Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix upstream image build #1452

Merged
merged 3 commits into from
Apr 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 16 additions & 3 deletions .github/workflows/test-scripts.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,30 @@
name: test-scripts
name: upstream-tests
on:
pull_request:
paths:
- 'scripts/**'
- 'Makefile'
- '**'
- '!doc/contributors/**'
- '!doc/design/**'
schedule:
- cron: '0 0 * * *' # daily to pick up releases
jobs:
image-build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Build the container image
uses: docker/build-push-action@v1
with:
repository: operator-framework/olm
dockerfile: ./upstream.Dockerfile
push: false
run-local-minikube:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
sudo apt-get install conntrack
curl -sLo minikube "$(curl -sL https://api.github.com/repos/kubernetes/minikube/releases/latest | jq -r '[.assets[] | select(.name == "minikube-linux-amd64")] | first | .browser_download_url')"
chmod +x minikube
sudo mv minikube /bin/
Expand Down
1 change: 1 addition & 0 deletions upstream.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ COPY vendor vendor
COPY go.mod go.mod
COPY go.sum go.sum
COPY cmd cmd
COPY util util
COPY test test
RUN make build
RUN make build-util
Expand Down