Comments (3)
Hi @mattclay ,
I have questions about the Shippable settings for this repository:
- Does the shippable agents have any initial settings, like environment variables?
- I try to run the shippable.sh script on a ubuntu agent, some errors:
00:51 + ansible-test integration --color -v --retry-on-error shippable/azure/group1/ --coverage-check --changed --remote-terminate always --remote-stage prod --docker --python 2.7 --changed-all-target none --changed-all-mode include
00:51 The 45 minute test timeout expires in 0:44:59.374405 at 2019-12-17 03:44:11.
00:51 Falling back to tests in "tests/integration/targets/" because "roles/test/" was not found.
00:51 Run command: git symbolic-ref --short HEAD
00:51 WARNING: Command "git symbolic-ref --short HEAD" returned exit status 128.
00:51 >>> Standard Error
00:51 fatal: ref HEAD is not a symbolic ref
00:51 Run command: git for-each-ref refs/heads/ --format '%(refname:strip=2)'
00:51 ERROR: Unable to auto-detect fork branch and fork point.
- I also try to simply run the
ansible-test integration --allow-destructive
locally. All the tests are skipped even I create the/home/drfish/.local/lib/python2.7/site-packages/ansible_test/config/cloud-config-azure.ini
file.
WARNING: Excluding tests marked "cloud/azure" which require config (see "/home/drfish/.local/lib/python2.7/site-packages/ansible_test/config/cloud-config-azure.ini.template"): azure_rm_deployment, azure_rm_dnszone, azure_rm_networkinterface, azure_rm_publicipaddress, azure_rm_securitygroup, azure_rm_storageaccount, azure_rm_subnet, azure_rm_virtualmachine, azure_rm_virtualnetwork, inventory_azure
WARNING: All targets skipped.
from azure.
@gavinfish Shippable has many environment variables, although most are not used by ansible-test.
The failure you reported is due to use of the --changed
option, which is currently supported only on Shippable. I've been planning on looking into Azure Pipelines more to see if the --changed
option can be supported there. Until it is supported the option could be dropped, which would result in all tests being run every time.
The bigger issue is how you will manage resource groups and credentials for CI runs to enable testing of the Azure modules. That's something we may want to set up a meeting to discuss rather than trying to work it out over comments on this issue.
As for the config file when running locally, the file being referenced is a template. You will need to put a copy of the file in test/integration/cloud-config-azure.ini
and fill in the required values.
from azure.
@mattclay Thanks for sharing the knowledge here! I will set up a meeting for further discussion.
from azure.
Related Issues (20)
- azure_rm_adapplication does not properly manipulate optional_claims
- azure.azcollection.azure_rm_snapshot snapshot creation fails HOT 1
- ad_serviceprincipal_info does not properly list all service principals
- azure.azcollection.azure_rm_adgroup module Should allow for setting the description of the group HOT 1
- azure.azcollection.azure_rm_adapplication add option 'reply_urls_with_type' HOT 7
- azure_rm_backuppolicy support different intervals at the same time HOT 4
- ModuleNotFoundError: No module named 'azure.storage.cloudstorageaccount' HOT 6
- Add new module azure.azcollection.azure_rm_conditional_access HOT 1
- azure.azcollection.azure_rm_aduser add options 'about_me, company_name, extensions' HOT 1
- azure_rm_servicebus_info module return error for Azure service bus where private end point connection IPs are enabled HOT 1
- Add Python 3.12+ ARM support - Blocked by azure-iot-hub > uamqp requirements HOT 5
- allow service_principals and groups to appear in group_members output
- How to add a certificate to an Azure App Registration HOT 1
- Collection Python requirements can no longer be installed on Mac ARM due to upstream uamqp dependency HOT 3
- issue with inventory module. List of Hosts being returned will be missing hosts at random HOT 1
- azure_rm_adgroup Present members is not idempotent and does not follow ansible best practices HOT 4
- azure.azcollection.azure_rm_adgroup module Should allow for setting the description of the group #1485 > Only a partial Fix. Will not update existing groups. HOT 1
- Triggering on-demand backup returns error HOT 2
- azure.azcollection.azure_rm_virtualmachinescalesetinstance_info and related modules incompatible with Flexible VM Scale Sets HOT 4
- Add UserAssigned Identities to the postgrsqlflexibleserver module
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure.