mirror of https://github.com/LemmyNet/lemmy.git
Temporarily disable arm tests
parent
dbc92d6ee0
commit
5c851da36c
65
.drone.yml
65
.drone.yml
|
@ -138,18 +138,19 @@ steps:
|
||||||
- apt install --no-install-recommends --yes git
|
- apt install --no-install-recommends --yes git
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
|
|
||||||
- name: cargo test
|
# TODO temporarily disable arm tests
|
||||||
image: rust:1.56-slim
|
# - name: cargo test
|
||||||
environment:
|
# image: rust:1.56-slim
|
||||||
LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
|
# environment:
|
||||||
LEMMY_CONFIG_LOCATION: ../../config/config.hjson
|
# LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
|
||||||
RUST_BACKTRACE: 1
|
# LEMMY_CONFIG_LOCATION: ../../config/config.hjson
|
||||||
RUST_TEST_THREADS: 1
|
# RUST_BACKTRACE: 1
|
||||||
commands:
|
# RUST_TEST_THREADS: 1
|
||||||
- apt-get update
|
# commands:
|
||||||
- apt-get -y install --no-install-recommends postgresql-client libssl-dev pkg-config libpq-dev
|
# - apt-get update
|
||||||
- cargo test --workspace --no-fail-fast
|
# - apt-get -y install --no-install-recommends postgresql-client libssl-dev pkg-config libpq-dev
|
||||||
- cargo build
|
# - cargo test --workspace --no-fail-fast
|
||||||
|
# - cargo build
|
||||||
|
|
||||||
# Using Debian here because there seems to be no official Alpine-based Rust docker image for ARM.
|
# Using Debian here because there seems to be no official Alpine-based Rust docker image for ARM.
|
||||||
- name: cargo build
|
- name: cargo build
|
||||||
|
@ -160,19 +161,20 @@ steps:
|
||||||
- cargo build
|
- cargo build
|
||||||
- mv target/debug/lemmy_server target/lemmy_server
|
- mv target/debug/lemmy_server target/lemmy_server
|
||||||
|
|
||||||
- name: run federation tests
|
# TODO temporarily disable arm tests
|
||||||
image: node:16-slim
|
# - name: run federation tests
|
||||||
environment:
|
# image: node:16-slim
|
||||||
LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432
|
# environment:
|
||||||
DO_WRITE_HOSTS_FILE: 1
|
# LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432
|
||||||
commands:
|
# DO_WRITE_HOSTS_FILE: 1
|
||||||
- mkdir -p /usr/share/man/man1 /usr/share/man/man7
|
# commands:
|
||||||
- apt-get update
|
# - mkdir -p /usr/share/man/man1 /usr/share/man/man7
|
||||||
- apt-get -y install --no-install-recommends bash curl libssl-dev pkg-config libpq-dev postgresql-client libc6-dev
|
# - apt-get update
|
||||||
- bash api_tests/prepare-drone-federation-test.sh
|
# - apt-get -y install --no-install-recommends bash curl libssl-dev pkg-config libpq-dev postgresql-client libc6-dev
|
||||||
- cd api_tests/
|
# - bash api_tests/prepare-drone-federation-test.sh
|
||||||
- yarn
|
# - cd api_tests/
|
||||||
- yarn api-test
|
# - yarn
|
||||||
|
# - yarn api-test
|
||||||
|
|
||||||
- name: publish release docker image
|
- name: publish release docker image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
@ -206,9 +208,10 @@ steps:
|
||||||
ref:
|
ref:
|
||||||
- refs/tags/*
|
- refs/tags/*
|
||||||
|
|
||||||
services:
|
# TODO temporarily disable arm tests
|
||||||
- name: database
|
# services:
|
||||||
image: postgres:12-alpine
|
# - name: database
|
||||||
environment:
|
# image: postgres:12-alpine
|
||||||
POSTGRES_USER: lemmy
|
# environment:
|
||||||
POSTGRES_PASSWORD: password
|
# POSTGRES_USER: lemmy
|
||||||
|
# POSTGRES_PASSWORD: password
|
||||||
|
|
Loading…
Reference in New Issue