github.com/discordapp/buildkite-agent@v2.6.6+incompatible/.buildkite/pipeline.yml (about)

     1  steps:
     2  
     3    - wait
     4  
     5    - name: ":hammer:"
     6      command: "scripts/tests.sh"
     7      plugins:
     8        docker-compose#e8ce6c1:
     9          run: agent
    10  
    11    - wait
    12  
    13    - name: ":windows: 386"
    14      command: "scripts/build-binary.sh windows 386"
    15      artifact_paths: "pkg/*"
    16      plugins:
    17        docker-compose#e8ce6c1:
    18          run: agent
    19  
    20    - name: ":windows: amd64"
    21      command: "scripts/build-binary.sh windows amd64"
    22      artifact_paths: "pkg/*"
    23      plugins:
    24        docker-compose#e8ce6c1:
    25          run: agent
    26  
    27    - name: ":linux: amd64"
    28      command: "scripts/build-binary.sh linux amd64"
    29      artifact_paths: "pkg/*"
    30      plugins:
    31        docker-compose#e8ce6c1:
    32          run: agent
    33  
    34    - name: ":linux: 386"
    35      command: "scripts/build-binary.sh linux 386"
    36      artifact_paths: "pkg/*"
    37      plugins:
    38        docker-compose#e8ce6c1:
    39          run: agent
    40  
    41    - name: ":linux: arm"
    42      command: "scripts/build-binary.sh linux arm"
    43      artifact_paths: "pkg/*"
    44      plugins:
    45        docker-compose#e8ce6c1:
    46          run: agent
    47  
    48    - name: ":linux: armhf"
    49      command: "scripts/build-binary.sh linux armhf"
    50      artifact_paths: "pkg/*"
    51      plugins:
    52        docker-compose#e8ce6c1:
    53          run: agent
    54  
    55    - name: ":linux: arm64"
    56      command: "scripts/build-binary.sh linux arm64"
    57      artifact_paths: "pkg/*"
    58      plugins:
    59        docker-compose#e8ce6c1:
    60          run: agent
    61  
    62    - name: ":mac: 386"
    63      command: "scripts/build-binary.sh darwin 386"
    64      artifact_paths: "pkg/*"
    65      plugins:
    66        docker-compose#e8ce6c1:
    67          run: agent
    68  
    69    - name: ":mac: amd64"
    70      command: "scripts/build-binary.sh darwin amd64"
    71      artifact_paths: "pkg/*"
    72      plugins:
    73        docker-compose#e8ce6c1:
    74          run: agent
    75  
    76    - name: ":freebsd: amd64"
    77      command: "scripts/build-binary.sh freebsd amd64"
    78      artifact_paths: "pkg/*"
    79      plugins:
    80        docker-compose#e8ce6c1:
    81          run: agent
    82  
    83    - name: ":freebsd: 386"
    84      command: "scripts/build-binary.sh freebsd 386"
    85      artifact_paths: "pkg/*"
    86      plugins:
    87        docker-compose#e8ce6c1:
    88          run: agent
    89  
    90    - wait
    91  
    92    - name: ":mag:"
    93      command: "scripts/extract-agent-version-metadata.sh"
    94  
    95    - wait
    96  
    97    - name: ":debian: build"
    98      command: "scripts/build-debian-packages.sh"
    99      artifact_paths: "deb/**/*"
   100      branches: "master 2-6-stable"
   101      agents:
   102        queue: "deploy"
   103  
   104    - wait
   105  
   106    - name: ":s3: publish binaries"
   107      command: "scripts/publish-to-s3.sh"
   108      branches: "master 2-6-stable"
   109      env:
   110        CODENAME: "experimental"
   111      agents:
   112        queue: "deploy"
   113  
   114    - name: ":redhat: experimental"
   115      command: "scripts/rpm-package.sh"
   116      artifact_paths: "rpm/**/*"
   117      branches: "master 2-6-stable"
   118      env:
   119        CODENAME: "experimental"
   120      agents:
   121        queue: "deploy"
   122  
   123    - name: ":debian: publish experimental"
   124      command: "scripts/publish-debian-package.sh"
   125      branches: "master 2-6-stable"
   126      env:
   127        CODENAME: "experimental"
   128      agents:
   129        queue: "deploy"
   130  
   131    - name: ":github: :hammer:"
   132      command: "scripts/build-github-release.sh"
   133      artifact_paths: "releases/**/*"
   134      branches: "master 2-6-stable"
   135      plugins:
   136        docker-compose#e8ce6c1:
   137          run: github-release
   138  
   139    - wait
   140  
   141    - name: ":whale: :rocket:"
   142      trigger: docker-buildkite-agent
   143      branches: "master 2-6-stable"
   144      async: true
   145      build:
   146        message: "Update Docker images"
   147        commit: "HEAD"
   148        branch: "master"
   149        env:
   150          CODENAME: "experimental"
   151  
   152    - block: ":shipit: Unstable"
   153      branches: "master 2-6-stable"
   154  
   155    - name: ":s3: publish binaries"
   156      command: "scripts/publish-to-s3.sh"
   157      branches: "master 2-6-stable"
   158      env:
   159        CODENAME: "unstable"
   160      agents:
   161        queue: "deploy"
   162  
   163    - name: ":octocat: :rocket:"
   164      command: "scripts/github-release.sh"
   165      branches: "master 2-6-stable"
   166      agents:
   167        queue: "deploy"
   168  
   169    - name: ":redhat:"
   170      command: "scripts/rpm-package.sh"
   171      artifact_paths: "rpm/**/*"
   172      branches: "master 2-6-stable"
   173      env:
   174        CODENAME: "unstable"
   175      agents:
   176        queue: "deploy"
   177  
   178    - name: ":debian: publish unstable"
   179      command: "scripts/publish-debian-package.sh"
   180      branches: "master 2-6-stable"
   181      env:
   182        CODENAME: "unstable"
   183      agents:
   184        queue: "deploy"
   185  
   186    - wait
   187  
   188    - name: ":whale: :rocket:"
   189      trigger: docker-buildkite-agent
   190      branches: "master 2-6-stable"
   191      async: true
   192      build:
   193        message: "Update Docker images"
   194        commit: "HEAD"
   195        branch: "master"
   196        env:
   197          CODENAME: "unstable"
   198  
   199    - name: ":beer:"
   200      command: "scripts/release-homebrew.sh"
   201      artifact_paths: "pkg/*.rb;pkg/*.json"
   202      branches: "master 2-6-stable"
   203      agents:
   204        queue: "deploy"
   205  
   206    - block: ":shipit: Stable"
   207      branches: "master 2-6-stable"
   208  
   209    - name: ":s3: publish binaries"
   210      command: "scripts/publish-to-s3.sh"
   211      branches: "master 2-6-stable"
   212      env:
   213        CODENAME: "stable"
   214      agents:
   215        queue: "deploy"
   216  
   217    - name: ":redhat:"
   218      command: "scripts/rpm-package.sh"
   219      artifact_paths: "rpm/**/*"
   220      branches: "master 2-6-stable"
   221      env:
   222        CODENAME: "stable"
   223      agents:
   224        queue: "deploy"
   225  
   226    - name: ":debian: publish stable"
   227      command: "scripts/publish-debian-package.sh"
   228      branches: "master 2-6-stable"
   229      env:
   230        CODENAME: "stable"
   231      agents:
   232        queue: "deploy"
   233  
   234    - wait
   235  
   236    - name: ":whale: :rocket:"
   237      trigger: docker-buildkite-agent
   238      branches: "master 2-6-stable"
   239      async: true
   240      build:
   241        message: "Update Docker images"
   242        commit: "HEAD"
   243        branch: "master"
   244        env:
   245          CODENAME: "stable"