Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Load service facts before using them
- name: Stop and disable the KF2 service systemd: name: kf2 state: stopped enabled: no when: ansible_facts.services["kf2.service"] is defined - name: Stop and disable the KF2 autokick service systemd: name: kf2autokick state: stopped enabled: no when: ansible_facts.services["kf2autokick.service"] is defined - name: Remove KF2 services file: path: "/etc/systemd/system/{{ item }}" state: absent loop: - kf2.service - kf2autokick.service notify: Reload systemd configuration - name: Remove service extra files file: path: /etc/systemd/system/kf2.service.d state: absent - meta: flush_handlers
- name: Check the state of system services service_facts: - name: Stop and disable the KF2 service systemd: name: kf2 state: stopped enabled: no when: ansible_facts.services["kf2.service"] is defined - name: Stop and disable the KF2 autokick service systemd: name: kf2autokick state: stopped enabled: no when: ansible_facts.services["kf2autokick.service"] is defined - name: Remove KF2 services file: path: "/etc/systemd/system/{{ item }}" state: absent loop: - kf2.service - kf2autokick.service notify: Reload systemd configuration - name: Remove service extra files file: path: /etc/systemd/system/kf2.service.d state: absent - meta: flush_handlers
Fix playbook action (nginx action didn't match)
--- - include: demo_playbook_iter_05.yml our_desired_package_name=nginx - hosts: webservers remote_user: ec2-user vars: demo_message: 'Hello World (of course)' handlers: - name: print-or-not debug: msg='Message is {{ demo_message }}' - name: start-nginx service: state=started name=nginx sudo: yes - name: stop-nginx service: state=started name=nginx sudo: yes - name: fizz debug: msg='fizz' - name: buzz debug: msg='buzz' tasks: - name: Show off debugging and something special shell: echo "This is a debugging task. What happens when it ends?" notify: - start-nginx - print-or-not - buzz - fizz - stop-nginx
--- - include: demo_playbook_iter_05.yml our_desired_package_name=nginx - hosts: webservers remote_user: ec2-user vars: demo_message: 'Hello World (of course)' handlers: - name: print-or-not debug: msg='Message is {{ demo_message }}' - name: start-nginx service: state=started name=nginx sudo: yes - name: stop-nginx service: state=stopped name=nginx sudo: yes - name: fizz debug: msg='fizz' - name: buzz debug: msg='buzz' tasks: - name: Show something special shell: echo "This is a debugging task. What happens when it ends?" notify: - start-nginx - print-or-not - buzz - fizz - stop-nginx
Update EDS Lite to 2.0.0.237 (237)
Categories: - Security License: GPL-2.0-or-later AuthorName: sovworks AuthorEmail: eds@sovworks.com WebSite: https://sovworks.com/eds/ SourceCode: https://github.com/sovworks/edslite IssueTracker: https://github.com/sovworks/edslite/issues Donate: https://sovworks.com/eds/donations.php Description: | EDS allows you to store your files in an encrypted container. * Supports VeraCrypt(R), TrueCrypt(R), LUKS, EncFs container formats. * Choose among different secure ciphers. * Encrypt/decrypt any kind of file. * All the standard file operations supported. * You can quickly open a folder (or file) inside a container from the Home screen using the shortcut widget. RepoType: git Repo: https://github.com/sovworks/edslite Builds: - versionName: 2.0.0.224 versionCode: 224 commit: release-lite-224 subdir: app gradle: - liteLicCheckNoneNoinetNofsml AutoUpdateMode: Version release-lite-%c UpdateCheckMode: Tags CurrentVersion: 2.0.0.224 CurrentVersionCode: 224
Categories: - Security License: GPL-2.0-or-later AuthorName: sovworks AuthorEmail: eds@sovworks.com WebSite: https://sovworks.com/eds/ SourceCode: https://github.com/sovworks/edslite IssueTracker: https://github.com/sovworks/edslite/issues Donate: https://sovworks.com/eds/donations.php Description: | EDS allows you to store your files in an encrypted container. * Supports VeraCrypt(R), TrueCrypt(R), LUKS, EncFs container formats. * Choose among different secure ciphers. * Encrypt/decrypt any kind of file. * All the standard file operations supported. * You can quickly open a folder (or file) inside a container from the Home screen using the shortcut widget. RepoType: git Repo: https://github.com/sovworks/edslite Builds: - versionName: 2.0.0.224 versionCode: 224 commit: release-lite-224 subdir: app gradle: - liteLicCheckNoneNoinetNofsml - versionName: 2.0.0.237 versionCode: 237 commit: 8a0c0d3e81804d37ff593a26414b7470440b2665 subdir: app gradle: - liteLicCheckNoneNoinetNofsml ndk: r13b AutoUpdateMode: Version release-lite-%c UpdateCheckMode: Tags CurrentVersion: 2.0.0.237 CurrentVersionCode: 237
Update solidnerd/bookstack Docker tag to v22.10.1
version: '2' services: mysql: image: mysql:8.0 environment: - MYSQL_ROOT_PASSWORD=secret - MYSQL_DATABASE=bookstack - MYSQL_USER=bookstack - MYSQL_PASSWORD=secret volumes: - mysql-data:/var/lib/mysql bookstack: image: solidnerd/bookstack:22.04.02 depends_on: - mysql environment: - DB_HOST=mysql:3306 - DB_DATABASE=bookstack - DB_USERNAME=bookstack - DB_PASSWORD=secret #set the APP_ to the URL of bookstack without without a trailing slash APP_URL=https://example.com - APP_URL=http://example.com volumes: - uploads:/var/www/bookstack/public/uploads - storage-uploads:/var/www/bookstack/storage/uploads ports: - "8080:8080" volumes: mysql-data: uploads: storage-uploads:
version: '2' services: mysql: image: mysql:8.0 environment: - MYSQL_ROOT_PASSWORD=secret - MYSQL_DATABASE=bookstack - MYSQL_USER=bookstack - MYSQL_PASSWORD=secret volumes: - mysql-data:/var/lib/mysql bookstack: image: solidnerd/bookstack:22.10.1 depends_on: - mysql environment: - DB_HOST=mysql:3306 - DB_DATABASE=bookstack - DB_USERNAME=bookstack - DB_PASSWORD=secret #set the APP_ to the URL of bookstack without without a trailing slash APP_URL=https://example.com - APP_URL=http://example.com volumes: - uploads:/var/www/bookstack/public/uploads - storage-uploads:/var/www/bookstack/storage/uploads ports: - "8080:8080" volumes: mysql-data: uploads: storage-uploads:
Use Mongoid safe mode in test environment
# This file is overwritten by one in alphagov-deployment at deploy time development: host: localhost database: govuk_content_development persist_in_safe_mode: true use_activesupport_time_zone: true test: host: localhost # Don't want this interfering with a concurrent Panopticon test run database: govuk_content_publisher_test use_activesupport_time_zone: true # set these environment variables on your prod server production: host: <%= ENV['MONGOID_HOST'] %> port: <%= ENV['MONGOID_PORT'] %> username: <%= ENV['MONGOID_USERNAME'] %> password: <%= ENV['MONGOID_PASSWORD'] %> database: <%= ENV['MONGOID_DATABASE'] %> use_activesupport_time_zone: true # slaves: # - host: slave1.local # port: 27018 # - host: slave2.local # port: 27019
# This file is overwritten by one in alphagov-deployment at deploy time development: host: localhost database: govuk_content_development persist_in_safe_mode: true use_activesupport_time_zone: true test: host: localhost # Don't want this interfering with a concurrent Panopticon test run database: govuk_content_publisher_test use_activesupport_time_zone: true persist_in_safe_mode: true # set these environment variables on your prod server production: host: <%= ENV['MONGOID_HOST'] %> port: <%= ENV['MONGOID_PORT'] %> username: <%= ENV['MONGOID_USERNAME'] %> password: <%= ENV['MONGOID_PASSWORD'] %> database: <%= ENV['MONGOID_DATABASE'] %> use_activesupport_time_zone: true # slaves: # - host: slave1.local # port: 27018 # - host: slave2.local # port: 27019
Reduce the memory scaling coefficient to 0.85
# Autoscaling settings autoscaling_buffer_pools: "worker" autoscaling_buffer_cpu_scale: "1" autoscaling_buffer_memory_scale: "0.9" autoscaling_buffer_cpu_reserved: "1" autoscaling_buffer_memory_reserved: "1500Mi" {{if eq .Environment "production"}} autoscaling_buffer_pods: "3" {{else}} autoscaling_buffer_pods: "0" {{end}}
# Autoscaling settings autoscaling_buffer_pools: "worker" autoscaling_buffer_cpu_scale: "1" autoscaling_buffer_memory_scale: "0.85" autoscaling_buffer_cpu_reserved: "1" autoscaling_buffer_memory_reserved: "1500Mi" {{if eq .Environment "production"}} autoscaling_buffer_pods: "3" {{else}} autoscaling_buffer_pods: "0" {{end}}
Fix a typo in comment.
# google group for gcr.io/k8s-staging-cluster-api-azure is k8s-infra-staging-cluster-api-azure@kubernetes.io registries: - name: gcr.io/k8s-staging-provider-azure src: true - name: us.gcr.io/k8s-artifacts-prod/provider-azure service-account: k8s-infra-gcr-promoter@k8s-artifacts-prod.iam.gserviceaccount.com - name: eu.gcr.io/k8s-artifacts-prod/provider-azure service-account: k8s-infra-gcr-promoter@k8s-artifacts-prod.iam.gserviceaccount.com - name: asia.gcr.io/k8s-artifacts-prod/provider-azure service-account: k8s-infra-gcr-promoter@k8s-artifacts-prod.iam.gserviceaccount.com imagesPath: "../../images/k8s-staging-provider-azure/images.yaml"
# google group for gcr.io/k8s-staging-provider-azure is k8s-infra-staging-provider-azure@kubernetes.io registries: - name: gcr.io/k8s-staging-provider-azure src: true - name: us.gcr.io/k8s-artifacts-prod/provider-azure service-account: k8s-infra-gcr-promoter@k8s-artifacts-prod.iam.gserviceaccount.com - name: eu.gcr.io/k8s-artifacts-prod/provider-azure service-account: k8s-infra-gcr-promoter@k8s-artifacts-prod.iam.gserviceaccount.com - name: asia.gcr.io/k8s-artifacts-prod/provider-azure service-account: k8s-infra-gcr-promoter@k8s-artifacts-prod.iam.gserviceaccount.com imagesPath: "../../images/k8s-staging-provider-azure/images.yaml"
Change Lint WF to manual execution only
name: CI on: workflow_dispatch: push: branches: [master] jobs: build: runs-on: ubuntu-latest timeout-minutes: 15 steps: - uses: actions/checkout@v2.3.3 - name: Set up Python 3.7 uses: actions/setup-python@v2 with: python-version: 3.7 - name: Install dependencies run: | python -m pip install --upgrade pip pip install moban pip install xattr - name: Sync GitHub's master template repository of templates run: .github/scripts/sync-github.sh - name: Run moban then lint templates for white space run: | moban .github/scripts/check-whitespace.sh - name: Create branch run: | git config user.name github-actions git config user.email github-actions@github.com git checkout -b sync_github git add . git commit -m "Sync Templates with Github" git push -f origin sync_github # Creates a PR with the new combined branch - uses: actions/github-script@v3 name: Create Pull Request with: github-token: ${{secrets.GITHUB_TOKEN}} script: | await github.pulls.create({ owner: context.repo.owner, repo: context.repo.repo, title: 'Sync Github', head: 'sync_github', base: 'master', body: 'This PR was created by the CI Github action fetching updates from Github' });
name: CI on: workflow_dispatch: jobs: build: runs-on: ubuntu-latest timeout-minutes: 15 steps: - uses: actions/checkout@v2.3.3 - name: Set up Python 3.7 uses: actions/setup-python@v2 with: python-version: 3.7 - name: Install dependencies run: | python -m pip install --upgrade pip pip install moban pip install xattr - name: Sync GitHub's master template repository of templates run: .github/scripts/sync-github.sh - name: Run moban then lint templates for white space run: | moban .github/scripts/check-whitespace.sh - name: Create branch run: | git config user.name github-actions git config user.email github-actions@github.com git checkout -b sync_github git add . git commit -m "Sync Templates with Github" git push -f origin sync_github # Creates a PR with the new combined branch - uses: actions/github-script@v3 name: Create Pull Request with: github-token: ${{secrets.GITHUB_TOKEN}} script: | await github.pulls.create({ owner: context.repo.owner, repo: context.repo.repo, title: 'Sync Github', head: 'sync_github', base: 'master', body: 'This PR was created by the CI Github action fetching updates from Github' });
Add postgres to test environment
name: Check pull request on: - pull_request jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: 3.0 bundler-cache: true - name: Install dependencies run: bundle install - name: Run tests run: bundle exec rake
name: Check pull request on: - pull_request jobs: test: runs-on: ubuntu-latest services: postgres: image: postgres env: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: postgres options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 ports: - 5432:5432 steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: 3.0 bundler-cache: true - name: Install PostgreSQL client run: sudo apt-get -yqq install libpq-dev - name: Run tests run: bundle exec rake
Set proper style for defaults file
transmission_user: "{{ ansible_user_id }}" transmission_passwd: yourTransmissionPassword transmission_rpc_auth_enabled: true transmission_rpc_whitelist_enabled: true transmission_rpc_whitelist: 127.0.0.1 transmission_umask: 2 transmission_download_dir: "{{ ansible_env.HOME }}/downloads" transmission_incomplete_dir_enabled: false transmission_incomplete_dir: "{{ ansible_env.HOME }}/.incomplete" transmission_watch_dir_enabled: true transmission_watch_dir: "{{ ansible_env.HOME }}/torrents"
--- transmission_user: "{{ ansible_user_id }}" transmission_passwd: yourTransmissionPassword transmission_rpc_auth_enabled: true transmission_rpc_whitelist_enabled: true transmission_rpc_whitelist: 127.0.0.1 transmission_umask: 2 transmission_download_dir: "{{ ansible_env.HOME }}/downloads" transmission_incomplete_dir_enabled: false transmission_incomplete_dir: "{{ ansible_env.HOME }}/.incomplete" transmission_watch_dir_enabled: true transmission_watch_dir: "{{ ansible_env.HOME }}/torrents"
Test building for Python 3.10
name: Build Python package on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [3.6, 3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - run: | sudo apt update sudo apt install swig pip install networkx pandas flake8 autopep8 - run: make python - run: make py-test
name: Build Python package on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [3.6, 3.7, 3.8, 3.9, "3.10"] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - run: | sudo apt update sudo apt install swig pip install networkx pandas flake8 autopep8 - run: make python - run: make py-test
Fix Deprecation with Symfony Yaml Component v3.2+
parameters: memcache.data_collector.class: Lsw\MemcacheBundle\DataCollector\MemcacheDataCollector memcache.data_collector.template: "LswMemcacheBundle:Collector:memcache" services: memcache.data_collector: class: "%memcache.data_collector.class%" tags: - { name: data_collector, template: "%memcache.data_collector.template%", id:"memcache"}
parameters: memcache.data_collector.class: Lsw\MemcacheBundle\DataCollector\MemcacheDataCollector memcache.data_collector.template: "LswMemcacheBundle:Collector:memcache" services: memcache.data_collector: class: "%memcache.data_collector.class%" tags: - { name: data_collector, template: "%memcache.data_collector.template%", id: "memcache" }
Update Weather to 2.10 (26)
AntiFeatures: - NonFreeNet Categories: - Internet License: GPL-2.0-only WebSite: https://gitlab.com/BeowuIf/weather SourceCode: https://gitlab.com/BeowuIf/weather/tree/HEAD IssueTracker: https://gitlab.com/BeowuIf/weather/issues Changelog: https://gitlab.com/BeowuIf/weather/-/blob/HEAD/CHANGELOG AutoName: Weather RepoType: git Repo: https://gitlab.com/BeowuIf/weather.git Builds: - versionName: '2.01' versionCode: 22 commit: '2.01' subdir: app gradle: - yes - versionName: '2.02' versionCode: 23 commit: '2.02' subdir: app gradle: - yes - versionName: '2.03' versionCode: 24 commit: '2.03' subdir: app gradle: - yes - versionName: '2.04' versionCode: 25 commit: '2.04' subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: '2.04' CurrentVersionCode: 25
AntiFeatures: - NonFreeNet Categories: - Internet License: GPL-2.0-only WebSite: https://gitlab.com/BeowuIf/weather SourceCode: https://gitlab.com/BeowuIf/weather/tree/HEAD IssueTracker: https://gitlab.com/BeowuIf/weather/issues Changelog: https://gitlab.com/BeowuIf/weather/-/blob/HEAD/CHANGELOG AutoName: Weather RepoType: git Repo: https://gitlab.com/BeowuIf/weather.git Builds: - versionName: '2.01' versionCode: 22 commit: '2.01' subdir: app gradle: - yes - versionName: '2.02' versionCode: 23 commit: '2.02' subdir: app gradle: - yes - versionName: '2.03' versionCode: 24 commit: '2.03' subdir: app gradle: - yes - versionName: '2.04' versionCode: 25 commit: '2.04' subdir: app gradle: - yes - versionName: '2.10' versionCode: 26 commit: '2.10' subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: '2.10' CurrentVersionCode: 26
Update Easy WaterMark to 2.0.0 (20000)
Categories: - Multimedia License: MIT AuthorName: rosuH AuthorEmail: rosuh@qq.com AuthorWebSite: https://rosuh.me/ SourceCode: https://github.com/rosuH/EasyWatermark IssueTracker: https://github.com/rosuH/EasyWatermark/issues AutoName: 简单水印 RepoType: git Repo: https://github.com/rosuH/EasyWatermark Builds: - versionName: '1.0' versionCode: 3 commit: '1.0' subdir: app gradle: - yes - versionName: 1.1.2 versionCode: 10102 commit: 1.1.2 subdir: app gradle: - others AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: '1.0' CurrentVersionCode: 3
Categories: - Multimedia License: MIT AuthorName: rosuH AuthorEmail: rosuh@qq.com AuthorWebSite: https://rosuh.me/ SourceCode: https://github.com/rosuH/EasyWatermark IssueTracker: https://github.com/rosuH/EasyWatermark/issues AutoName: Easy WaterMark RepoType: git Repo: https://github.com/rosuH/EasyWatermark Builds: - versionName: '1.0' versionCode: 3 commit: '1.0' subdir: app gradle: - yes - versionName: 1.1.2 versionCode: 10102 commit: 1.1.2 subdir: app gradle: - others - versionName: 2.0.0 versionCode: 20000 commit: 2.0.0 subdir: app gradle: - others AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 2.0.0 CurrentVersionCode: 20000
Remove output of vim plugin installation
--- - defaults: link: create: true relink: true - clean: ['~'] - shell: - [sh pre-install.sh, Running pre installation script] - link: ~/.dotfiles: '' ~/.vimrc: vimrc ~/.vimrc.bundles: vim/bundle.vim ~/.vimrc.map: vim/map.vim ~/.zshrc: force: true path: zshrc ~/.zsh: zsh ~/.p10k.zsh: zsh/configs/p10k.zsh ~/.gitconfig: gitconfig - shell: - [git submodule update --init --recursive, Installing submodules] - command: vim -u ~/.vimrc.bundles +PluginInstall +qall stdin: true stdout: true stderr: true description: Installing vim plugins
--- - defaults: link: create: true relink: true - clean: ['~'] - shell: - [sh pre-install.sh, Running pre installation script] - link: ~/.dotfiles: '' ~/.vimrc: vimrc ~/.vimrc.bundles: vim/bundle.vim ~/.vimrc.map: vim/map.vim ~/.zshrc: force: true path: zshrc ~/.zsh: zsh ~/.p10k.zsh: zsh/configs/p10k.zsh ~/.gitconfig: gitconfig - shell: - [git submodule update --init --recursive, Installing submodules] - command: vim -u ~/.vimrc.bundles +PluginInstall +qall description: Installing vim plugins
Remove comments from Ansible shell provisioner as it removes newlines(!).
- name: Install MySQL apt: name={{ item }} state=present update_cache=true cache_valid_time=3600 with_items: - mysql-server - name: Generate MySQL config template: src=templates/mysql.cnf.j2 dest=/etc/mysql/conf.d/mysql.cnf register: updated_config - name: (re)Start MySQL service: name=mysql enabled=yes state={{ 'restarted' if updated_config.changed else 'running' }} - name: Create MySQL user shell: > # Check for the user (echo "SELECT user, host FROM mysql.user;" | mysql | grep {{ mysql_database_user }}) || # If not present, create (echo "CREATE USER '{{ mysql_database_user }}'@'localhost' IDENTIFIED BY '{{ mysql_database_user_password }}';" | mysql) - name: Generate new database script template: src=templates/create_new_database.sh.j2 dest={{ mysql_new_database_script }} mode=777 - name: Create new MySQL database shell: sh {{ mysql_new_database_script }} - name: Remove new database script file: path={{ mysql_new_database_script }} state=absent when: mysql_new_database_script == '/home/{{ ansible_ssh_user }}/_create_database.sh'
- name: Install MySQL apt: name={{ item }} state=present update_cache=true cache_valid_time=3600 with_items: - mysql-server - name: Generate MySQL config template: src=templates/mysql.cnf.j2 dest=/etc/mysql/conf.d/mysql.cnf register: updated_config - name: (re)Start MySQL service: name=mysql enabled=yes state={{ 'restarted' if updated_config.changed else 'running' }} - name: Ensure MySQL user exists shell: > (echo "SELECT user, host FROM mysql.user;" | mysql | grep {{ mysql_database_user }}) || (echo "CREATE USER '{{ mysql_database_user }}'@'localhost' IDENTIFIED BY '{{ mysql_database_user_password }}';" | mysql) - name: Generate new database script template: src=templates/create_new_database.sh.j2 dest={{ mysql_new_database_script }} mode=777 - name: Ensure MySQL database exists shell: > (echo "SHOW DATABASES;" | mysql | grep {{ mysql_database_name }}) || sh {{ mysql_new_database_script }} - name: Remove new database script file: path={{ mysql_new_database_script }} state=absent when: mysql_new_database_script == '/home/{{ ansible_ssh_user }}/_create_database.sh'
Change include condition for RHEL os family.
--- - include: debian.yml when: ansible_distribution == "Debian" or ansible_distribution == "Ubuntu" - include: centos.yml when: (ansible_distribution == "CentOS" or ansible_distribution == "Red Hat Enterprise Linux" or ansible_pkg_mgr == "yum") and ansible_distribution != "Amazon" - include: amazonlinux.yml when: ansible_distribution == "Amazon" - name: check config directory stat: path: "{{ prefix_dir }}/etc/mackerel-agent" register: config_directory - name: create config directory file: path: "{{ prefix_dir }}/etc/mackerel-agent" state: directory mode: 0755 when: config_directory.stat.exists == false - name: update config template: src: mackerel-agent.conf.j2 dest: "{{ prefix_dir }}/etc/mackerel-agent/mackerel-agent.conf" notify: restart mackerel-agent - name: start mackerel-agent service: name: mackerel-agent state: started when: mackerel_agent_start_on_setup ignore_errors: "{{ ansible_check_mode }}"
--- - include: debian.yml when: ansible_distribution == "Debian" or ansible_distribution == "Ubuntu" - include: centos.yml when: ansible_os_family == "RedHat" and ansible_distribution != "Amazon" - include: amazonlinux.yml when: ansible_distribution == "Amazon" - name: check config directory stat: path: "{{ prefix_dir }}/etc/mackerel-agent" register: config_directory - name: create config directory file: path: "{{ prefix_dir }}/etc/mackerel-agent" state: directory mode: 0755 when: config_directory.stat.exists == false - name: update config template: src: mackerel-agent.conf.j2 dest: "{{ prefix_dir }}/etc/mackerel-agent/mackerel-agent.conf" notify: restart mackerel-agent - name: start mackerel-agent service: name: mackerel-agent state: started when: mackerel_agent_start_on_setup ignore_errors: "{{ ansible_check_mode }}"
Use container-based infrastructure, and turn on caching
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.1 services: - mongodb
sudo: false language: ruby cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1.1 services: - mongodb
Update build script for Travis CI
language: csharp solution: "./Extension Library/Extension Library.sln" mono: - latest # install: # - nuget restore "./Extension Library/Extension Library.sln" # - nuget install xunit.runners -Version 1.9.2 -OutputDirectory testrunner # script: # - xbuild /p:Configuration=Release '.\Extension Library\Extension Library.sln' # - mono ./testrunner/xunit.runners.1.9.2/tools/xunit.console.clr4.exe ./Extension-Library.Tests/bin/Release/MyProject.Tests.dll branches: only: - master
language: csharp solution: "./Extension Library/Extension Library.sln" # install: # - nuget restore "./Extension Library/Extension Library.sln" # - nuget install xunit.runners -Version 1.9.2 -OutputDirectory testrunner # script: # - xbuild /p:Configuration=Release '.\Extension Library\Extension Library.sln' # - mono ./testrunner/xunit.runners.1.9.2/tools/xunit.console.clr4.exe ./Extension-Library.Tests/bin/Release/MyProject.Tests.dll branches: only: - master
Fix Travis to Xcode 7
osx_image: xcode6.4 language: objective-c xcode_project: iOS-Swift-TableView-CoreData-Example.xcodeproj xcode_scheme: iOS-Swift-TableView-CoreData-Example xcode_sdk: iphonesimulator8.4
osx_image: xcode7 language: objective-c xcode_project: iOS-Swift-TableView-CoreData-Example.xcodeproj xcode_scheme: iOS-Swift-TableView-CoreData-Example xcode_sdk: iphonesimulator9.0
Move upload to script to alert on upload failures
language: python python: # We don't actually use the Travis Python, but this keeps it organized. - "3.5" # - "3.6" install: - source libs/travis-conda-scripts/scripts/config.sh - bash -ex libs/travis-conda-scripts/scripts/travis_install.sh script: - source libs/travis-conda-scripts/scripts/config.sh - bash -ex libs/travis-conda-scripts/scripts/build.sh - bash -ex libs/travis-conda-scripts/scripts/install_package.sh exdir - bash -ex libs/travis-conda-scripts/scripts/doctest.sh after_success: - source libs/travis-conda-scripts/scripts/config.sh - bash -ex libs/travis-conda-scripts/scripts/upload.sh deploy: skip_cleanup: true
language: python python: # We don't actually use the Travis Python, but this keeps it organized. - "3.5" # - "3.6" install: - source libs/travis-conda-scripts/scripts/config.sh - bash -ex libs/travis-conda-scripts/scripts/travis_install.sh script: - source libs/travis-conda-scripts/scripts/config.sh - bash -ex libs/travis-conda-scripts/scripts/build.sh - bash -ex libs/travis-conda-scripts/scripts/install_package.sh exdir - bash -ex libs/travis-conda-scripts/scripts/doctest.sh - bash -ex libs/travis-conda-scripts/scripts/upload.sh deploy: skip_cleanup: true
Add Slack notification to Travis
language: python python: - '2.7' - '3.4' addons: postgresql: "9.3" env: - SPANDEX_CFG=config/example.cfg before_install: - > if [[ "$TRAVIS_PYTHON_VERSION" == '2.7' ]]; then wget http://repo.continuum.io/miniconda/Miniconda-3.7.0-Linux-x86_64.sh -O miniconda.sh else wget http://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O miniconda.sh fi - chmod +x miniconda.sh - ./miniconda.sh -b -p "$HOME/miniconda" - export PATH="$HOME/miniconda/bin:$PATH" - conda config --set always_yes yes --set changeps1 no - conda update -q conda - conda info -a - conda install -q coverage gdal flake8 numpy pandas pip pytest sqlalchemy six - pip install pytest-cov install: - pip install . before_script: - psql -U postgres -c 'CREATE DATABASE sample;' script: - py.test --cov "$HOME/miniconda/lib/python2.7/site-packages/spandex" --cov-report term-missing - flake8 spandex
language: python python: - '2.7' - '3.4' addons: postgresql: "9.3" env: - SPANDEX_CFG=config/example.cfg before_install: - > if [[ "$TRAVIS_PYTHON_VERSION" == '2.7' ]]; then wget http://repo.continuum.io/miniconda/Miniconda-3.7.0-Linux-x86_64.sh -O miniconda.sh else wget http://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O miniconda.sh fi - chmod +x miniconda.sh - ./miniconda.sh -b -p "$HOME/miniconda" - export PATH="$HOME/miniconda/bin:$PATH" - conda config --set always_yes yes --set changeps1 no - conda update -q conda - conda info -a - conda install -q coverage gdal flake8 numpy pandas pip pytest sqlalchemy six - pip install pytest-cov install: - pip install . before_script: - psql -U postgres -c 'CREATE DATABASE sample;' script: - py.test --cov "$HOME/miniconda/lib/python2.7/site-packages/spandex" --cov-report term-missing - flake8 spandex notifications: slack: secure: ia48o+o3Cdm7SznMqfpMCtFJXxK6/LUv2LYfTGkAyRaaI1WWqRJPo4RIn+oSCr8gO6gLHMfF7+8WOf87THsd8STUsc1koitZRZ4/uxZmfQ4tSzS17IjUgV7k//kvpvl0wn80tySUuLwfx4lLf6hczJ9L0THvfmVhY1k6FLJYcAM=
Add additional MRI versions for testing
language: ruby cache: bundler rvm: - 1.9.3-p551
language: ruby cache: bundler rvm: - 1.9.3-p551 - 2.0.0-p645 - 2.1.6 - 2.2.2
Add NPM deployment to TravisCI setup
language: node_js node_js: - node cache: directories: - node_modules
language: node_js node_js: - node cache: directories: - node_modules deploy: provider: npm email: misha@ginkgobioworks.com api_key: secure: RaHu9nAQUkPyp6LZ2mEvD5zbdXeHIZrP20iTT4N5kl3kB8BmXQBVphJ4rkcmdRYT13JZIlXzIvqWE8QdK+PmapOIWaGJ4t5XQ0Hjrqm5iUutDzvkypKBl6R44SlhIAp4KwWbEHeDkVZnhHZFirhgJMADbROBvBxTYAORab2zMmWWP1QbtLNjZ0RA1GPfM4KA+XVQsNwKTvlVZDQN8pptVsxfLI+MpDkGiZbq2zs0m5MUzMRVit2yN+HbSKCZRNU46cVFkA0SaDKTShHbydFvFLCgIQrOei+GzLu0PQXyjFLyz+lgkEdRgEp6bjC+ZrpU3vDKMnzo0pucpa8LTfUFxua/OLV6MVBcjB6/BeifMyd9R9yDfZcxlePSwyiiwWdR79bWnQckrN+jf5RaUk03GVmn6oo2zXK8kFZKIQw9rYfBKyisN5I9apqEyOmGQU7Uk6oqcUU8rYAsSp+8FQ9pcPXd2PXj9HkjzakGPWutHlb+5EKRy2pjX/G2EuJUhVzs4f3TPuAEfNnG/mz5TaMU7T1XpaZ0NQ5yTgr0NRNt2lgLV5Zej6sqkE3evMEGwtC1GSkbWO3kaigBVDi3Ys09fOUzRBZebaO63exzwqVKA15D4gAsaNoReh9eelhOix4PYvlnb4huxgy1Jf5SuNSjHblAm8I2UoTAl4MRle940fQ= on: tags: true repo: ginkgobioworks/curious-js branch: v2
Fix :script key (to match code rather than online docs).
language: scala scala: - 2.9.2 script: "sbt ++$SCALA_VERSION assembly"
language: scala scala: - 2.9.2 script: "sbt ++$TRAVIS_SCALA_VERSION assembly"
Clean up Travis CI config
sudo: false language: node_js node_js: - "6" - "4" - "0.12"
language: node_js node_js: - "6" - "4" - "0.12"
Update to shorter upload command
language: java jdk: - oraclejdk8 cache: directories: - $HOME/.m2 notifications: email: recipients: - akamen@blackducksoftware.com - jrichard@blackducksoftware.com - psantos@blackducksoftware.com - ekerwin@blackducksoftware.com install: true script: - mvn clean package after_success: - mvn jacoco:report coveralls:report - mvn com.blackducksoftware.integration:hub-maven-plugin:2.0.0:build-bom -Dhub.output.directory=. -Dhub.deploy.bdio=false - bash <(curl -s https://copilot.blackducksoftware.com/bash/travis) ./*_bdio.jsonld
language: java jdk: - oraclejdk8 cache: directories: - $HOME/.m2 notifications: email: recipients: - akamen@blackducksoftware.com - jrichard@blackducksoftware.com - psantos@blackducksoftware.com - ekerwin@blackducksoftware.com install: true script: - mvn clean package after_success: - mvn jacoco:report coveralls:report - bash <(curl -s https://copilot.blackducksoftware.com/ci/travis/scripts/upload)
Add "npm-check-updates" package for canary build
language: node_js node_js: - '0.12' - '4.0' before_script: - 'export CHROME_BIN=chromium-browser' - 'export DISPLAY=:99.0' - 'sh -e /etc/init.d/xvfb start' - 'npm install -g bower karma gulp jshint' - 'npm install' - 'bower install' after_script: - 'gulp'
language: node_js node_js: - '0.12' - '4.0' before_script: - 'export CHROME_BIN=chromium-browser' - 'export DISPLAY=:99.0' - 'sh -e /etc/init.d/xvfb start' - 'npm install -g bower karma gulp jshint npm-check-updates' - 'ncu -u' - 'ncu -m bower -u' - 'npm install' - 'bower install' after_script: - 'gulp'
Update Travis file with Ruby and Sass info
language: node_js node_js: - 0.8
language: node_js node_js: - 0.8 language: ruby rvm: - 1.8.7 install: - gem update --system - gem install sass
Remove uneeded osx build step
os: - linux - osx matrix: allow_failures: - os: osx language: go sudo: required services: - docker go: - 1.6 - 1.5 install: - go get -v golang.org/x/exp/ebnf - make build script: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls - go get github.com/golang/lint/golint - go get golang.org/x/tools/cmd/cover - make test # - goveralls -coverprofile=coverage.txt -service=travis-ci before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo pip install codecov ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pip install codecov; fi after_success: codecov notifications: email: - tiago.natel@neoway.com.br
os: - linux - osx matrix: allow_failures: - os: osx language: go sudo: required services: - docker go: - 1.6 - 1.5 install: - go get -v golang.org/x/exp/ebnf - make build script: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls - go get github.com/golang/lint/golint - go get golang.org/x/tools/cmd/cover - make test # - goveralls -coverprofile=coverage.txt -service=travis-ci before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi - sudo pip install codecov after_success: codecov notifications: email: - tiago.natel@neoway.com.br
Set up also Apple Mac OS X for testing this project on multiple operating systems (OS)
sudo: required os: - linux language: node_js node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10" - "iojs" before_install: - "curl -L http://git.io/ejPSng | /bin/sh" services: - mongodb
sudo: required os: - linux - osx language: node_js node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10" - "iojs" before_install: - "curl -L http://git.io/ejPSng | /bin/sh" services: - mongodb
Print result CSV in Travis
#Python Automated Tests language: python python: - "2.7" - "pypy" install: - "pip install apscheduler pyzmq" script: - python ci/scripts/testserver.py & - python 0-meter.py config.xml - cat hello_world.log - python 0-meter.py ci/ping.xml - cat ping.log - python 0-meter.py ci/csv_test.xml - cat csv_test.log
#Python Automated Tests language: python python: - "2.7" - "pypy" install: - "pip install apscheduler pyzmq" script: - python ci/scripts/testserver.py & - python 0-meter.py config.xml - cat hello_world.log - python 0-meter.py ci/ping.xml - cat ping.log - cat thanks.csv - python 0-meter.py ci/csv_test.xml - cat csv_test.log
Test Python 3.5 on Travis
# Config file for automatic testing at travis-ci.org language: python python: - "3.4" - "2.7" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install -r requirements.txt # command to run tests, e.g. python setup.py test script: python setup.py test
language: python python: - "3.5" - "3.4" - "2.7" script: python setup.py test sudo: false
Use the new build env on Travis.
language: ruby before_script: - sh -e /etc/init.d/xvfb start - export DISPLAY=:99.0 - bundle exec rake test_app script: - bundle exec rspec spec rvm: - 1.9.3 - 2.0.0 - 2.1.5
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.5 sudo: false before_script: - sh -e /etc/init.d/xvfb start - export DISPLAY=:99.0 - bundle exec rake test_app script: - bundle exec rspec spec
Stop trying to build on rbx-head
language: ruby rvm: - jruby-18mode - jruby-19mode - jruby-head - rbx-18mode - rbx-19mode - rbx-head - ree - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - ruby-head matrix: allow_failures: - rvm: jruby-18mode - rvm: jruby-head - rvm: rbx-18mode - rvm: rbx-head - rvm: ree - rvm: 1.8.7 - rvm: ruby-head notifications: email: - dendoh@gmail.com
language: ruby rvm: - jruby-18mode - jruby-19mode - jruby-head - rbx-18mode - rbx-19mode - ree - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - ruby-head matrix: allow_failures: - rvm: jruby-18mode - rvm: jruby-head - rvm: rbx-18mode - rvm: ree - rvm: 1.8.7 - rvm: ruby-head notifications: email: - dendoh@gmail.com
Use --prefer-dist with Composer for Travis tests
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm before_install: - sudo apt-get update && sudo apt-get install uuid-dev before_script: - travis_retry composer self-update - travis_retry composer install --no-interaction --prefer-source - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then printf "\n" | pecl install uuid; fi;' - phpenv rehash script: - mkdir -p build/logs - ./vendor/bin/parallel-lint src tests - ./vendor/bin/phpunit --coverage-text - ./vendor/bin/phpcs src --standard=psr2 -sp after_script: - php vendor/bin/coveralls notifications: webhooks: urls: - 'https://webhooks.gitter.im/e/f3356db3405001e47b5e' on_success: change on_failure: always on_start: false
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm before_install: - sudo apt-get update && sudo apt-get install uuid-dev before_script: - travis_retry composer self-update - travis_retry composer install --no-interaction --prefer-dist - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then printf "\n" | pecl install uuid; fi;' - phpenv rehash script: - mkdir -p build/logs - ./vendor/bin/parallel-lint src tests - ./vendor/bin/phpunit --coverage-text - ./vendor/bin/phpcs src --standard=psr2 -sp after_script: - php vendor/bin/coveralls notifications: webhooks: urls: - 'https://webhooks.gitter.im/e/f3356db3405001e47b5e' on_success: change on_failure: always on_start: false
Allow failures for php 7.2
sudo: false language: php php: - 7.2 - 7.1 - 7.0 - 5.6 - 5.5 - hhvm matrix: allow_failures: - php: hhvm before_install: - composer selfupdate install: - composer install after_script: - CODECLIMATE_REPO_TOKEN=badc29b931533dd8efb832ffff7bf8dbc31486290ae3b1c81d38fa677795ffaf ./vendor/bin/test-reporter
sudo: false language: php php: - 7.2 - 7.1 - 7.0 - 5.6 - 5.5 - hhvm matrix: allow_failures: - 7.2 - php: hhvm before_install: - composer selfupdate install: - composer install after_script: - CODECLIMATE_REPO_TOKEN=badc29b931533dd8efb832ffff7bf8dbc31486290ae3b1c81d38fa677795ffaf ./vendor/bin/test-reporter
Support Rails 4 on the master branch
rvm: - 1.9.3 - 2.0.0 env: - RAILS=3-2-stable DB=sqlite - RAILS=3-2-stable DB=mysql - RAILS=3-2-stable DB=postgres - RAILS=3-1-stable DB=sqlite - RAILS=3-1-stable DB=mysql - RAILS=3-1-stable DB=postgres - RAILS=3-0-stable DB=sqlite - RAILS=3-0-stable DB=mysql - RAILS=3-0-stable DB=postgres before_script: - mysql -e 'create database ransack;' - psql -c 'create database ransack;' -U postgres
rvm: - 1.9.3 - 2.0.0 env: - RAILS=4-0-stable DB=sqlite - RAILS=4-0-stable DB=mysql - RAILS=4-0-stable DB=postgres - RAILS=3-2-stable DB=sqlite - RAILS=3-2-stable DB=mysql - RAILS=3-2-stable DB=postgres - RAILS=3-1-stable DB=sqlite - RAILS=3-1-stable DB=mysql - RAILS=3-1-stable DB=postgres - RAILS=3-0-stable DB=sqlite - RAILS=3-0-stable DB=mysql - RAILS=3-0-stable DB=postgres before_script: - mysql -e 'create database ransack;' - psql -c 'create database ransack;' -U postgres
Fix Travis PHP 7 and HHVM builds.
language: php php: - 5.2 - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm script: - phpunit sudo: false
language: php sudo: false matrix: include: - php: 5.2 - php: 5.3 - php: 5.4 - php: 5.5 - php: 5.6 - php: 7.0 - php: 7.1 - php: hhvm dist: trusty script: vendor/bin/phpunit --verbose
Use Travis CI's new Docker infra
language: python matrix: include: - python: 2.6 env: TOXENV=py26 - python: 2.7 env: TOXENV=py27 - python: 3.2 env: TOXENV=py32 - python: 3.3 env: TOXENV=py33 - python: 3.4 env: TOXENV=py34 - python: 3.5 env: TOXENV=py35 - env: TOXENV=pep8 install: - pip install tox script: - tox notifications: on_success: change on_failure: change irc: channels: - "irc.freenode.org#github3.py" user_notice: true skip_join: true
language: python sudo: false matrix: include: - python: 2.6 env: TOXENV=py26 - python: 2.7 env: TOXENV=py27 - python: 3.2 env: TOXENV=py32 - python: 3.3 env: TOXENV=py33 - python: 3.4 env: TOXENV=py34 - python: 3.5 env: TOXENV=py35 - env: TOXENV=pep8 install: - pip install tox script: - tox notifications: on_success: change on_failure: change irc: channels: - "irc.freenode.org#github3.py" user_notice: true skip_join: true
Remove node.js 0.10 from CI
sudo: false language: node_js node_js: - iojs - "0.12" - "0.10"
sudo: false language: node_js node_js: - iojs - "0.12"
Add Campfire notifications for Travis CI
language: ruby rvm: - "1.9.3" script: bundle exec rspec spec
language: ruby rvm: - 1.9.3 script: bundle exec rspec spec notifications: campfire: rooms: secure: UwsCEilVpBakyB+/A84lOS0Gp7KsNEZOGOXdWuS4M0L2BtmHYEYzO5DM3KrQuBmeCPoBQKfZRGGmAAXoHIinD+ziRczfknzL8lesAFcEVLs9ZMwtTdkk3FyCyOWcNu+Q6Iw5s9bz8Jpuz9u2iIC1knyAePhWSH76zg9R0DZrYmI=
Allow failures on rbx-2 ;(
language: ruby sudo: false cache: bundler bundler_args: --without console script: - bundle exec rake spec rvm: - 2.0 - 2.1 - 2.2 - rbx-2 - jruby-9000 - ruby-head - jruby-head env: global: - JRUBY_OPTS='--dev -J-Xmx1024M' matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: jruby-9000 notifications: email: false webhooks: urls: - https://webhooks.gitter.im/e/19098b4253a72c9796db on_success: change # options: [always|never|change] default: always on_failure: always # options: [always|never|change] default: always on_start: false # default: false
language: ruby sudo: false cache: bundler bundler_args: --without console script: - bundle exec rake spec rvm: - 2.0 - 2.1 - 2.2 - rbx-2 - jruby-9000 - ruby-head - jruby-head env: global: - JRUBY_OPTS='--dev -J-Xmx1024M' matrix: allow_failures: - rvm: rbx-2 - rvm: ruby-head - rvm: jruby-head - rvm: jruby-9000 notifications: email: false webhooks: urls: - https://webhooks.gitter.im/e/19098b4253a72c9796db on_success: change # options: [always|never|change] default: always on_failure: always # options: [always|never|change] default: always on_start: false # default: false
Test ruby 2.1.5 as it is the latest in the 2.1 line.
language: ruby sudo: false cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1.2 - rbx-2 - ruby-head before_script: - RAILS_ENV=test bundle exec rake db:schema:load script: - bundle exec rake test matrix: allow_failures: - rvm: rbx-2 - rvm: ruby-head
language: ruby sudo: false cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1.5 - rbx-2 - ruby-head before_script: - RAILS_ENV=test bundle exec rake db:schema:load script: - bundle exec rake test matrix: allow_failures: - rvm: rbx-2 - rvm: ruby-head
Update yarn orb to v1.1.0
version: 2.1 orbs: yarn: artsy/yarn@1.0.1 workflows: build_and_verify: jobs: - yarn/workflow-queue - yarn/update-cache: requires: - yarn/workflow-queue - yarn/relay: requires: - yarn/workflow-queue - yarn/lint: requires: - yarn/workflow-queue - yarn/type-check: requires: - yarn/workflow-queue - yarn/jest: args: --runInBand requires: - yarn/workflow-queue - yarn/auto-release: # The deploy job is the _only_ job that should have access to our npm # tokens. We include a context that has our publish credentials # explicitly in this step. https://circleci.com/docs/2.0/contexts/ context: npm-deploy filters: branches: only: - master requires: - yarn/jest - yarn/relay - yarn/lint - yarn/type-check - yarn/update-cache
version: 2.1 orbs: yarn: artsy/yarn@1.1.0 workflows: build_and_verify: jobs: - yarn/workflow-queue - yarn/update-cache: requires: - yarn/workflow-queue - yarn/relay: requires: - yarn/workflow-queue - yarn/lint: requires: - yarn/workflow-queue - yarn/type-check: requires: - yarn/workflow-queue - yarn/jest: args: --runInBand requires: - yarn/workflow-queue - yarn/auto-release: # The deploy job is the _only_ job that should have access to our npm # tokens. We include a context that has our publish credentials # explicitly in this step. https://circleci.com/docs/2.0/contexts/ context: npm-deploy filters: branches: only: - master requires: - yarn/jest - yarn/relay - yarn/lint - yarn/type-check - yarn/update-cache
Add poetry as build dep for rpaframework-core
{% set name = "rpaframework-core" %} {% set version = "4.0.1" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/rpaframework-core-{{ version }}.tar.gz sha256: 3025c395a1bdc97c1494aaffa930ce0b008bdb093485fcf5cc2952b07a36a110 build: number: 0 noarch: python script: {{ PYTHON }} -m pip install . -vv requirements: host: - pip - python >=3.6,<4.0 run: - python >=3.6,<4.0 - selenium >=3.141.0,<4.0.0 - webdrivermanager >=0.9.0,<0.10.0 test: imports: - RPA - RPA.core commands: - pip check requires: - pip about: home: https://rpaframework.org/ summary: Core utilities used by RPA Framework license: Apache-2.0 license_file: LICENSE extra: recipe-maintainers: - osrjv - xylix
{% set name = "rpaframework-core" %} {% set version = "4.0.1" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/rpaframework-core-{{ version }}.tar.gz sha256: 3025c395a1bdc97c1494aaffa930ce0b008bdb093485fcf5cc2952b07a36a110 build: number: 0 noarch: python script: {{ PYTHON }} -m pip install . -vv requirements: build: - poetry host: - pip - python >=3.6,<4.0 run: - python >=3.6,<4.0 - selenium >=3.141.0,<4.0.0 - webdrivermanager >=0.9.0,<0.10.0 test: imports: - RPA - RPA.core commands: - pip check requires: - pip about: home: https://rpaframework.org/ summary: Core utilities used by RPA Framework license: Apache-2.0 license_file: LICENSE extra: recipe-maintainers: - osrjv - xylix
Remove Java 8 from build matrix.
name: CI on: pull_request: push: schedule: - cron: '0 4 * * 2' jobs: test: runs-on: ubuntu-latest strategy: matrix: include: - java: 8 - java: 11 - java: 17 steps: - uses: actions/checkout@v2.4.0 - uses: actions/setup-java@v2 with: java-version: ${{ matrix.java }} distribution: temurin - uses: coursier/cache-action@v6 - run: sbt -v "+ test"
name: CI on: pull_request: push: schedule: - cron: '0 4 * * 2' jobs: test: runs-on: ubuntu-latest strategy: matrix: include: - java: 11 - java: 17 steps: - uses: actions/checkout@v2.4.0 - uses: actions/setup-java@v2 with: java-version: ${{ matrix.java }} distribution: temurin - uses: coursier/cache-action@v6 - run: sbt -v "+ test"
Use Go 1.16 in CI
name: Continuous Integration on: push: pull_request: branches: - master jobs: build: name: Build runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macOS-latest] steps: - name: Set up Go 1.15 uses: actions/setup-go@v1 with: go-version: 1.15 id: go - name: Check out code into the Go module directory uses: actions/checkout@v1 - name: Run tests run: go test -race ./... - name: Check go vet run: go vet ./... - name: Check go fmt run: diff -u <(echo -n) <(gofmt -s -d .)
name: Continuous Integration on: push: pull_request: branches: - master jobs: build: name: Build runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macOS-latest] steps: - name: Set up Go 1.16 uses: actions/setup-go@v1 with: go-version: 1.16 id: go - name: Check out code into the Go module directory uses: actions/checkout@v1 - name: Run tests run: go test -race ./... - name: Check go vet run: go vet ./... - name: Check go fmt run: diff -u <(echo -n) <(gofmt -s -d .)
Update Standford Hill Christmas visit slots
--- name: Standford Hill nomis_id: EHI address: - Church Road - 'ME12 4AA ' email: socialvisits.standfordhill@hmps.gsi.gov.uk enabled: true estate: Standford Hill finder_slug: sheppey-cluster-standford-hill phone: 0300 060 6603 slots: wed: - 1345-1545 sat: - 1345-1545 sun: - 1345-1545 unbookable: - 2014-12-25
--- name: Standford Hill nomis_id: EHI address: - Church Road - 'ME12 4AA ' email: socialvisits.standfordhill@hmps.gsi.gov.uk enabled: true estate: Standford Hill finder_slug: sheppey-cluster-standford-hill phone: 0300 060 6603 slots: wed: - 1345-1545 sat: - 1345-1545 sun: - 1345-1545 unbookable: - 2014-12-25 - 2015-12-25 - 2015-12-26
Change site.baseurl un yml config
# Site settings title: Mark Mahoney description: 'Node.js Developer' url: 'http://mrkmhny.github.io' baseurl: '/' # google_analytics: 'UA-XXXXXX-X' # disqus_shortname: 'your-disqus-name' author: name: 'Mark Mahoney' email: mark.r.mahoney@gmail.com github_username: mrkmhny linkedin_username: markrmahoney defaults: - scope: path: '' type: 'posts' values: layout: 'post' # Build settings destination: _site paginate: 10 permalink: /:title/ markdown: kramdown highlighter: rouge include: ["_pages"] sass: sass_dir: _sass style: compressed kramdown: # use Github Flavored Markdown input: GFM # do not replace newlines by <br>s hard_wrap: false gems: ['jekyll-paginate'] exclude: ['README.md', 'Gemfile', 'Gemfile.lock', 'screenshot.png']
# Site settings title: Mark Mahoney description: 'Node.js Developer' url: 'http://mrkmhny.github.io' baseurl: 'mrkmhny.github.io/' # google_analytics: 'UA-XXXXXX-X' # disqus_shortname: 'your-disqus-name' author: name: 'Mark Mahoney' email: mark.r.mahoney@gmail.com github_username: mrkmhny linkedin_username: markrmahoney defaults: - scope: path: '' type: 'posts' values: layout: 'post' # Build settings destination: _site paginate: 10 permalink: /:title/ markdown: kramdown highlighter: rouge include: ["_pages"] sass: sass_dir: _sass style: compressed kramdown: # use Github Flavored Markdown input: GFM # do not replace newlines by <br>s hard_wrap: false gems: ['jekyll-paginate'] exclude: ['README.md', 'Gemfile', 'Gemfile.lock', 'screenshot.png']
Update php versions for testing
name: CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: # The type of runner that the job will run on runs-on: ubuntu-latest strategy: matrix: php-versions: ['7.2', '7.3', '7.4', '8.0'] # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} - name: Check syntax error in sources run: find ./src/ ./tests/ -type f -name '*.php' -print0 | xargs -0 -L 1 -P 4 -- php -l - name: Clear cache of Composer run: composer clear-cache - name: Validate Composer.json and composer.lock run: composer update - name: Install dependencies run: composer install -q -n -a --no-progress --prefer-dist - name: Check code styles continue-on-error: true run: ./vendor/bin/phpcs - name: Run QA Scripts from composer.json run: composer qa
name: CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: # The type of runner that the job will run on runs-on: ubuntu-latest strategy: matrix: php-versions: ['7.4', '8.0', '8.1'] # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} - name: Check syntax error in sources run: find ./src/ ./tests/ -type f -name '*.php' -print0 | xargs -0 -L 1 -P 4 -- php -l - name: Clear cache of Composer run: composer clear-cache - name: Validate Composer.json and composer.lock run: composer update - name: Install dependencies run: composer install -q -n -a --no-progress --prefer-dist - name: Check code styles continue-on-error: true run: ./vendor/bin/phpcs - name: Run QA Scripts from composer.json run: composer qa
Switch back to cabal to install shellcheck
machine: environment: XDG_CONFIG_HOME: $HOME/.config XDG_DATA_HOME: $HOME/.local/share XDG_CACHE_HOME: $HOME/.cache GOPATH: $HOME/go dependencies: pre: - grep "physical id" /proc/cpuinfo | sort -u | wc -l - grep "cpu cores" /proc/cpuinfo |sort -u |cut -d":" -f2 - grep -c "processor" /proc/cpuinfo - git clone https://github.com/syngan/vim-vimlint /tmp/vim-vimlint - git clone https://github.com/ynkdir/vim-vimlparser /tmp/vim-vimlparser - curl https://raw.githubusercontent.com/mkwmms/speed-cola/master/cola -L > /tmp/speed-cola.sh - sudo apt-get update - sudo apt-get install shellcheck test: pre: - sh /tmp/speed-cola.sh override: - sh /tmp/vim-vimlint/bin/vimlint.sh -l /tmp/vim-vimlint -p /tmp/vim-vimlparser -v vimrc *.vim config lib - shellcheck --shell=bash cola
machine: ghc: version: 7.10.1 environment: XDG_CONFIG_HOME: $HOME/.config XDG_DATA_HOME: $HOME/.local/share XDG_CACHE_HOME: $HOME/.cache GOPATH: $HOME/go dependencies: pre: - grep "physical id" /proc/cpuinfo | sort -u | wc -l - grep "cpu cores" /proc/cpuinfo |sort -u |cut -d":" -f2 - grep -c "processor" /proc/cpuinfo - git clone https://github.com/syngan/vim-vimlint /tmp/vim-vimlint - git clone https://github.com/ynkdir/vim-vimlparser /tmp/vim-vimlparser - git clone https://github.com/koalaman/shellcheck.git /tmp/shellcheck - curl https://raw.githubusercontent.com/mkwmms/speed-cola/master/cola -L > /tmp/speed-cola.sh override: - cd /tmp/shellcheck && cabal install --jobs test: pre: - sh /tmp/speed-cola.sh override: - sh /tmp/vim-vimlint/bin/vimlint.sh -l /tmp/vim-vimlint -p /tmp/vim-vimlparser -v vimrc *.vim config lib - shellcheck --shell=bash cola
Update from Hackage at 2021-08-23T19:04:36Z
homepage: '' changelog-type: markdown hash: 65e1f5391a840a4ef78cd8e1a6305236d939dd81611d64955fa932a331c2089b test-bench-deps: {} maintainer: dan.firth@homtopic.tech synopsis: Csv parsing functionality for composite. changelog: | # Changelog for composite-cassava ## v0.0.1.0 Add `FromNamedRecord` and `ToNamedRecord` instances for `Rec f xs`. basic-deps: base: '>=4.7 && <5' composite-base: '>=0.7.0.0 && <0.8' unordered-containers: -any text: -any cassava: '>=0.5.0.0 && <0.6' all-versions: - 0.0.1.0 author: Daniel Firth latest: 0.0.1.0 description-type: markdown description: | # composite-cassava Provides `FromNamedRecord` and `ToNamedRecord` instances for composite records. license-name: MIT
homepage: '' changelog-type: markdown hash: 11a37c1feadf36d58a8c23308d733c205548216b55deeee1855bb1f17607ca33 test-bench-deps: {} maintainer: dan.firth@homtopic.tech synopsis: Csv parsing functionality for composite. changelog: | # Changelog for composite-cassava ## v0.0.2.0 * Fix `ToNamedRecord` instances. ## v0.0.1.0 * Add `FromNamedRecord` and `ToNamedRecord` instances for `Rec f xs`. basic-deps: base: '>=4.7 && <5' composite-base: '>=0.7.0.0 && <0.8' unordered-containers: -any text: -any cassava: '>=0.5.0.0 && <0.6' all-versions: - 0.0.1.0 - 0.0.2.0 author: Daniel Firth latest: 0.0.2.0 description-type: markdown description: | # composite-cassava Provides `FromNamedRecord` and `ToNamedRecord` instances for composite records. license-name: MIT
Update from Hackage at 2022-01-10T16:56:35Z
homepage: '' changelog-type: '' hash: e48006a133c806eec59cdb285dc61b4142d56fb8f26955d375b93f087ac9a61e test-bench-deps: {} maintainer: Remo Dörig <remo.doerig@gmail.com> & Joel Fisch <joel.fisch96@gmail.com> synopsis: Stripe-Library changelog: '' basic-deps: http-client: -any bytestring: -any base: '>=4.7 && <5' time: -any unordered-containers: -any text: -any ghc-prim: -any mtl: -any transformers: -any scientific: -any http-conduit: -any http-types: -any aeson: '>=0.6 && <1.6' vector: -any all-versions: - 0.1.0.0 - 0.1.0.2 - 1.0.0.0 - 2.0.0.0 - 2.0.0.1 author: '' latest: 2.0.0.1 description-type: haddock description: Stripe-Library generated from https://github.com/Haskell-OpenAPI-Code-Generator/Haskell-OpenAPI-Client-Code-Generator license-name: MIT
homepage: https://github.com/Haskell-OpenAPI-Code-Generator/Stripe-Haskell-Library#readme changelog-type: '' hash: 8c074c770c4a1f4b793c6618f0f91bc9a3cb71c10a9fcbcc08577c94dce8070c test-bench-deps: {} maintainer: Remo Dörig <remo.doerig@gmail.com> & Joel Fisch <joel.fisch96@gmail.com> synopsis: Stripe-Library changelog: '' basic-deps: http-client: -any bytestring: -any base: '>=4.7 && <5' time: -any unordered-containers: -any text: -any ghc-prim: -any mtl: -any transformers: -any scientific: -any http-conduit: -any http-types: -any aeson: '>=0.6 && <1.6' vector: -any all-versions: - 0.1.0.0 - 0.1.0.2 - 1.0.0.0 - 2.0.0.0 - 2.0.0.1 - 2.0.1.0 author: '' latest: 2.0.1.0 description-type: haddock description: Stripe-Library generated from https://github.com/Haskell-OpenAPI-Code-Generator/Haskell-OpenAPI-Client-Code-Generator license-name: MIT
Enable prefer_final lints in pkg/vm
# Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file # for details. All rights reserved. Use of this source code is governed by a # BSD-style license that can be found in the LICENSE file. analyzer: exclude: - testcases/** - tool/**
# Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file # for details. All rights reserved. Use of this source code is governed by a # BSD-style license that can be found in the LICENSE file. analyzer: exclude: - testcases/** - tool/** linter: rules: - prefer_final_fields - prefer_final_in_for_each - prefer_final_locals
Update from Hackage at 2019-03-08T08:50:32Z
homepage: https://github.com/NorfairKing/validity#readme changelog-type: '' hash: 9355c57ccd8c50fc12aaaf1546c374eb38be51d09d06c7c79ce205516e2a7535 test-bench-deps: genvalidity-property: -any base: -any filepath: ! '>=1.3' doctest: -any directory: ! '>=1.2' maintainer: ! 'syd.kerckhove@gmail.com, nick.van.den.broeck666@gmail.com' synopsis: Standard properties for functions on `Validity` types changelog: '' basic-deps: base: ! '>=4.7 && <5' hspec: ! '>=2.1' validity: ! '>=0.9' QuickCheck: -any genvalidity: ! '>=0.7' all-versions: - 0.0.0.0 - 0.1.0.0 - 0.2.0.0 - 0.2.0.1 - 0.2.0.2 - 0.2.1.0 - 0.2.1.1 - 0.3.0.0 author: Tom Sydney Kerckhove latest: 0.3.0.0 description-type: haddock description: Standard properties for functions on `Validity` types license-name: MIT
homepage: https://github.com/NorfairKing/validity#readme changelog-type: '' hash: db5d9d150a7bcf0cd84c4b37d209c043e7725c8ac9de6c05b2c377f1bae6d622 test-bench-deps: genvalidity-property: -any base: -any filepath: ! '>=1.3' doctest: -any directory: ! '>=1.2' maintainer: |- syd.kerckhove@gmail.com, nick.van.den.broeck666@gmail.com synopsis: Standard properties for functions on `Validity` types changelog: '' basic-deps: base: ! '>=4.7 && <5' hspec: ! '>=2.1' validity: ! '>=0.9' QuickCheck: -any genvalidity: ! '>=0.7' all-versions: - 0.0.0.0 - 0.1.0.0 - 0.2.0.0 - 0.2.0.1 - 0.2.0.2 - 0.2.1.0 - 0.2.1.1 - 0.3.0.0 - 0.4.0.0 author: Tom Sydney Kerckhove latest: 0.4.0.0 description-type: haddock description: Standard properties for functions on `Validity` types license-name: MIT
Update Github actions to rerun daily
name: Test Suite # Run against all commits and pull requests. on: [ push, pull_request ] jobs: test_matrix: runs-on: ubuntu-latest strategy: fail-fast: false matrix: ruby: - 2.4 - 2.5 - 2.6 - 2.7 - 3.0 rails: - '52' - '60' exclude: - ruby: 2.4 rails: '60' - ruby: 3.0 rails: '52' env: BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.rails }}.gemfile steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Run tests run: bundle exec rake spec finish: runs-on: ubuntu-latest needs: [ test_matrix ] steps: - name: Wait for status checks run: echo "All Green!"
name: Test Suite # Run against all commits and pull requests. on: schedule: - cron: '0 0 * * *' push: pull_request: jobs: test_matrix: runs-on: ubuntu-latest strategy: fail-fast: false matrix: ruby: - 2.4 - 2.5 - 2.6 - 2.7 - 3.0 rails: - '52' - '60' exclude: - ruby: 2.4 rails: '60' - ruby: 3.0 rails: '52' env: BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.rails }}.gemfile steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Run tests run: bundle exec rake spec finish: runs-on: ubuntu-latest needs: [ test_matrix ] steps: - name: Wait for status checks run: echo "All Green!"
Upgrade to latest LTS release
packages: - . extra-deps: - optparse-simple-0.0.3 - path-0.5.1 - monad-unlift-0.1.1.0 - Win32-notify-0.3.0.1 - hfsevents-0.1.5 resolver: lts-2.9
packages: - . extra-deps: - path-0.5.2 - Win32-notify-0.3.0.1 - hfsevents-0.1.5 resolver: lts-2.17
Build against Ruby 2.0.0 on Travis
# ---------------------------------------------------------------- # Configuration file for http://travis-ci.org/#!/chdorner/epubinfo # ---------------------------------------------------------------- language: ruby script: "bundle exec rake spec" rvm: - 1.9.2 - 1.9.3 - ruby-head matrix: allow_failures: - rvm: ruby-head before_install: - gem install bundler
# ---------------------------------------------------------------- # Configuration file for http://travis-ci.org/#!/chdorner/epubinfo # ---------------------------------------------------------------- language: ruby script: "bundle exec rake spec" rvm: - 1.9.2 - 1.9.3 - 2.0.0 - ruby-head matrix: allow_failures: - rvm: ruby-head before_install: - gem install bundler
Move rvm downgrade to before_install
before_script: - rvm rubygems 1.8.25 - cp config/database.yml.example config/database.yml - bundle exec rake db:create db:migrate db:test:prepare language: ruby rvm: - 1.9.3 script: bundle exec rake default
before_install: - rvm rubygems 1.8.25 before_script: - cp config/database.yml.example config/database.yml - bundle exec rake db:create db:migrate db:test:prepare language: ruby rvm: - 1.9.3 script: bundle exec rake default
Allow nightly to fail, add 7.1
language: php php: - 7.0 - nightly - hhvm matrix: allow_failures: - php: hhvm sudo: false install: travis_retry composer install --no-interaction --prefer-source script: phpunit after_script: wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/coverage/coverage.clover
language: php php: - 7.0 - 7.1 - nightly - hhvm matrix: allow_failures: - php: hhvm - php: nightly sudo: false install: travis_retry composer install --no-interaction --prefer-source script: phpunit after_script: wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/coverage/coverage.clover
Move all installation steps to 'install' section.
language: haskell ghc: 7.8 env: - GHCVER=7.8.3 before_install: - travis_retry sudo add-apt-repository -y ppa:hvr/ghc - travis_retry sudo apt-get update - travis_retry sudo apt-get install cabal-install-1.20 ghc-$GHCVER-prof ghc-$GHCVER-dyn - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/1.20/bin:$PATH - export PATH=~/.cabal/bin:$PATH # for newer alex - cabal update - cabal install alex happy - cabal install yesod-bin --reorder-goals --max-backjumps=-1 script: - cabal configure -v2 # -v2 provides useful information for debugging - cabal build install: - cabal install --only-dependencies --reorder-goals --max-backjumps=-1
language: haskell ghc: 7.8 env: - GHCVER=7.8.3 before_install: - travis_retry sudo add-apt-repository -y ppa:hvr/ghc - travis_retry sudo apt-get update - travis_retry sudo apt-get install cabal-install-1.20 ghc-$GHCVER-prof ghc-$GHCVER-dyn - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/1.20/bin:$PATH - export PATH=~/.cabal/bin:$PATH # for newer alex - cabal update script: - cabal configure -v2 # -v2 provides useful information for debugging - cabal build install: - cabal install alex happy - cabal install yesod-bin --reorder-goals --max-backjumps=-1 - cabal install --only-dependencies --reorder-goals --max-backjumps=-1
Update node version in Travis
sudo: false language: ruby rvm: - 2.4.2 before_install: - gem install sass --version "=3.4.19" - gem install compass --version "=1.0.3" - nvm install 4.4.3 - nvm use 4.4.3 install: - bundle install --path vendor/bundle - npm install before_script: - chmod +x ./script/cibuild script: script/cibuild env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer cache: - bundler - node_modules
sudo: false language: ruby rvm: - 2.4.2 before_install: - gem install sass --version "=3.4.19" - gem install compass --version "=1.0.3" - nvm install 6.14.3 - nvm use 6.14.3 install: - bundle install --path vendor/bundle - npm install before_script: - chmod +x ./script/cibuild script: script/cibuild env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer cache: - bundler - node_modules
Allow failures with legacy MPICH1
# http://travis-ci.org/mpi4py/mpi4py language: python python: - 2.6 - 2.7 - 3.2 - 3.3 # - pypy env: - MPI=mpich1 - MPI=mpich2 - MPI=mpich3 - MPI=openmpi branches: only: - master before_install: - sudo apt-get update -q - sh ./conf/travis-install-mpi.sh $MPI - pip install -q Cython install: - pip install . before_script: - MPIEXEC='mpiexec'; PYTHON='python'; - test $MPI == mpich1 && MPIEXEC='mpirun' || true - test $MPI == mpich1 && PYTHON=$(which python) || true - test $MPI == mpich2 && sudo hostname localhost || true - test $MPI == mpich2 && MPIEXEC='mpiexec -launcher fork' || true - test $MPI == mpich3 && sudo hostname localhost || true - test $MPI == mpich3 && MPIEXEC='mpiexec -launcher fork' || true script: - $MPIEXEC -n 1 $PYTHON $PWD/test/runtests.py -v --no-builddir --exclude=spawn - $MPIEXEC -n 5 $PYTHON $PWD/test/runtests.py -v --no-builddir --exclude=spawn #notifications: # email: false
# http://travis-ci.org/mpi4py/mpi4py language: python python: - 2.6 - 2.7 - 3.2 - 3.3 # - pypy env: - MPI=mpich3 - MPI=mpich2 - MPI=mpich1 - MPI=openmpi matrix: allow_failures: - env: MPI=mpich1 branches: only: - master before_install: - sudo apt-get update -q - sh ./conf/travis-install-mpi.sh $MPI - pip install -q Cython install: - pip install . before_script: - MPIEXEC='mpiexec'; PYTHON='python'; - test $MPI == mpich1 && MPIEXEC='mpirun' || true - test $MPI == mpich1 && PYTHON=$(which python) || true - test $MPI == mpich2 && sudo hostname localhost || true - test $MPI == mpich2 && MPIEXEC='mpiexec -launcher fork' || true - test $MPI == mpich3 && sudo hostname localhost || true - test $MPI == mpich3 && MPIEXEC='mpiexec -launcher fork' || true script: - $MPIEXEC -n 1 $PYTHON $PWD/test/runtests.py -v --no-builddir --exclude=spawn - $MPIEXEC -n 5 $PYTHON $PWD/test/runtests.py -v --no-builddir --exclude=spawn #notifications: # email: false
Add deployment token for pypi
dist: xenial language: python python: - '3.5' - '3.6' - '3.7' install: pip install tox-travis script: tox after_success: - coveralls
dist: xenial language: python python: - '3.5' - '3.6' - '3.7' install: pip install tox-travis script: tox after_success: - coveralls deploy: provider: pypi username: mshriver password: secure: rkAp2vVtLyQJLWc0OtJhL/YYbdYKCwUEnx5ABw8YLn2B5RY5wHs65NVHWBoeJFWlTE/v0SCDZNdTqJgcouEtVCUwqWnjEteuhDuhS0XGtbVoGK8vym2soIL6lSGTc6PfMJhKNxT7zht44qKuOpcC7nZP8ccs7qWmD3aOeS1/rz3rVls943Zqnq3il7/tlWulbOSjoxT2iIyaJNcrGesmDpYUrs4OFxTwDvKvUbYVlRZF3H1zku5nv5/KK2xbCloMyKnT8kCdbPl3W7Op5gV4XgFGQ78oBVzr8aoF8tnp/AO6GeWezlbjfJ8UTB5ykZJ3DERCVXMss//zeXyFW/Afu3nb5v7ztK5VWIscHXh4iLHzjzBaHQeOTzKGf3gw9H+daqpyUIgAWSef0hQYhkLvomCVC5fUUY9P7aWixwjAMKB1Dr1muVMc2Gmlxw02r6eYeJgYuKHsUpwWmfWggtCyW3wNf6SJyCi6OpRtFiCJ2JWGX58PESmPbf9pCwfLv1W0221OhKVovscxnGsS1EiG5E/RVJpqDUxJREM/CY71zheynVCP5fAVUiYfAQEOaaJIK23nU4IDAOLy8uyoAut+oyRzmHzl+Jh/G8iCx1PTiRRt77ybBE3WxYWVnXIuayQ0XY4Sn4Uw3XYvbyVt381KDvqwAcajhCQ2qMWz6gMeWXs= skip_existing: true distributions: sdist bdist_wheel on: tags: true repo: RedHatQE/wait_for
Add PHP7 to Travis build
language: php php: - '5.4' - '5.5' - '5.6' env: - NO_INTERACTION=1 before_script: - phpize - ./configure --enable-sha3 - make script: make test
language: php php: - '5.4' - '5.5' - '5.6' - '7.0' env: - NO_INTERACTION=1 before_script: - phpize - ./configure --enable-sha3 - make script: make test
Use maven instead of xml_grep
language: java notifications: email: recepients: - omid-ci@yahoo-inc.com on_success: always on_failure: always jdk: - oraclejdk8 branches: only: - open-source cache: directories: - "~/.m2" before_script: # This is required to avoid failures of HBase minicluster related to Hadoop 1.x releases - umask 022 - git config --global user.email "omid-ci@yahoo-inc.com" - git config --global user.name "Omid CI" - git checkout open-source script: - mvn cobertura:cobertura - mkdir failedTests && find -name testng-failed.xml -exec cp -vf "{}" failedTests/ \; && [ ! -f failedTests/testng-failed.xml ] after_success: - mvn coveralls:report - mvn -B release:prepare release:perform -Prelease_profile,hbase-0 --settings bintray-settings.xml after_failure: - VERSION=`xml_grep -t '/project/version' pom.xml` && git checkout -b "failed-build-$VERSION" && git config core.autocrlf false && git add -f */surefire-reports/* && git commit --verbose -m"Surefile output" && git push origin $VERSION:$VERSION
language: java notifications: email: recepients: - omid-ci@yahoo-inc.com on_success: always on_failure: always jdk: - oraclejdk8 branches: only: - open-source cache: directories: - "~/.m2" before_script: # This is required to avoid failures of HBase minicluster related to Hadoop 1.x releases - umask 022 - git config --global user.email "omid-ci@yahoo-inc.com" - git config --global user.name "Omid CI" - git checkout open-source script: - mvn cobertura:cobertura - mkdir failedTests && find -name testng-failed.xml -exec cp -vf "{}" failedTests/ \; && [ ! -f failedTests/testng-failed.xml ] after_success: - mvn coveralls:report - mvn -B release:prepare release:perform -Prelease_profile,hbase-0 --settings bintray-settings.xml after_failure: - VERSION=`mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -v '\[' | grep SNAPSHOT` && git checkout -b "failed-build-$VERSION" && git config core.autocrlf false && git add -f */surefire-reports/* && git commit --verbose -m"Surefile output" && git push origin $VERSION:$VERSION
Use container-based infrastructure in Travis CI.
language: ruby cache: bundler # Temporarily disable container-based infrastructure sudo: required rvm: - "ruby-2.2.1" script: - "bundle exec brakeman -z" - "bundle exec rake db:migrate" - "bundle exec rake spec:travisci" env: global: - RAILS_ENV=ci matrix: - TEST_SUITE=unit - TEST_SUITE=acceptance_1 - TEST_SUITE=acceptance_2 before_install: - "export DISPLAY=:99.0" - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 800x600x16" before_script: - "cp config/secrets_ci.yml config/secrets.yml" - "cp config/database.yml.ci config/database.yml"
language: ruby cache: bundler # Use container-based infrastructure sudo: false rvm: - "ruby-2.2.1" script: - "bundle exec brakeman -z" - "bundle exec rake db:migrate" - "bundle exec rake spec:travisci" env: global: - RAILS_ENV=ci matrix: - TEST_SUITE=unit - TEST_SUITE=acceptance_1 - TEST_SUITE=acceptance_2 before_install: - "export DISPLAY=:99.0" - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 800x600x16" before_script: - "cp config/secrets_ci.yml config/secrets.yml" - "cp config/database.yml.ci config/database.yml"
Fix journey test file accidentally committed in previous commit.
project_name: dependency-container-with-setup-command-test containers: server: image: nginx:1.17.5 setup_commands: - command: sh -c "echo 'This is some output from the task' && echo -n 'This is another line'" working_directory: /usr/share/nginx/html task-env: build_directory: task-env dependencies: - server tasks: the-task: run: container: task-env command: sh -c "curl --fail --show-error --silent http://server/message.txt && exit 123"
project_name: dependency-container-with-setup-command-test containers: server: image: nginx:1.17.5 setup_commands: - command: sh -c "echo 'This is some output from the task' > message.txt" working_directory: /usr/share/nginx/html task-env: build_directory: task-env dependencies: - server tasks: the-task: run: container: task-env command: sh -c "curl --fail --show-error --silent http://server/message.txt && exit 123"
Update Helmet version to 5.1.0
title: Helmet short_description: Express.js security with HTTP headers description: Helmet helps you secure your Express.js apps by setting various HTTP headers. It's not a silver bullet, but it can help! helmet_version: "5.0.2" baseurl: "" url: "https://helmetjs.github.io" markdown: CommonMarkGhPages commonmark: options: ["UNSAFE", "FOOTNOTES"]
title: Helmet short_description: Express.js security with HTTP headers description: Helmet helps you secure your Express.js apps by setting various HTTP headers. It's not a silver bullet, but it can help! helmet_version: "5.1.0" baseurl: "" url: "https://helmetjs.github.io" markdown: CommonMarkGhPages commonmark: options: ["UNSAFE", "FOOTNOTES"]
Add explicit resnet_depth parameter along with updating description for autoaugment yaml file.
# ---------- TRAINING PARAMETERS ---------- # AutoAugment achieves best results when trained for longer and when not using a pretrained # checkpoint for the backbone, although it will still work well in these settings. # Expected accuracy with using autoaugment: 38.67 # Expected accuracy without using autoaugment: 34.52 train: total_steps: 277200 learning_rate: init_learning_rate: 0.08 learning_rate_levels: [0.008, 0.0008] learning_rate_steps: [220000, 258700] retinanet_parser: use_autoaugment: true
# ---------- TRAINING PARAMETERS ---------- # AutoAugment achieves best results when trained for long and when not using a pretrained # checkpoint for the backbone. # Right now the code uses a pretrained checkpoint, but a future version will change this. # To train the ResNet 101 or ResNet 200 version, simply change the 'resnet_depth' to 101 or 200. # Expected accuracy on ResNet 50 with using autoaugment: 38.67 # Expected accuracy on ResNet 50 without using autoaugment: 34.52 train: total_steps: 277200 learning_rate: init_learning_rate: 0.08 learning_rate_levels: [0.008, 0.0008] learning_rate_steps: [220000, 258700] resnet: resnet_depth: 50 retinanet_parser: use_autoaugment: true
Add related node to synthetic methanol slider
--- - key: demand_of_molecules_offshore_sequestration_co2 step_value: 0.1 unit: "Mton" interface_group: sequestration related_node: molecules_offshore_sequestration_co2 position: 1 slide_key: supply_ccus_utilisation_storage - key: output_of_energy_production_synthetic_kerosene step_value: 0.1 unit: "PJ" interface_group: utilisation related_node: energy_production_synthetic_kerosene position: 2 slide_key: supply_ccus_utilisation_storage - key: output_of_energy_production_synthetic_methanol step_value: 0.1 unit: "PJ" interface_group: utilisation position: 3 slide_key: supply_ccus_utilisation_storage - key: demand_of_molecules_other_utilisation_co2 step_value: 0.1 unit: "Mton" interface_group: utilisation position: 4 slide_key: supply_ccus_utilisation_storage
--- - key: demand_of_molecules_offshore_sequestration_co2 step_value: 0.1 unit: "Mton" interface_group: sequestration related_node: molecules_offshore_sequestration_co2 position: 1 slide_key: supply_ccus_utilisation_storage - key: output_of_energy_production_synthetic_kerosene step_value: 0.1 unit: "PJ" interface_group: utilisation related_node: energy_production_synthetic_kerosene position: 2 slide_key: supply_ccus_utilisation_storage - key: output_of_energy_production_synthetic_methanol step_value: 0.1 unit: "PJ" interface_group: utilisation related_node: energy_production_synthetic_methanol position: 3 slide_key: supply_ccus_utilisation_storage - key: demand_of_molecules_other_utilisation_co2 step_value: 0.1 unit: "Mton" interface_group: utilisation position: 4 slide_key: supply_ccus_utilisation_storage
Add the 7.4 and 8.0 images to the CI matrix
name: Build containers on: push: schedule: - cron: '0 1 * * *' jobs: build: runs-on: ubuntu-20.04 strategy: matrix: tag: ["5.6", "7.0", "7.1", "7.2", "7.3", "7.4-codecasts", "8.0-codecasts"] steps: - name: Checkout the codebase uses: actions/checkout@v2 - name: Build the container run: make build TAG=$(printenv TAG) env: TAG: ${{ matrix.tag }} - name: Start the container run: make start TAG=$(printenv TAG) && sleep 10 env: TAG: ${{ matrix.tag }} - name: Test the container run: make test TAG=$(printenv TAG) env: TAG: ${{ matrix.tag }} - name: Login to Docker Hub if: github.repository_owner == 'eXistenZNL' && github.ref == 'refs/heads/master' uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Push the container to Docker Hub if: github.repository_owner == 'eXistenZNL' && github.ref == 'refs/heads/master' run: docker push existenz/webstack
name: Build containers on: push: schedule: - cron: '0 1 * * *' jobs: build: runs-on: ubuntu-20.04 strategy: matrix: tag: ["5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "7.4-codecasts", "8.0", "8.0-codecasts"] steps: - name: Checkout the codebase uses: actions/checkout@v2 - name: Build the container run: make build TAG=$(printenv TAG) env: TAG: ${{ matrix.tag }} - name: Start the container run: make start TAG=$(printenv TAG) && sleep 10 env: TAG: ${{ matrix.tag }} - name: Test the container run: make test TAG=$(printenv TAG) env: TAG: ${{ matrix.tag }} - name: Login to Docker Hub if: github.repository_owner == 'eXistenZNL' && github.ref == 'refs/heads/master' uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Push the container to Docker Hub if: github.repository_owner == 'eXistenZNL' && github.ref == 'refs/heads/master' run: docker push existenz/webstack
Change working directory and add missing labels.
apiVersion: v1 kind: Pod metadata: name: init-demo2 spec: containers: - name: python image: python:2.7-alpine command: - python - "-m" - SimpleHTTPServer volumeMounts: - name: path mountPath: /tmp/init initContainers: - name: busybox image: busybox command: - wget - "-O" - "/tmp/init/index.html" - http://google.com volumeMounts: - name: path mountPath: /tmp/init volumes: - name: path emptyDir: {}
apiVersion: v1 kind: Pod metadata: name: init-demo2 labels: topic: initdemo2 spec: containers: - name: python image: python:2.7-alpine workingDir: /tmp/init command: - python - "-m" - SimpleHTTPServer volumeMounts: - name: path mountPath: /tmp/init initContainers: - name: busybox image: busybox command: - wget - "-O" - "/tmp/init/index.html" - http://google.com volumeMounts: - name: path mountPath: /tmp/init volumes: - name: path emptyDir: {}
Update from Hackage at 2022-08-11T19:20:36Z
homepage: '' changelog-type: markdown hash: d7016144ed6bfce89d6df18af47cf18020574d286ec743b42c8e9be83097e1e5 test-bench-deps: {} maintainer: dan.firth@homotopic.tech synopsis: KVStore effect for polysemy. changelog: | # Changelog for polysemy-kvstore ## v0.1.2.0 * Add `runKVStoreAsKVStore` and `runKVStoreAsKVStoreSem`. ## v0.1.0.0 * Imported `KVStore` effect from polysemy-zoo. basic-deps: base: '>=4.7 && <5' containers: -any polysemy: '>=1.3.0.0 && <1.7' all-versions: - 0.1.0.0 - 0.1.2.0 author: Daniel Firth latest: 0.1.2.0 description-type: markdown description: | # polysemy-kvstore KVStore effect for polysemy, originally taken from [polysemy-zoo](https://hackage.haskell.org/package/polysemy-zoo). license-name: MIT
homepage: '' changelog-type: markdown hash: 562a17cbdac8eb97263a8ae5ad53c9261f6341cef7d8c4e0412a9b3a63c95b30 test-bench-deps: {} maintainer: dan.firth@homotopic.tech synopsis: KVStore effect for polysemy. changelog: | # Changelog for polysemy-kvstore ## v0.1.2.0 * Add `runKVStoreAsKVStore` and `runKVStoreAsKVStoreSem`. ## v0.1.0.0 * Imported `KVStore` effect from polysemy-zoo. basic-deps: base: '>=4.9 && <5' containers: '>=0.5 && <0.7' polysemy: '>=1.3.0.0 && <1.8' all-versions: - 0.1.0.0 - 0.1.2.0 - 0.1.3.0 author: Daniel Firth latest: 0.1.3.0 description-type: markdown description: | # polysemy-kvstore KVStore effect for polysemy, originally taken from [polysemy-zoo](https://hackage.haskell.org/package/polysemy-zoo). license-name: MIT
Fix the lost character in the config
ame: 'Label Actions' on: issues: types: [labeled, unlabeled] pull_request: types: [labeled, unlabeled] jobs: reaction: runs-on: ubuntu-latest steps: - uses: dessant/label-actions@v2 with: github-token: ${{ github.token }}
name: 'Label Actions' on: issues: types: [labeled, unlabeled] pull_request: types: [labeled, unlabeled] jobs: reaction: runs-on: ubuntu-latest steps: - uses: dessant/label-actions@v2 with: github-token: ${{ github.token }}
Update from Hackage at 2016-07-21T16:45:31+0000
homepage: http://darcs.wolfgang.jeltsch.info/haskell/type-equality-check changelog-type: '' hash: 1032eae735fb74b2cf484a26b0bab744a80a3560e5c947e3df9c2688527558e8 test-bench-deps: {} maintainer: wolfgang@cs.ioc.ee synopsis: Type equality check changelog: '' basic-deps: base: ! '>=3.0 && <5' type-level: ! '>=0.1 && <0.3' all-versions: - '0.0.0.0' - '0.0.0.2' - '0.0.0.3' author: Wolfgang Jeltsch latest: '0.0.0.3' description-type: haddock description: ! 'This packages provides a type equality check whose implementation is basically the one from the HList library.' license-name: BSD3
homepage: http://darcs.wolfgang.jeltsch.info/haskell/type-equality-check changelog-type: '' hash: 6d7a01e274a5f52096c2abd5147fa79b1e6304f02ef56687693e65c6585d8e35 test-bench-deps: {} maintainer: wolfgang@cs.ioc.ee synopsis: Type equality check changelog: '' basic-deps: base: ! '>=3.0 && <5' type-level: ! '>=0.1 && <0.4' all-versions: - '0.0.0.0' - '0.0.0.2' - '0.0.0.3' - '0.0.0.4' author: Wolfgang Jeltsch latest: '0.0.0.4' description-type: haddock description: ! 'This packages provides a type equality check whose implementation is basically the one from the HList library.' license-name: BSD3
Fix GH Action to support different Sf versions
name: Build on: push: ~ pull_request: ~ release: types: [created] schedule: - cron: "0 1 * * 6" # Run at 1am every Saturday workflow_dispatch: ~ jobs: tests: runs-on: ubuntu-latest name: "PHP ${{ matrix.php }}" strategy: fail-fast: false matrix: php: ["7.1", "7.2", "7.3", "7.4", "8.0"] symfony: ["~4.3", "~4.4", "~5.1", "~5.2", "~5.3", "~5.4", "~6.0"] steps: - uses: actions/checkout@v2 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: "${{ matrix.php }}" coverage: none - name: Restrict Symfony version if: matrix.symfony != '' run: | composer require symfony/event-dispatcher:${SYMFONY_VERSION} --no-update --dev composer require symfony/property-access:${SYMFONY_VERSION} --no-update --dev composer require symfony/expression-language:${SYMFONY_VERSION} --no-update --dev - name: Install dependencies run: | composer --no-interaction --prefer-source install - name: Run tests specification run: bin/phpspec run -f dot
name: Build on: push: ~ pull_request: ~ release: types: [created] schedule: - cron: "0 1 * * 6" # Run at 1am every Saturday workflow_dispatch: ~ jobs: tests: runs-on: ubuntu-latest name: "PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}" strategy: fail-fast: false matrix: php: ["7.2", "7.3", "7.4", "8.0"] symfony: ["~4.3", "~4.4", "~5.1", "~5.2", "~5.3", "~5.4"] include: - php: "7.1" symfony: "~4.3" - php: "7.1" symfony: "~4.4" - php: "8.0" symfony: "~6.0" steps: - uses: actions/checkout@v2 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: "${{ matrix.php }}" coverage: none - name: Restrict Symfony version if: matrix.symfony != '' run: | composer require symfony/event-dispatcher:"${{ matrix.symfony }}" --no-update --dev composer require symfony/property-access:"${{ matrix.symfony }}" --no-update --dev composer require symfony/expression-language:"${{ matrix.symfony }}" --no-update --dev - name: Install dependencies run: | composer --no-interaction --prefer-source install - name: Run tests specification run: bin/phpspec run -f dot
Revert tests to use locally hosted artifacts.
--- - hosts: test-kitchen roles: - role: dynatrace.Dynatrace-Java-Agent dynatrace_agents_linux_installer_file_url: http://downloads.dynatracesaas.com/6.2/dynatrace-agent-unix.jar dynatrace_java_agent_env_var_file_name: /tmp/environment
--- - hosts: test-kitchen roles: - role: dynatrace.Dynatrace-Java-Agent dynatrace_agents_linux_installer_file_url: http://10.0.2.2/dynatrace/dynatrace-agent.jar dynatrace_java_agent_env_var_file_name: /tmp/environment
Add C compiler dep to perl-termreadkey
{% set name = "perl-termreadkey" %} {% set version = "2.38" %} {% set sha256 = "5a645878dc570ac33661581fbb090ff24ebce17d43ea53fd22e105a856a47290" %} package: name: {{ name }} version: {{ version }} source: url: https://cpan.metacpan.org/authors/id/J/JS/JSTOWE/TermReadKey-{{ version }}.tar.gz sha256: {{ sha256 }} build: skip: true # [win] number: 0 run_exports: weak: - {{ name }} ={{ version }} requirements: build: - make host: - perl run: - perl about: home: https://metacpan.org/pod/Term::ReadKey license: GPL-1.0-or-later OR Artistic-1.0-Perl license_file: - {{ environ["PREFIX"] }}/man/man1/perlartistic.1 - {{ environ["PREFIX"] }}/man/man1/perlgpl.1 summary: 'Change terminal modes, and perform non-blocking reads.' extra: recipe-maintainers: - xileF1337 - cbrueffer
{% set name = "perl-termreadkey" %} {% set version = "2.38" %} {% set sha256 = "5a645878dc570ac33661581fbb090ff24ebce17d43ea53fd22e105a856a47290" %} package: name: {{ name }} version: {{ version }} source: url: https://cpan.metacpan.org/authors/id/J/JS/JSTOWE/TermReadKey-{{ version }}.tar.gz sha256: {{ sha256 }} build: skip: true # [win] number: 0 run_exports: weak: - {{ name }} ={{ version }} requirements: build: - make - {{ compiler('c') }} host: - perl run: - perl about: home: https://metacpan.org/pod/Term::ReadKey license: GPL-1.0-or-later OR Artistic-1.0-Perl license_file: - {{ environ["PREFIX"] }}/man/man1/perlartistic.1 - {{ environ["PREFIX"] }}/man/man1/perlgpl.1 summary: 'Change terminal modes, and perform non-blocking reads.' extra: recipe-maintainers: - xileF1337 - cbrueffer
Hide the config of phpunit-priinter
options: cd-printer-hide-class: false cd-printer-simple-output: false cd-printer-show-config: true cd-printer-hide-namespace: false cd-printer-anybar: true cd-printer-anybar-port: 1738 markers: cd-pass: "✓ " cd-fail: "✖ " cd-error: "⚈ " cd-skipped: "→ " cd-incomplete: "∅ " cd-risky: "⌽ "
options: cd-printer-hide-class: false cd-printer-simple-output: false cd-printer-show-config: false cd-printer-hide-namespace: false cd-printer-anybar: true cd-printer-anybar-port: 1738 markers: cd-pass: "✓ " cd-fail: "✖ " cd-error: "⚈ " cd-skipped: "→ " cd-incomplete: "∅ " cd-risky: "⌽ "
Update es exporter chart version
apiVersion: v2 description: ElasticSearch monitoring using Prometheus-operator and Grafana. name: elasticsearch-monitoring type: application version: 1.4.0 keywords: - grafana - kube-prometheus - monitoring - prometheus - elasticsearch home: https://github.com/skyscrapers/charts/ sources: - https://github.com/skyscrapers/charts maintainers: - name: skyscrapers email: hello@skyscrapers.eu engine: gotpl dependencies: - name: prometheus-elasticsearch-exporter version: 4.7.0 repository: https://prometheus-community.github.io/helm-charts - name: prometheus-cloudwatch-exporter version: 0.17.1 repository: https://prometheus-community.github.io/helm-charts condition: amazonService
apiVersion: v2 description: ElasticSearch monitoring using Prometheus-operator and Grafana. name: elasticsearch-monitoring type: application version: 1.5.0 keywords: - grafana - kube-prometheus - monitoring - prometheus - elasticsearch home: https://github.com/skyscrapers/charts/ sources: - https://github.com/skyscrapers/charts maintainers: - name: skyscrapers email: hello@skyscrapers.eu engine: gotpl dependencies: - name: prometheus-elasticsearch-exporter version: 4.9.0 repository: https://prometheus-community.github.io/helm-charts - name: prometheus-cloudwatch-exporter version: 0.17.1 repository: https://prometheus-community.github.io/helm-charts condition: amazonService
Update actions/cache for GitHub action
name: tests on: push: pull_request: jobs: build: runs-on: ubuntu-20.04 strategy: fail-fast: true matrix: php: [7.4, 8.0, 8.1] steps: - name: Checkout uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} extensions: pdo_sqlite, sqlite tools: composer:v2 coverage: none - name: Get composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: ${{ runner.os }}-composer- - name: Install dependencies run: composer update --prefer-dist --no-interaction --no-progress - name: Execute tests run: vendor/bin/phpunit --verbose
name: tests on: push: pull_request: jobs: build: runs-on: ubuntu-20.04 strategy: fail-fast: true matrix: php: [7.4, 8.0, 8.1] steps: - name: Checkout uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} extensions: pdo_sqlite, sqlite tools: composer:v2 coverage: none - name: Get composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v3 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: ${{ runner.os }}-composer- - name: Install dependencies run: composer update --prefer-dist --no-interaction --no-progress - name: Execute tests run: vendor/bin/phpunit --verbose
Remove "write a program" from flatten-array exercise
--- blurb: "Write a program that will take a nested list and returns a single list with all values except nil/null" source: "Interview Question" source_url: "https://reference.wolfram.com/language/ref/Flatten.html"
--- blurb: "Take a nested list and return a single list with all values except nil/null" source: "Interview Question" source_url: "https://reference.wolfram.com/language/ref/Flatten.html"
Update pathlib2 recipe to version 2.2.1
{%set name = "pathlib2" %} {%set version = "2.2.0" %} package: name: {{ name }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz md5: c2e73a9a560e8b86233923af6a37faa2 requirements: build: - python - setuptools - six run: - python - six - scandir # [py<35] test: imports: - pathlib2 about: home: https://pypi.python.org/pypi/pathlib2/ license: MIT summary: object-oriented filesystem paths
{% set name = "pathlib2" %} {% set version = "2.2.1" %} package: name: {{ name }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz md5: 6c75bfde898b6c88627621a48ee8de14 requirements: build: - python - setuptools - six run: - python - six - scandir # [py<35] test: imports: - pathlib2 about: home: https://pypi.python.org/pypi/pathlib2/ license: MIT summary: object-oriented filesystem paths
Define external web network for Traefik connections
# This file is used to run the mailu/setup utility version: '3.6' services: redis: image: redis:alpine setup_master: image: mailu/setup:master env_file: .env environment: this_version: "master" labels: - traefik.enable=true - traefik.port=80 - traefik.main.frontend.rule=Host:${HOSTNAME};PathPrefix:/master/ depends_on: - redis setup_release: image: mailu/setup:${RELEASE} env_file: .env environment: this_version: ${RELEASE} labels: - traefik.enable=true - traefik.port=80 - traefik.root.frontend.redirect.regex=.* - traefik.root.frontend.redirect.replacement=/${RELEASE}/ - traefik.root.frontend.rule=Host:${HOSTNAME};PathPrefix:/ - traefik.main.frontend.rule=Host:${HOSTNAME};PathPrefix:/${RELEASE}/ depends_on: - redis
# This file is used to run the mailu/setup utility version: '3.6' services: redis: image: redis:alpine setup_master: image: mailu/setup:master networks: - web env_file: .env environment: this_version: "master" labels: - traefik.enable=true - traefik.port=80 - traefik.main.frontend.rule=Host:${HOSTNAME};PathPrefix:/master/ depends_on: - redis setup_release: image: mailu/setup:${RELEASE} networks: - web env_file: .env environment: this_version: ${RELEASE} labels: - traefik.enable=true - traefik.port=80 - traefik.root.frontend.redirect.regex=.* - traefik.root.frontend.redirect.replacement=/${RELEASE}/ - traefik.root.frontend.rule=Host:${HOSTNAME};PathPrefix:/ - traefik.main.frontend.rule=Host:${HOSTNAME};PathPrefix:/${RELEASE}/ depends_on: - redis networks: web: external: true
Update from Hackage at 2020-07-22T12:42:19Z
homepage: https://github.com/emilaxelsson/hzenity changelog-type: '' hash: 8015d18188feda6f4ec4b92f6d336ce64e8fb687c6803beb9d47e64b0395e996 test-bench-deps: {} maintainer: 78emil@gmail.com synopsis: Haskell interface to Zenity dialogs changelog: '' basic-deps: process-extras: -any base: <5 time: -any text: -any process: -any data-default: -any containers: -any all-versions: - '0.1' - '0.2' - 0.2.1 - '0.3' author: Emil Axelsson latest: '0.3' description-type: haddock description: ! 'This is a Haskell wrapper around the <https://en.wikipedia.org/wiki/Zenity Zenity> dialog program. Examples can be found in the <https://github.com/emilaxelsson/hzenity/tree/master/examples examples/> directory.' license-name: BSD-3-Clause
homepage: https://github.com/emilaxelsson/hzenity changelog-type: '' hash: f5fd749bc184a0fa1002b586f7b08e9dc3fa5bb224749e78ca067cd4c60ed8df test-bench-deps: {} maintainer: 78emil@gmail.com synopsis: Haskell interface to Zenity dialogs changelog: '' basic-deps: process-extras: <0.8 base: <5 time: <1.10 text: <1.3 process: <1.7 data-default: <0.8 containers: <0.7 all-versions: - '0.1' - '0.2' - 0.2.1 - '0.3' - '0.4' author: Emil Axelsson latest: '0.4' description-type: haddock description: |- This is a Haskell wrapper around the <https://en.wikipedia.org/wiki/Zenity Zenity> dialog program. Examples can be found in the <https://github.com/emilaxelsson/hzenity/tree/master/examples examples/> directory. license-name: BSD-3-Clause
Revert commit 'Reduce cf push timeout'
director_uuid: <%= `bosh status --uuid` %> properties: acceptance_tests: default_timeout: 75 nodes: 5 cf_push_timeout: 64
director_uuid: <%= `bosh status --uuid` %> properties: acceptance_tests: default_timeout: 75 nodes: 5
Update gateway URL to default for helloc example
provider: name: faas gateway: http://localhost:8080 functions: helloc: lang: Dockerfile handler: ./src image: alexellis/helloc
provider: name: faas gateway: http://127.0.0.1:8080 functions: helloc: lang: Dockerfile handler: ./src image: alexellis/helloc:0.1
Update integration tests to cover all in Native build mode, and debug and profile
notifications: email: on_success: change on_failure: always language: csharp solution: BuildAMation.sln matrix: include: - os: linux mono: latest script: - msbuild /p:Configuration=Release BuildAMation.sln && python codingtools/test_bam.py && source env.sh && cd tests && python runtests.py --C.bitdepth=64 -c debug -t Test5 # DotNetCore axis removed as the referenced assemblies in the .sln # are incorrect for this #- os: linux # mono: none # dotnet: 2.1.4 # script: # - dotnet msbuild /p:Configuration=Release BuildAMation.sln # - python codingtools/test_bam.py
notifications: email: on_success: change on_failure: always language: csharp solution: BuildAMation.sln matrix: include: - os: linux mono: latest script: - msbuild /p:Configuration=Release BuildAMation.sln && python codingtools/test_bam.py && source env.sh && cd tests && python runtests.py --C.bitdepth=64 -b Native -c debug -c profile -j0 # DotNetCore axis removed as the referenced assemblies in the .sln # are incorrect for this #- os: linux # mono: none # dotnet: 2.1.4 # script: # - dotnet msbuild /p:Configuration=Release BuildAMation.sln # - python codingtools/test_bam.py
Build with Node.js 16 on Travis CI.
sudo: false language: node_js node_js: - '12' - '14' - '15' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g nyc prove script: - nyc npm test
sudo: false language: node_js node_js: - '12' - '14' - '16' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g nyc prove script: - nyc npm test
Change versions we test on Travis
language: ruby bundler_args: --without test rvm: - 2.1.6 - 2.2.2 - ruby-head gemfile: - gemfiles/activesupport-3.2 - gemfiles/activesupport-4.0 - gemfiles/activesupport-4.2
language: ruby bundler_args: --without test rvm: - 2.1.8 - 2.2.4 - 2.3.0 gemfile: - gemfiles/activesupport-3.2 - gemfiles/activesupport-4.0 - gemfiles/activesupport-4.2
Use mri 2.2.1, instead of 2.2; this defaults to 2.2.0p0, because of old version of rvm on Travis-CI.
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 1.9.3 - 2.0 - 2.1 - 2.2 - jruby - rbx-2 gemfile: - Gemfile - Gemfile-pure cache: bundler sudo: false
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 1.9.3 - 2.0 - 2.1 - 2.2.1 - jruby - rbx-2 gemfile: - Gemfile - Gemfile-pure cache: bundler sudo: false
Build release-branch-* branches in Travis
language: scala dist: trusty sudo: false scala: - 2.11.11 - 2.12.6 cache: directories: - '$HOME/node_modules' - $HOME/.ivy2 services: - mongodb jdk: - oraclejdk8 script: ./travis.sh branches: only: - master node_js: - "4.1" before_script: - "cd web/webkit" - "npm install" - "cd -" notifications: webhooks: urls: - https://webhooks.gitter.im/e/85e4d8ae84e569f9c501 on_success: always on_failure: always on_start: never email: recipients: - lift-committers@googlegroups.com on_success: change on_failure: always
language: scala dist: trusty sudo: false scala: - 2.11.11 - 2.12.6 cache: directories: - '$HOME/node_modules' - $HOME/.ivy2 services: - mongodb jdk: - oraclejdk8 script: ./travis.sh branches: only: - master - /^release-branch-.*$/ node_js: - "4.1" before_script: - "cd web/webkit" - "npm install" - "cd -" notifications: webhooks: urls: - https://webhooks.gitter.im/e/85e4d8ae84e569f9c501 on_success: always on_failure: always on_start: never email: recipients: - lift-committers@googlegroups.com on_success: change on_failure: always
Disable perl and php module support for now.
language: c script: "./bootstrap && ./configure --enable-gmetad && make all" before_script: - sudo apt-get install -y libapr1-dev libconfuse-dev libexpat1-dev libpcre3-dev libssl-dev librrd-dev libtool m4
language: c script: "./bootstrap && ./configure --enable-gmetad --without-php --without-perl && make all" before_script: - sudo apt-get install -y libapr1-dev libconfuse-dev libexpat1-dev libpcre3-dev libssl-dev librrd-dev libtool m4
Test on more Chef versions
language: ruby cache: bundler sudo: false rvm: - 2.0.0 - 2.1 - 2.2 branches: only: - master bundler_args: --jobs 7 --retry 3 gemfile: gemfiles/chefspec.gemfile env: - CHEF_VERSION=master - CHEF_VERSION=12.2.1 - CHEF_VERSION=12.1.2 - CHEF_VERSION=12.1.1 - CHEF_VERSION=12.1.0 - CHEF_VERSION=12.0.3 - CHEF_VERSION=11.18.6 - CHEF_VERSION=11.18.0 - CHEF_VERSION=11.16.4 - CHEF_VERSION=11.16.2 - CHEF_VERSION=11.16.0 - CHEF_VERSION=11.14.6 - CHEF_VERSION=11.14.2 matrix: fast_finish: true allow_failures: - env: CHEF_VERSION=master
language: ruby cache: bundler sudo: false rvm: - 2.0.0 - 2.1 - 2.2 branches: only: - master bundler_args: --jobs 7 --retry 3 gemfile: gemfiles/chefspec.gemfile env: - CHEF_VERSION=master - CHEF_VERSION=12.4.1 - CHEF_VERSION=12.4.0 - CHEF_VERSION=12.3.0 - CHEF_VERSION=12.2.1 - CHEF_VERSION=12.1.2 - CHEF_VERSION=12.1.1 - CHEF_VERSION=12.1.0 - CHEF_VERSION=12.0.3 - CHEF_VERSION=11.18.6 - CHEF_VERSION=11.18.0 - CHEF_VERSION=11.16.4 - CHEF_VERSION=11.16.2 - CHEF_VERSION=11.16.0 - CHEF_VERSION=11.14.6 - CHEF_VERSION=11.14.2 matrix: fast_finish: true allow_failures: - env: CHEF_VERSION=master
Remove node 0.6 from Travis CI.
language: "node_js" node_js: - "8" - "7" - "6" - "5" - "4" - "3" # io.js - "2" # io.js - "1" # io.js - "0.12" - "0.10" # - "0.8" - "0.6" before_install: - "npm install make-node@0.3.x -g" - "preinstall-compat" script: - "make test-cov" after_success: - "make report-cov" sudo: false
language: "node_js" node_js: - "8" - "7" - "6" - "5" - "4" - "3" # io.js - "2" # io.js - "1" # io.js - "0.12" - "0.10" # - "0.8" before_install: - "npm install make-node@0.3.x -g" - "preinstall-compat" script: - "make test-cov" after_success: - "make report-cov" sudo: false
Remove HHVM support, ensure PHP 5.4 & 5.5 tests run on correct distro
language: php matrix: include: - php: 5.3 dist: precise - php: 5.4 - php: 5.5 - php: 5.6 env: COMPOSER_FLAGS="--prefer-lowest" - php: 5.6 - php: 7 env: COMPOSER_FLAGS="--prefer-lowest" - php: 7 - php: hhvm before_install: - composer self-update install: composer update $COMPOSER_FLAGS --prefer-dist before_script: - if [[ "$TRAVIS_PHP_VERSION" != "hhvm" && "$TRAVIS_PHP_VERSION" != "7.0" ]]; then echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi; script: - vendor/bin/phpunit --coverage-clover=coverage.clover after_script: - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi; - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi; cache: directories: - $HOME/.composer
language: php matrix: include: - php: 5.3 dist: precise - php: 5.4 dist: precise - php: 5.5 dist: precise - php: 5.6 env: COMPOSER_FLAGS="--prefer-lowest" - php: 5.6 - php: 7 env: COMPOSER_FLAGS="--prefer-lowest" - php: 7 before_install: - composer self-update install: composer update $COMPOSER_FLAGS --prefer-dist before_script: - if [[ "$TRAVIS_PHP_VERSION" != "hhvm" && "$TRAVIS_PHP_VERSION" != "7.0" ]]; then echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi; script: - vendor/bin/phpunit --coverage-clover=coverage.clover after_script: - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi; - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi; cache: directories: - $HOME/.composer
Change bundler version for TravisCI
language: ruby rvm: - 2.1.7 - 2.0.0 env: - DB=sqlite - DB=postgresql script: - RAILS_ENV=test bundle exec rake db:migrate --trace - bundle exec rake db:test:prepare - bundle exec rake before_script: - cp config/database.travis.yml config/database.yml - psql -c 'create database nanoblog_test' -U postgres branches: only: - master notifications: hipchat: 372e05a530741a261bec75377fb7c2@nanoblog
language: ruby rvm: - 2.1.7 - 2.0.0 env: - DB=sqlite - DB=postgresql install: gem install -v 1.10.6 bundler --no-rdoc --no-ri script: - bundle _1.10.6_ install - RAILS_ENV=test bundle exec rake db:migrate --trace - bundle exec rake db:test:prepare - bundle exec rake before_script: - cp config/database.travis.yml config/database.yml - psql -c 'create database nanoblog_test' -U postgres branches: only: - master notifications: hipchat: 372e05a530741a261bec75377fb7c2@nanoblog
Test with Node.js 0.12 on Travis CI.
sudo: false language: node_js node_js: - '0.10' branches: only: - master - travis-ci # Not using `npm install --dev` because it is recursive. It will pull in the all # development dependencies for CoffeeScript. Way too much spew in the Travis CI # build output. before_install: - npm install - npm install istanbul coveralls
sudo: false language: node_js node_js: - '0.10' - '0.12' branches: only: - master - travis-ci # Not using `npm install --dev` because it is recursive. It will pull in the all # development dependencies for CoffeeScript. Way too much spew in the Travis CI # build output. before_install: - npm install - npm install istanbul coveralls