Skip to content

Commit

Permalink
ci(simplygo): remove ci jobs for faulty simplygo source & transform
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzzy committed Oct 9, 2024
1 parent 32d0156 commit c4f3489
Showing 1 changed file with 1 addition and 85 deletions.
86 changes: 1 addition & 85 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,88 +19,7 @@ permissions:
contents: write
packages: write
jobs:
simplygo:
name: "SimplyGo SDK"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
with:
workspaces: "libs/simplygo -> target"
- name: Lint
run: make lint-simplygo
- name: Build
run: make build-simplygo
- name: Test
run: make test-simplygo
- name: Publish
if: ${{ github.event_name == 'release' }}
run:
cargo publish

simplygo-src:
name: "SimplyGo Source"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
with:
workspaces: "sources/simplygo -> target"
- name: Lint
run: make lint-simplygo-src
- name: Build
run: make build-simplygo-src
- name: Test
env:
SIMPLYGO_SRC_USERNAME: "${{ secrets.SIMPLYGO_SRC_USERNAME }}"
SIMPLYGO_SRC_PASSWORD: "${{ secrets.SIMPLYGO_SRC_PASSWORD }}"
run: make test-simplygo-src
- name: Publish Container
uses: ./.github/actions/ghcr
with:
username: "${{ github.actor }}"
password: "${{ secrets.GITHUB_TOKEN }}"
name: "pvd-simplygo-src"
context_dir: "sources/simplygo"
dockerfile: "infra/Dockerfile.simplygo_rust"
build_args: |
TARGET=simplygo_src
- name: Upload simplygo_src binary as Artifact
uses: actions/upload-artifact@v4
with:
name: simplygo-src-bin
path: sources/simplygo/target/debug/simplygo_src

simplygo-tfm:
name: "SimplyGo Transform"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
with:
workspaces: "transforms/simplygo -> target"
- name: Lint
run: make lint-simplygo-tfm
- name: Build
run: make build-simplygo-tfm
- name: Test
run: make test-simplygo-tfm
- name: Publish Container
uses: ./.github/actions/ghcr
with:
username: "${{ github.actor }}"
password: "${{ secrets.GITHUB_TOKEN }}"
name: "pvd-simplygo-tfm"
context_dir: "transforms/simplygo"
dockerfile: "infra/Dockerfile.simplygo_rust"
build_args: |
TARGET=simplygo_tfm
- name: Upload simplygo_tfm binary as Artifact
uses: actions/upload-artifact@v4
with:
name: simplygo-tfm-bin
path: transforms/simplygo/target/debug/simplygo_tfm

# TODO(mrzzy): simplygo-src, simplygo_tfm ci jobs
dbt-transform:
name: "DBT Transform"
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -158,9 +77,6 @@ jobs:
pipelines:
name: "Pipelines: Lint, Test & Publish"
runs-on: ubuntu-22.04
needs:
- simplygo-src
- simplygo-tfm
env:
PVD_LAKE_BUCKET: mrzzy-co-data-lake
YNAB_BUDGET_ID: f3f15316-e48c-4235-8d5d-1aa3191b3b8c
Expand Down

0 comments on commit c4f3489

Please sign in to comment.