Skip to content

Commit

Permalink
merge conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Parraga <[email protected]>
  • Loading branch information
Sovietaced committed Jan 3, 2025
2 parents b11205f + fd9a378 commit d7e7262
Show file tree
Hide file tree
Showing 1,175 changed files with 44,213 additions and 23,684 deletions.
11 changes: 11 additions & 0 deletions .github/actions/clear-action-cache/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: 'Clear action cache'
description: 'As suggested by GitHub to prevent low disk space: https://github.com/actions/runner-images/issues/2840#issuecomment-790492173'
runs:
using: 'composite'
steps:
- shell: bash
run: |
rm -rf /usr/share/dotnet
rm -rf /opt/ghc
rm -rf "/usr/local/share/boost"
rm -rf "$AGENT_TOOLSDIRECTORY"
6 changes: 3 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ on:
push:
branches:
- master
- 'release-v**'
env:
GO_VERSION: "1.21"
GO_VERSION: "1.22"
PRIORITIES: "P0"
jobs:
unpack-envvars:
Expand All @@ -32,8 +33,7 @@ jobs:
component:
- datacatalog
- flyteadmin
# TODO(monorepo): Enable lint flytecopilot
# - flytecopilot
- flytecopilot
- flytectl
- flyteidl
- flyteplugins
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
"datacatalog",
"flyteadmin",
"flytecopilot",
"flyteidl",
"flyteplugins",
"flytepropeller",
"flytestdlib",
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'Dependency Review'
on: [pull_request]
permissions:
contents: read
pull-requests: write
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
- name: Dependency Review
uses: actions/dependency-review-action@v4
with:
comment-summary-in-pr: on-failure
# Licenses need to come from https://spdx.org/licenses/
deny-licenses: GPL-1.0-only, GPL-1.0-or-later, GPL-2.0-only, GPL-2.0-or-later, GPL-3.0-only, GPL-3.0-or-later

1 change: 1 addition & 0 deletions .github/workflows/flytectl-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
pull_request:
paths:
- flytectl/**
- 'release-v**'
push:
branches:
- master
Expand Down
27 changes: 24 additions & 3 deletions .github/workflows/flytectl-release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,34 @@
name: Flytectl release

on:
push:
tags:
- flytectl/v*.*.*
workflow_dispatch:
inputs:
version:
description: "version. Do *not* use the `flytectl/` prefix, e.g. `flytectl/v1.2.3`, instead use only `v1.2.3` (including the `v`)"
required: true

jobs:
push-flytectl-tag:
name: Push git tag containing the `flyteidl/` prefix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.FLYTE_BOT_PAT }}
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: `refs/tags/flytectl/${{ github.event.inputs.version }}`,
sha: context.sha
})
release:
name: Goreleaser
needs:
- push-flytectl-tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/flyteidl-buf-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- artifacts-shell-2
- artifacts
- master
- 'release-v**'
paths:
- 'flyteidl/**'
jobs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/flyteidl-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ on:
push:
branches:
- master
- 'release-v**'
env:
GO_VERSION: "1.21"
GO_VERSION: "1.22"
jobs:
unpack-envvars:
runs-on: ubuntu-latest
Expand Down
37 changes: 31 additions & 6 deletions .github/workflows/flyteidl-release.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,41 @@
name: Upload flyteidl to PyPI and npm
name: Release flyteidl

on:
push:
tags:
- flyteidl/v*.*.*
workflow_dispatch:
inputs:
version:
description: "version. Do *not* use the `flyteidl/` prefix, e.g. `flyteidl/v1.2.3`, instead use only `v1.2.3` (including the `v`)"
required: true

jobs:
push-flyteidl-tag:
name: Push git tag containing the `flyteidl/` prefix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.FLYTE_BOT_PAT }}
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: `refs/tags/flyteidl/${{ github.event.inputs.version }}`,
sha: context.sha
})
deploy-to-pypi:
needs:
- push-flyteidl-tag
runs-on: ubuntu-latest
defaults:
run:
working-directory: flyteidl
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Set up Python
uses: actions/setup-python@v1
with:
Expand All @@ -29,6 +52,8 @@ jobs:
python -m build
twine upload dist/*
deploy-to-npm:
needs:
- push-flyteidl-tag
runs-on: ubuntu-latest
defaults:
run:
Expand All @@ -41,8 +66,8 @@ jobs:
registry-url: "https://registry.npmjs.org"
- name: Set version in npm package
run: |
# from refs/tags/v1.2.3 get 1.2.3
VERSION=$(echo $GITHUB_REF | sed 's#.*/v##')
# v1.2.3 get 1.2.3
VERSION=$(echo ${{ inputs.version }} | sed 's#.*v##')
VERSION=$VERSION make update_npmversion
shell: bash
- run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate_flyte_manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: "0"
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
- name: Update references
env:
VERSION: ${{ github.event.inputs.next-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go_generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
working-directory: ${{ inputs.component }}
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-protoc@v1
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.FLYTE_BOT_PAT }}
- uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ secrets.FLYTE_BOT_PAT }}
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}
- name: Go generate and diff
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/helm-charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
branches:
- master
- rc/*
- 'release-v**'
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
version: "v0.11.1"
- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}
- name: Integration
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}
- name: Lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Before Build
run: ${{ inputs.before-build }}
- name: Build and Push Image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
file: ${{ inputs.dockerfile }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
username: "${{ secrets.FLYTE_BOT_USERNAME }}"
password: "${{ secrets.FLYTE_BOT_PAT }}"
- name: Build and push DIND Image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/arm64, linux/amd64
Expand Down
Loading

0 comments on commit d7e7262

Please sign in to comment.