Skip to content
Snippets Groups Projects
Select Git revision
  • 5481d0d2a02de1678e3f4b33da020031c6366141
  • master default
  • 71-clang-format-configuration-compatibility-with-colcon-test
  • rtde
  • tmp-gpg-key-workaround-2
  • tmp-gpg-key-workaround
  • 68-git-lfs-error-in-ddeploy-job
  • split-build-and-test
  • 66-jazzy-support
  • 62-deploy-jobs-do-not-pull-files-from-lfs-manual-lfs-pull
  • 62-deploy-jobs-do-not-pull-files-from-lfs-custom-docker-image
  • py3-without-industrial-ci-test
  • 58-add-yolo-pip-package-support
  • 55-collision-between-test-jobs-due-to-dds-autodiscovery-ros2
  • 52-ddeploy-job-failing-when-enforcing-labels-alt-quick-dind-test
  • 48-python3_syntax
  • 46-default-docker-image-name-too-long
  • 45-double-pipeline-triggered-if-merge-request-has-melodic-branch-name
  • 40-repo-is-ros-testing
  • test-badges
  • test-lfs-concept
21 results

clang-format

Blame
  • dispatch-release.mjs 963 B
    import got from 'got';
    import shell from 'shelljs';
    import { options } from './utils.mjs';
    
    const version = options.release;
    const tag = options.tag || 'latest';
    const dry = options.dryRun;
    
    shell.echo(`Dispatching version: ${version}`);
    
    (async () => {
      if (dry) {
        shell.echo('DRY-RUN: done.');
        return;
      }
      await got(
        `https://api.github.com/repos/${process.env.GITHUB_REPOSITORY}/dispatches`,
        {
          headers: {
            'user-agent': 'Renovate release helper',
            authorization: `token ${process.env.GITHUB_TOKEN}`,
          },
          method: 'POST',
          json: {
            event_type: 'renovate-release',
            // max 10 keys here, https://github.com/peter-evans/repository-dispatch#client-payload
            client_payload: {
              sha: process.env.GITHUB_SHA,
              ref: process.env.GITHUB_REF,
              version,
              tag,
            },
          },
        }
      );
    })().catch((e) => {
      // Ignore for now
      shell.echo(e.toString());
    });