mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-09-25 16:29:53 +00:00
ci(test): remove environment identifier (#2003)
Moved Azure OIDC to use only Pull Request subject, this gets rid of the noise it creates in the PR’s
This commit is contained in:
parent
9fd77a5232
commit
4db04b7a22
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -313,7 +313,6 @@ jobs:
|
||||
|
||||
|
||||
test_ingest_src:
|
||||
environment: ci
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.8","3.9","3.10","3.11"]
|
||||
@ -400,7 +399,6 @@ jobs:
|
||||
|
||||
|
||||
test_ingest_dest:
|
||||
environment: ci
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.8","3.9","3.10","3.11"]
|
||||
|
@ -12,31 +12,6 @@ permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test_logins:
|
||||
runs-on: ubuntu-latest
|
||||
environment: ci
|
||||
steps:
|
||||
- uses: 'actions/checkout@v4'
|
||||
- name: 'Google Cloud Auth'
|
||||
uses: 'google-github-actions/auth@v1'
|
||||
id: gauth
|
||||
with:
|
||||
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
|
||||
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}
|
||||
- name: 'Set up Cloud SDK'
|
||||
uses: 'google-github-actions/setup-gcloud@v1'
|
||||
- name: 'run gcloud command'
|
||||
run: |-
|
||||
gcloud projects list
|
||||
- name: 'Az CLI login'
|
||||
uses: azure/login@v1
|
||||
with:
|
||||
client-id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
|
||||
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
|
||||
- name: 'azure test command'
|
||||
run: |-
|
||||
az account show
|
||||
setup:
|
||||
runs-on: ubuntu-latest-m
|
||||
env:
|
||||
@ -100,7 +75,6 @@ jobs:
|
||||
make install-all-ingest
|
||||
|
||||
update-fixtures-and-pr:
|
||||
environment: ci
|
||||
runs-on: ubuntu-latest-m
|
||||
env:
|
||||
NLTK_DATA: ${{ github.workspace }}/nltk_data
|
||||
@ -108,20 +82,6 @@ jobs:
|
||||
steps:
|
||||
# actions/checkout MUST come before auth
|
||||
- uses: 'actions/checkout@v4'
|
||||
- name: 'Google Cloud Auth'
|
||||
uses: 'google-github-actions/auth@v1'
|
||||
with:
|
||||
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
|
||||
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}
|
||||
create_credentials_file: true
|
||||
- name: 'Set up Cloud SDK'
|
||||
uses: 'google-github-actions/setup-gcloud@v1'
|
||||
- name: 'Az CLI login'
|
||||
uses: azure/login@v1
|
||||
with:
|
||||
client-id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
|
||||
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user