-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into stable
- Loading branch information
Showing
82 changed files
with
6,474 additions
and
2,025 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -10,6 +10,20 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
services: | ||
catalog_peer: | ||
image: debezium/postgres:14-alpine | ||
ports: | ||
- 7132:5432 | ||
env: | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: postgres | ||
POSTGRES_DB: postgres | ||
options: >- | ||
--health-cmd pg_isready | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
|
@@ -22,21 +36,39 @@ jobs: | |
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y protobuf-compiler libssl-dev pkg-config build-essential | ||
- name: setup gcp service account | ||
id: gcp-service-account | ||
uses: jsdaniell/[email protected] | ||
with: | ||
name: "bq_service_account.json" | ||
json: ${{ secrets.GCP_GH_CI_PKEY }} | ||
dir: 'nexus/server/tests/assets/' | ||
|
||
- name: setup snowflake credentials | ||
id: sf-credentials | ||
uses: jsdaniell/[email protected] | ||
with: | ||
name: "snowflake_creds.json" | ||
json: ${{ secrets.SNOWFLAKE_GH_CI_PKEY }} | ||
dir: 'nexus/server/tests/assets/' | ||
|
||
- name: cargo check | ||
run: cargo check | ||
working-directory: ./nexus | ||
|
||
- name: cargo test | ||
run: cargo test | ||
run: cargo test -- --test-threads=1 | ||
working-directory: ./nexus | ||
env: | ||
RUST_BACKTRACE: 1 | ||
PEERDB_CATALOG_HOST: ${{ secrets.NEXUS_CATALOG_HOST }} | ||
PEERDB_CATALOG_PORT: ${{ secrets.NEXUS_CATALOG_PORT }} | ||
PEERDB_CATALOG_DATABASE: ${{ secrets.NEXUS_CATALOG_DATABASE }} | ||
PEERDB_CATALOG_USER: ${{ secrets.NEXUS_CATALOG_USER }} | ||
PEERDB_CATALOG_PASSWORD: ${{ secrets.NEXUS_CATALOG_PASSWORD }} | ||
PEERDB_CATALOG_HOST: localhost | ||
PEERDB_CATALOG_PORT: 7132 | ||
PEERDB_CATALOG_DATABASE: postgres | ||
PEERDB_CATALOG_USER: postgres | ||
PEERDB_CATALOG_PASSWORD: postgres | ||
TEST_BQ_CREDS: tests/assets/bq_service_account.json | ||
TEST_SF_CREDS: tests/assets/snowflake_creds.json | ||
PEERDB_LOG_DIR: /tmp | ||
|
||
- name: dump server.log | ||
|
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
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
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
Oops, something went wrong.