mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-08-08 23:24:27 -07:00
fix role tests
Ansible role tests were failing due to ansible-lint reporting multiple errors. Fixing those errors resolves the failing tests. Switching gcsfuse to use gcloud's bootstrap to follow the current docker install instructions. Removing centos as it's a discontinued distribution. Adding a check to ensure integration tests are skipped unless they are run by a branch (a public fork does not pass required integration test credentials).
This commit is contained in:
parent
18900797c5
commit
f692dd4c76
21 changed files with 113 additions and 96 deletions
|
@ -1,8 +1,5 @@
|
|||
name: "Run integration tests for the cloud.google collection"
|
||||
on:
|
||||
# NOTE: GitHub does not allow secrets to be used
|
||||
# in PRs sent from forks. As such, this configuration is for
|
||||
# PRs that the maintainers would like to send to test.
|
||||
pull_request: {}
|
||||
push:
|
||||
branches: master
|
||||
|
@ -11,6 +8,10 @@ env:
|
|||
GCP_PROJECT: "ansible-gcp-ci"
|
||||
jobs:
|
||||
integration:
|
||||
# NOTE: GitHub does not allow secrets to be used
|
||||
# in PRs sent from forks. As such, this configuration is for
|
||||
# PRs that the maintainers would like to send to test.
|
||||
if: github.event.pull_request.head.repo.full_name == github.repository
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue