Disable K8s tests in Github Actions (until in-cluster tests are added) #140
Workflow file for this run
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
# Credit: rhnvrm | |
# Adapted from: https://rohanverma.net/blog/2021/02/09/minio-github-actions/ | |
name: S3 Integration Test | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
uses: ./.github/workflows/build.yml | |
s3Test: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup minio | |
run: | | |
docker run -d -p 9000:9000 --name minio \ | |
-e "MINIO_ROOT_USER=minioadmin" \ | |
-e "MINIO_ROOT_PASSWORD=minioadmin" \ | |
-v /tmp/data:/data \ | |
-v /tmp/config:/root/.minio \ | |
minio/minio server /data | |
- uses: actions/download-artifact@v4 | |
with: | |
name: funnel | |
- name: Start Funnel server | |
run: | | |
cat <<EOF > config.yml | |
LocalStorage: | |
Disabled: true | |
AmazonS3: | |
Disabled: true | |
GoogleStorage: | |
Disabled: true | |
HTTPStorage: | |
Disabled: true | |
FTPStorage: | |
Disabled: true | |
GenericS3: | |
- Disabled: false | |
Endpoint: "localhost:9000" | |
Key: "minioadmin" | |
Secret: "minioadmin" | |
EOF | |
chmod +x funnel | |
./funnel server run --config `pwd`/config.yml &> funnel.logs & | |
./funnel task run examples/s3-test.yml |