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

chore: remove Rust workspace #754

Merged
merged 42 commits into from
Oct 3, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
c3f7d4a
chore: remove Rust workspace
samuelvanderwaal Sep 21, 2022
b61e464
chore: remove unneeded fixtures dir
samuelvanderwaal Sep 21, 2022
22dbd71
enable multi-threaded tests
samuelvanderwaal Sep 21, 2022
c59030b
change worfklows to run on self-hosted
samuelvanderwaal Sep 21, 2022
1467a1f
update files to use test-programs dir
samuelvanderwaal Sep 21, 2022
7787b16
chore: merge master into branch
samuelvanderwaal Sep 21, 2022
2b736ea
chore: merge master into branch
samuelvanderwaal Sep 21, 2022
661ea1b
Merge branch 'master' into chore/remove-rust-workspace
samuelvanderwaal Sep 21, 2022
40fcc2f
chore: add bpf out dir for fixed price sale
samuelvanderwaal Sep 21, 2022
4caf22e
Merge branch 'master' into chore/remove-rust-workspace
Sep 22, 2022
9dc9fe2
Merge branch 'master' into chore/remove-rust-workspace
samuelvanderwaal Sep 22, 2022
34d4a7d
Merge branch 'master' into chore/remove-rust-workspace
samuelvanderwaal Sep 22, 2022
b93bcac
Merge branch 'master' into chore/remove-rust-workspace
samuelvanderwaal Sep 23, 2022
6c122ef
Merge branch 'master' into chore/remove-rust-workspace
samuelvanderwaal Sep 23, 2022
a1f7bd0
chore: fix auction house format issue
samuelvanderwaal Sep 23, 2022
fbb0f94
Merge branch 'master' into chore/remove-rust-workspace
samuelvanderwaal Sep 23, 2022
0ab420a
try install clang instead of clang7
samuelvanderwaal Sep 24, 2022
d2959c4
I have no idea what I'm doing
samuelvanderwaal Sep 24, 2022
00d4ded
one more try
samuelvanderwaal Sep 24, 2022
8b1f440
:
samuelvanderwaal Sep 24, 2022
db4f994
build-essential
samuelvanderwaal Sep 24, 2022
d7fbda4
fix name
samuelvanderwaal Sep 24, 2022
6df868b
ci: use buildjet instances
samuelvanderwaal Sep 26, 2022
5dab20e
ci: remove unneeded dev installs
samuelvanderwaal Sep 26, 2022
14000d9
upgrade before installing libudev
samuelvanderwaal Sep 26, 2022
959904d
update bubblegum & other ci workflows
samuelvanderwaal Sep 26, 2022
0d3e98d
fix flakey tests
samuelvanderwaal Sep 26, 2022
67db43e
nft-packs: add metaplex program; use Confirmed level
samuelvanderwaal Sep 26, 2022
ce70672
fixed-price-sale: add mpl-metaplex program to tests
samuelvanderwaal Sep 26, 2022
6f9f056
disable sec3
samuelvanderwaal Sep 26, 2022
fe65aba
nft-packs/fixed-price-sale: fix paths
samuelvanderwaal Sep 26, 2022
460a0af
Merge branch 'master' into chore/remove-rust-workspace
samuelvanderwaal Sep 27, 2022
40dead3
change fixed price sale tests to use Confirmed
samuelvanderwaal Sep 27, 2022
24d764b
Merge branch 'chore/remove-rust-workspace' of github.com:metaplex-fou…
samuelvanderwaal Sep 27, 2022
6941f31
upgrade buildjet instance; bump tm idl shank binary version
samuelvanderwaal Sep 27, 2022
bedf3f4
revert to 4vcpu, to try to unstuck things
samuelvanderwaal Sep 27, 2022
6b2c0e7
revert to Github runners
samuelvanderwaal Sep 28, 2022
2107c38
merge master into branch
samuelvanderwaal Sep 28, 2022
24784df
address review comments
samuelvanderwaal Sep 28, 2022
1d9e3e6
remove bpf-out-dir; change checkout to v3
samuelvanderwaal Sep 30, 2022
62ed9bb
merge master into branch
samuelvanderwaal Oct 3, 2022
08e1bc1
only apt update once
samuelvanderwaal Oct 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change worfklows to run on self-hosted
  • Loading branch information
samuelvanderwaal committed Sep 21, 2022
commit c59030ba917ec90dd0e6f9eeaa87bda81a3b135a
4 changes: 2 additions & 2 deletions .github/workflows/integration-fixed-price-sale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
changes:
runs-on: ubuntu-latest
runs-on: self-hosted
# Set job outputs to values from filter step
outputs:
core: ${{ steps.filter.outputs.core }}
Expand All @@ -33,7 +33,7 @@ jobs:
workflow:
- '.github/workflows/integration-fixed-price-sale.yml '
build-and-integration-test-fixed-price-sale:
runs-on: ubuntu-latest
runs-on: self-hosted
env:
cache_id: program-fixed-price-sale
needs: changes
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-hydra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
changes:
runs-on: ubuntu-latest
runs-on: self-hosted
# Set job outputs to values from filter step
outputs:
core: ${{ steps.filter.outputs.core }}
Expand All @@ -33,7 +33,7 @@ jobs:
workflow:
- '.github/workflows/integration-hydra.yml'
build-and-integration-test-hydra:
runs-on: ubuntu-latest
runs-on: self-hosted
env:
cache_id: program-hydra
needs: changes
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/manually-sync-package-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:

jobs:
dump-context:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Dump GitHub context
Expand All @@ -22,7 +22,7 @@ jobs:
run: echo "$GITHUB_CONTEXT"

sync-package-versions:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Publish version changes
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:

jobs:
dump-context:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Dump GitHub context
Expand All @@ -29,7 +29,7 @@ jobs:

get-changes-scope:
if: contains(fromJson('["OWNER", "MEMBER", "CONTRIBUTOR"]'), github.event.review.author_association) == true && contains(fromJson('["approved", "commented"]'), github.event.review.state) == true
runs-on: ubuntu-latest
runs-on: self-hosted
outputs:
changed-packages: ${{ steps.get-changed-package-scope.outputs.result }}
steps:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:

get-version-scope:
if: contains(fromJson('["OWNER", "MEMBER", "CONTRIBUTOR"]'), github.event.review.author_association) == true && contains(fromJson('["approved", "commented"]'), github.event.review.state) == true
runs-on: ubuntu-latest
runs-on: self-hosted
outputs:
versioning: ${{ steps.parse-version-info.outputs.versioning }}
has-versioning: ${{ steps.parse-version-info.outputs.has-versioning }}
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
update-pr-with-changes:
needs: [get-changes-scope, get-version-scope]
if: ${{ needs.get-version-scope.outputs.has-versioning == 'true' }}
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-linux-build-deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/program-auction-house.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ jobs:
run: |
cargo +${{ env.RUST_TOOLCHAIN }} test -- --nocapture --test-threads 1
cargo +${{ env.RUST_TOOLCHAIN }} test-bpf --version
cargo +${{ env.RUST_TOOLCHAIN }} test-bpf --bpf-out-dir ../../target/deploy/ --test ${{ env.TEST }} -- --nocapture --test-threads 1
cargo +${{ env.RUST_TOOLCHAIN }} test-bpf --bpf-out-dir ../../target/deploy/ --test ${{ env.TEST }} -- --nocapture
8 changes: 4 additions & 4 deletions .github/workflows/program-auctioneer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
setup-versions:
runs-on: ubuntu-latest
runs-on: self-hosted
outputs:
versions: ${{ steps.matrix.outputs.value }}
steps:
Expand All @@ -30,7 +30,7 @@ jobs:
shell: bash

setup-tests:
runs-on: ubuntu-latest
runs-on: self-hosted
outputs:
tests: ${{ steps.matrix.outputs.value }}
steps:
Expand All @@ -51,7 +51,7 @@ jobs:
shell: bash

changes:
runs-on: ubuntu-latest
runs-on: self-hosted
# Set job outputs to values from filter step
outputs:
core: ${{ steps.filter.outputs.core }}
Expand All @@ -72,7 +72,7 @@ jobs:
build-and-test-auctioneer:
needs: [changes, setup-versions, setup-tests]
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.package == 'true' }}
runs-on: ubuntu-latest
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/program-bubblegum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:

jobs:
setup-versions:
runs-on: ubuntu-latest
runs-on: self-hosted
outputs:
versions: ${{ steps.matrix.outputs.value }}
steps:
Expand All @@ -32,7 +32,7 @@ jobs:
shell: bash

setup-tests:
runs-on: ubuntu-latest
runs-on: self-hosted
outputs:
tests: ${{ steps.matrix.outputs.value }}
steps:
Expand All @@ -53,7 +53,7 @@ jobs:
shell: bash

changes:
runs-on: ubuntu-latest
runs-on: self-hosted
# Set job outputs to values from filter step
outputs:
core: ${{ steps.filter.outputs.core }}
Expand All @@ -73,7 +73,7 @@ jobs:
build-and-test-bubblegum:
needs: [changes, setup-versions, setup-tests]
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.package == 'true' }}
runs-on: ubuntu-latest
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/program-candy-machine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
changes:
runs-on: ubuntu-latest
runs-on: self-hosted
# Set job outputs to values from filter step
outputs:
core: ${{ steps.filter.outputs.core }}
Expand All @@ -33,7 +33,7 @@ jobs:
build-and-test-candy-machine:
needs: changes
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.package == 'true' }}
runs-on: ubuntu-latest
runs-on: self-hosted
env:
cache_id: program-candy-machine

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/program-fixed-price-sale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
RUST_TOOLCHAIN: stable
jobs:
changes:
runs-on: ubuntu-latest
runs-on: self-hosted
# Set job outputs to values from filter step
outputs:
core: ${{ steps.filter.outputs.core }}
Expand All @@ -34,7 +34,7 @@ jobs:
build-and-test-fixed-price-sale:
needs: changes
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.package == 'true' || needs.changes.outputs.workflow == 'true' }}
runs-on: ubuntu-latest
runs-on: self-hosted
env:
cache_id: program-fixed-price-sale

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/program-gumdrop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
changes:
runs-on: ubuntu-latest
runs-on: self-hosted
# Set job outputs to values from filter step
outputs:
core: ${{ steps.filter.outputs.core }}
Expand All @@ -33,7 +33,7 @@ jobs:
build-and-test-gumdrop:
needs: changes
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.package == 'true' }}
runs-on: ubuntu-latest
runs-on: self-hosted
env:
cache_id: program-gumdrop

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/program-hydra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
changes:
runs-on: ubuntu-latest
runs-on: self-hosted
# Set job outputs to values from filter step
outputs:
core: ${{ steps.filter.outputs.core }}
Expand All @@ -33,7 +33,7 @@ jobs:
build-and-test-hyrdra:
needs: changes
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.package == 'true' }}
runs-on: ubuntu-latest
runs-on: self-hosted
env:
cache_id: program-hydra

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/program-token-entangler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
changes:
runs-on: ubuntu-latest
runs-on: self-hosted
# Set job outputs to values from filter step
outputs:
core: ${{ steps.filter.outputs.core }}
Expand All @@ -33,7 +33,7 @@ jobs:
build-and-test-token-entangler:
needs: changes
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.package == 'true' }}
runs-on: ubuntu-latest
runs-on: self-hosted
env:
cache_id: program-token-entangler

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/program-token-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
setup-versions:
runs-on: ubuntu-latest
runs-on: self-hosted
outputs:
versions: ${{ steps.matrix.outputs.value }}
steps:
Expand All @@ -30,7 +30,7 @@ jobs:
shell: bash

setup-tests:
runs-on: ubuntu-latest
runs-on: self-hosted
outputs:
tests: ${{ steps.matrix.outputs.value }}
steps:
Expand All @@ -51,7 +51,7 @@ jobs:
shell: bash

changes:
runs-on: ubuntu-latest
runs-on: self-hosted
# Set job outputs to values from filter step
outputs:
core: ${{ steps.filter.outputs.core }}
Expand All @@ -71,7 +71,7 @@ jobs:
build-and-test-token-metadata:
needs: [changes, setup-versions, setup-tests]
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.package == 'true' }}
runs-on: ubuntu-latest
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-on-pr-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:

jobs:
dump-context:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Dump GitHub context
Expand All @@ -26,7 +26,7 @@ jobs:

# alt: on version, publish comment or label and then parse here.
get-changes-scope:
runs-on: ubuntu-latest
runs-on: self-hosted
outputs:
changed-packages: ${{ steps.get-changed-package-scope.outputs.result }}
steps:
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:

publish-version-changes:
needs: [get-changes-scope]
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Publish version changes
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sdk-auction-house.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
changes:
runs-on: ubuntu-latest
runs-on: self-hosted
# Set job outputs to values from filter step
outputs:
core: ${{ steps.filter.outputs.core }}
Expand All @@ -28,7 +28,7 @@ jobs:
build-lint-and-test-auction-house:
needs: changes
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.package == 'true' }}
runs-on: ubuntu-latest
runs-on: self-hosted

steps:
- uses: actions/checkout@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sdk-candy-machine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
changes:
runs-on: ubuntu-latest
runs-on: self-hosted
# Set job outputs to values from filter step
outputs:
core: ${{ steps.filter.outputs.core }}
Expand All @@ -28,7 +28,7 @@ jobs:
build-lint-and-test-candy-machine:
needs: changes
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.package == 'true' }}
runs-on: ubuntu-latest
runs-on: self-hosted

steps:
- uses: actions/checkout@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sdk-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
changes:
runs-on: ubuntu-latest
runs-on: self-hosted
# Set job outputs to values from filter step
outputs:
core: ${{ steps.filter.outputs.core }}
Expand All @@ -25,7 +25,7 @@ jobs:
build-lint-and-test-core:
needs: changes
if: ${{ needs.changes.outputs.core == 'true' }}
runs-on: ubuntu-latest
runs-on: self-hosted

steps:
- uses: actions/checkout@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sdk-gumdrop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
changes:
runs-on: ubuntu-latest
runs-on: self-hosted
# Set job outputs to values from filter step
outputs:
core: ${{ steps.filter.outputs.core }}
Expand All @@ -28,7 +28,7 @@ jobs:
build-lint-and-test-gumdrop:
needs: changes
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.package == 'true' }}
runs-on: ubuntu-latest
runs-on: self-hosted

steps:
- uses: actions/checkout@v1
Expand Down
Loading