Coder Social home page Coder Social logo

Comments (3)

gavinfish avatar gavinfish commented on August 28, 2024

Hi @mattclay ,

I have questions about the Shippable settings for this repository:

  1. Does the shippable agents have any initial settings, like environment variables?
  2. 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.
  1. 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.

mattclay avatar mattclay commented on August 28, 2024

@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.

gavinfish avatar gavinfish commented on August 28, 2024

@mattclay Thanks for sharing the knowledge here! I will set up a meeting for further discussion.

from azure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.