-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from ctrliq/devel
Sync to Upstream 24.0.0
- Loading branch information
Showing
43 changed files
with
540 additions
and
106 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- .github/workflows/devel_images.yml | ||
+++ .github/workflows/devel_images.yml | ||
@@ -3,6 +3,7 @@ name: Build/Push Development Images | ||
env: | ||
LC_ALL: "C.UTF-8" # prevent ERROR: Ansible could not initialize the preferred locale: unsupported locale setting | ||
on: | ||
+ workflow_dispatch: | ||
push: | ||
branches: | ||
- devel |
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
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
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
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
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
53 changes: 53 additions & 0 deletions
53
awx/main/migrations/0190_alter_inventorysource_source_and_more.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Generated by Django 4.2.6 on 2024-02-15 20:51 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('main', '0189_inbound_hop_nodes'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='inventorysource', | ||
name='source', | ||
field=models.CharField( | ||
choices=[ | ||
('file', 'File, Directory or Script'), | ||
('constructed', 'Template additional groups and hostvars at runtime'), | ||
('scm', 'Sourced from a Project'), | ||
('ec2', 'Amazon EC2'), | ||
('gce', 'Google Compute Engine'), | ||
('azure_rm', 'Microsoft Azure Resource Manager'), | ||
('vmware', 'VMware vCenter'), | ||
('openstack', 'OpenStack'), | ||
('controller', 'CIQ Ascender Automation Platform'), | ||
('terraform', 'Terraform State'), | ||
], | ||
default=None, | ||
max_length=32, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='inventoryupdate', | ||
name='source', | ||
field=models.CharField( | ||
choices=[ | ||
('file', 'File, Directory or Script'), | ||
('constructed', 'Template additional groups and hostvars at runtime'), | ||
('scm', 'Sourced from a Project'), | ||
('ec2', 'Amazon EC2'), | ||
('gce', 'Google Compute Engine'), | ||
('azure_rm', 'Microsoft Azure Resource Manager'), | ||
('vmware', 'VMware vCenter'), | ||
('openstack', 'OpenStack'), | ||
('controller', 'CIQ Ascender Automation Platform'), | ||
('terraform', 'Terraform State'), | ||
], | ||
default=None, | ||
max_length=32, | ||
), | ||
), | ||
] |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"TF_BACKEND_CONFIG_FILE": "{{ file_reference }}" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,8 @@ | ||
from awx.main.tests.functional.conftest import * # noqa | ||
import os | ||
import pytest | ||
|
||
|
||
def pytest_addoption(parser): | ||
parser.addoption("--release", action="store", help="a release version number, e.g., 3.3.0") | ||
|
||
|
||
def pytest_generate_tests(metafunc): | ||
# This is called for every test. Only get/set command line arguments | ||
# if the argument is specified in the list of test "fixturenames". | ||
option_value = metafunc.config.option.release | ||
if 'release' in metafunc.fixturenames and option_value is not None: | ||
metafunc.parametrize("release", [option_value]) | ||
@pytest.fixture() | ||
def release(): | ||
return os.environ.get('VERSION_TARGET', '') |
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
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
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
Oops, something went wrong.