Skip to content

Commit

Permalink
Remove lyft api dependency and migrate to lyft->flyteorg (flyteorg#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumare3 authored Mar 8, 2021
1 parent f88009e commit e7bf9a4
Show file tree
Hide file tree
Showing 230 changed files with 1,459 additions and 4,389 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: patch

goreleaser:
name: Goreleaser
runs-on: ubuntu-latest
Expand All @@ -43,25 +42,6 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.FLYTE_BOT_PAT }}

build:
runs-on: ubuntu-latest
needs: bump-version
steps:
- uses: actions/checkout@master
with:
fetch-depth: "0"
- name: Push Docker Image to Github Registry
uses: whoan/docker-build-with-cache-action@v5
with:
username: "${{ secrets.FLYTE_BOT_USERNAME }}"
password: "${{ secrets.FLYTE_BOT_PAT }}"
image_name: ${{ github.repository_owner }}/flytecopilot
image_tag: latest,${{ github.sha }},${{ needs.bump-version.outputs.version }}
push_git_tag: true
registry: ghcr.io
build_extra_args: "--compress=true"

tests-lint:
name: Run tests and lint
runs-on: ubuntu-latest
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,6 @@ name: Pull Request
on: pull_request

jobs:
build-copilot:
name: Build Co-Pilot Docker Image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Push Docker Image to Github Registry
uses: whoan/docker-build-with-cache-action@v5
with:
username: "${{ secrets.FLYTE_BOT_USERNAME }}"
password: "${{ secrets.FLYTE_BOT_PAT }}"
image_name: ${{ github.repository_owner }}/flytecopilot
image_tag: ${{ github.sha }}
push_git_tag: true
registry: ghcr.io
tests-lint:
name: Run tests and lint
runs-on: ubuntu-latest
Expand Down
34 changes: 0 additions & 34 deletions Dockerfile

This file was deleted.

16 changes: 0 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,3 @@ update_boilerplate:
generate: download_tooling
@go generate ./...

clean:
rm -rf bin

.PHONY: linux_compile
linux_compile:
cd copilot; GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o /artifacts/flyte-copilot .; cd -

.PHONY: compile
compile:
mkdir -p ./artifacts
cd copilot; go build -o ../artifacts/flyte-copilot .; cd -

cross_compile:
@glide install
@mkdir -p ./artifacts/cross
cd copilot; GOOS=linux GOARCH=amd64 go build -o ../artifacts/flyte-copilot .; cd -
52 changes: 0 additions & 52 deletions copilot/README.md

This file was deleted.

114 changes: 0 additions & 114 deletions copilot/cmd/containerwatcher/file_watcher.go

This file was deleted.

35 changes: 0 additions & 35 deletions copilot/cmd/containerwatcher/iface.go

This file was deleted.

85 changes: 0 additions & 85 deletions copilot/cmd/containerwatcher/kubeapi_watcher.go

This file was deleted.

Loading

0 comments on commit e7bf9a4

Please sign in to comment.