mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-23 05:10:29 -07:00
chore: rebase to master
This commit is contained in:
parent
661f114037
commit
50ed9f42b5
6 changed files with 42 additions and 42 deletions
|
@ -26,13 +26,13 @@ jobs:
|
|||
- stable-2.15
|
||||
steps:
|
||||
- name: check out code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: ansible_collections/google/cloud
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v1
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.9" # this is the minimum version required for Ansible 2.13
|
||||
python-version: '3.9' # this is the minimum version required for Ansible 2.15
|
||||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt
|
||||
- name: Install ansible-base (${{ matrix.ansible_version }})
|
||||
|
|
10
.github/workflows/ansible-test.yml
vendored
10
.github/workflows/ansible-test.yml
vendored
|
@ -2,7 +2,7 @@
|
|||
name: Run tests for the cloud.google collection
|
||||
on: [pull_request]
|
||||
env:
|
||||
PYTHON_VERSION: "3.9" # minimum version for Ansible 2.14
|
||||
PYTHON_VERSION: "3.9" # minimum version for Ansible 2.15
|
||||
jobs:
|
||||
sanity-and-lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -16,11 +16,11 @@ jobs:
|
|||
- stable-2.15
|
||||
steps:
|
||||
- name: check out code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: ansible_collections/google/cloud
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v1
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ env.PYTHON_VERSION }}
|
||||
# Automation-hub requires python2.7 sanity tests
|
||||
|
@ -53,11 +53,11 @@ jobs:
|
|||
- stable-2.15
|
||||
steps:
|
||||
- name: check out code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: ansible_collections/google/cloud
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v1
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ env.PYTHON_VERSION }}
|
||||
- name: Install dependencies
|
||||
|
|
30
.github/workflows/automationhub.yml
vendored
30
.github/workflows/automationhub.yml
vendored
|
@ -8,18 +8,18 @@ jobs:
|
|||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.x
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install ansible
|
||||
- name: Build and publish
|
||||
env:
|
||||
ANSIBLE_AUTOMATION_HUB_API_KEY: ${{ secrets.ANSIBLE_AUTOMATION_HUB_API_KEY }}
|
||||
run: |
|
||||
ansible-galaxy collection build .
|
||||
ansible-galaxy collection publish *.tar.gz --api-key=$ANSIBLE_AUTOMATION_HUB_API_KEY -s=https://cloud.redhat.com/api/automation-hub/
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install ansible
|
||||
- name: Build and publish
|
||||
env:
|
||||
ANSIBLE_AUTOMATION_HUB_API_KEY: ${{ secrets.ANSIBLE_AUTOMATION_HUB_API_KEY }}
|
||||
run: |
|
||||
ansible-galaxy collection build .
|
||||
ansible-galaxy collection publish *.tar.gz --api-key=$ANSIBLE_AUTOMATION_HUB_API_KEY -s=https://cloud.redhat.com/api/automation-hub/
|
||||
|
|
4
.github/workflows/gcloud.yml
vendored
4
.github/workflows/gcloud.yml
vendored
|
@ -27,12 +27,12 @@ jobs:
|
|||
- gcloud
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: ansible_collections/google/cloud
|
||||
|
||||
- name: Set up Python 3.9
|
||||
uses: actions/setup-python@v1
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
|
||||
|
|
4
.github/workflows/gcsfuse.yml
vendored
4
.github/workflows/gcsfuse.yml
vendored
|
@ -22,12 +22,12 @@ jobs:
|
|||
- gcsfuse
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: ansible_collections/google/cloud
|
||||
|
||||
- name: Set up Python 3.9
|
||||
uses: actions/setup-python@v1
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
|
||||
|
|
30
.github/workflows/pythonpublish.yml
vendored
30
.github/workflows/pythonpublish.yml
vendored
|
@ -8,18 +8,18 @@ jobs:
|
|||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.x
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install ansible
|
||||
- name: Build and publish
|
||||
env:
|
||||
ANSIBLE_GALAXY_API_KEY: ${{ secrets.ANSIBLE_GALAXY_API_KEY }}
|
||||
run: |
|
||||
ansible-galaxy collection build .
|
||||
ansible-galaxy collection publish *.tar.gz --api-key $ANSIBLE_GALAXY_API_KEY
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install ansible
|
||||
- name: Build and publish
|
||||
env:
|
||||
ANSIBLE_GALAXY_API_KEY: ${{ secrets.ANSIBLE_GALAXY_API_KEY }}
|
||||
run: |
|
||||
ansible-galaxy collection build .
|
||||
ansible-galaxy collection publish *.tar.gz --api-key $ANSIBLE_GALAXY_API_KEY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue