This repository has been archived by the owner on May 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use github actions over azp * remove e2e test for timing ordering timing ordering is much too specific, and on CI, frequently it will not produce the right order, while locally it will produce it fine. we need to figure out a better way of testing this, in the meantime don't worry about it.
- Loading branch information
Showing
9 changed files
with
121 additions
and
201 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
name: Linux Merged | ||
|
||
on: | ||
push: | ||
branches: | ||
- trunk | ||
|
||
jobs: | ||
build_validate_release: | ||
name: Build and Validate and Publish Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Dev-Loop | ||
run: mkdir -p ./scratch/ && (cd ./scratch/ && curl -sSL -o dl https://dev-loop-builds.sfo2.digitaloceanspaces.com/latest/dl-linux && chmod +x dl) | ||
|
||
- name: Build Release | ||
run: ./scratch/dl exec build dl-release | ||
- name: Validate Release | ||
run: (cd ./e2e/linux-e2e/ && DL_COMMAND="../../target/dl-release" ./run-all-tests.sh) | ||
- name: Publish | ||
run: sudo apt-get update && sudo apt-get -y install s3cmd && ./target/dl-release exec ci-only upload-to-spaces-linux | ||
env: | ||
DL_SPACES_BUILD_KEY: ${{ secrets.DL_SPACES_BUILD_KEY }} | ||
DL_SPACES_BUILD_SECRET: ${{ secrets.DL_SPACES_BUILD_SECRET }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
name: Linux Tests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- trunk | ||
|
||
jobs: | ||
lint: | ||
name: Lint Codebase | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Dev-Loop | ||
run: mkdir -p ./scratch/ && (cd ./scratch/ && curl -sSL -o dl https://dev-loop-builds.sfo2.digitaloceanspaces.com/latest/dl-linux && chmod +x dl) | ||
|
||
- name: Execute lint | ||
run: ./scratch/dl exec lint all | ||
|
||
unit-test: | ||
name: Unit Test Codebase | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Dev-Loop | ||
run: mkdir -p ./scratch/ && (cd ./scratch/ && curl -sSL -o dl https://dev-loop-builds.sfo2.digitaloceanspaces.com/latest/dl-linux && chmod +x dl) | ||
|
||
- name: Execute unit tests | ||
run: ./scratch/dl exec test | ||
|
||
build-and-test-release: | ||
name: Build and Validate Release Binary | ||
runs-on: ubuntu-latest | ||
needs: [lint] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Dev-Loop | ||
run: mkdir -p ./scratch/ && (cd ./scratch/ && curl -sSL -o dl https://dev-loop-builds.sfo2.digitaloceanspaces.com/latest/dl-linux && chmod +x dl) | ||
|
||
- name: Build DL Release | ||
run: ./scratch/dl exec build dl-release | ||
- name: Validate DL Release | ||
run: (cd ./e2e/linux-e2e/ && DL_COMMAND="../../target/dl-release" ./run-all-tests.sh) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
name: OSX Merged | ||
|
||
on: | ||
push: | ||
branches: | ||
- trunk | ||
|
||
jobs: | ||
build_validate_release: | ||
name: Build and Validate and Publish Release | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install openssl | ||
run: brew install openssl | ||
- name: Setup Dev-Loop | ||
run: mkdir -p ./scratch/ && (cd ./scratch/ && curl -sSL -o dl https://dev-loop-builds.sfo2.digitaloceanspaces.com/latest/dl-osx && chmod +x dl) | ||
|
||
- name: Build Release | ||
run: ./scratch/dl exec ci-only build-osx-dl-release | ||
- name: Validate Release | ||
run: (cd ./e2e/osx-e2e/ && DL_COMMAND="../../target/dl-osx-release" ./run-all-tests.sh) | ||
- name: Publish | ||
run: brew install s3cmd && ./target/dl-osx-release exec ci-only upload-to-spaces-osx | ||
env: | ||
DL_SPACES_BUILD_KEY: ${{ secrets.DL_SPACES_BUILD_KEY }} | ||
DL_SPACES_BUILD_SECRET: ${{ secrets.DL_SPACES_BUILD_SECRET }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
name: OSX Tests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- trunk | ||
|
||
jobs: | ||
build-and-test-release: | ||
name: Build and Validate Release Binary | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install openssl | ||
run: brew install openssl | ||
- name: Setup Dev-Loop | ||
run: mkdir -p ./scratch/ && (cd ./scratch/ && curl -sSL -o dl https://dev-loop-builds.sfo2.digitaloceanspaces.com/latest/dl-osx && chmod +x dl) | ||
|
||
- name: Build DL Release | ||
run: ./scratch/dl exec ci-only build-osx-dl-release | ||
- name: Validate DL Release | ||
run: (cd ./e2e/osx-e2e/ && DL_COMMAND="../../target/dl-osx-release" ./run-all-tests.sh) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters