forked from qt-creator/qt-creator
Let's have a build step which allows running a command on a registered Docker image, which is defined by the Kit's build device. If the build device is the Local PC, run the command locally. This specialized build step will most likely be removed after the existing steps have been taught to run on the Kit's build device. For now it is part of a POC that allows to experiment with non-local build commands. Task-number: QTCREATORBUG-22362 Change-Id: Ifda503ee346b67857a5b82c05cb38cf7f63698d0 Reviewed-by: hjk <hjk@qt.io>
45 lines
1.6 KiB
C++
45 lines
1.6 KiB
C++
/****************************************************************************
|
|
**
|
|
** Copyright (C) 2021 The Qt Company Ltd.
|
|
** Contact: https://www.qt.io/licensing/
|
|
**
|
|
** This file is part of Qt Creator.
|
|
**
|
|
** Commercial License Usage
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
** accordance with the commercial license agreement provided with the
|
|
** Software or, alternatively, in accordance with the terms contained in
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
|
**
|
|
** GNU General Public License Usage
|
|
** Alternatively, this file may be used under the terms of the GNU
|
|
** General Public License version 3 as published by the Free Software
|
|
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
|
** included in the packaging of this file. Please review the following
|
|
** information to ensure the GNU General Public License requirements will
|
|
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
|
**
|
|
****************************************************************************/
|
|
|
|
#ifndef DOCKERCONSTANTS_H
|
|
#define DOCKERCONSTANTS_H
|
|
|
|
namespace Docker {
|
|
namespace Constants {
|
|
|
|
const char DOCKER_SETTINGS_ID[] = "Docker.Settings";
|
|
const char ACTION_ID[] = "Docker.Action";
|
|
const char MENU_ID[] = "Docker.Menu";
|
|
|
|
const char DOCKER_DEVICE_TYPE[] = "DockerDeviceType";
|
|
const char DOCKER_RUN_FLAGS[] = "DockerRunFlags";
|
|
|
|
const char DOCKER_BUILDHOST_BUILDSTEP_ID[] = "Docker.BuildStep.BuildHost";
|
|
|
|
} // namespace Constants
|
|
} // namespace Docker
|
|
|
|
#endif // DOCKERCONSTANTS_H
|