diff --git a/Jenkinsfile b/Jenkinsfile index b927903..85adad2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,25 +8,26 @@ node { checkout scm } - stage('Deployment Form') { + stage('Choose network and host') { timeout(time: 5, unit: 'MINUTES') { userInput = input( id: 'select-deployment', message: 'Select environment & service', parameters: [ - string(name: 'network', description: 'The network name you want to deploy your subgraph'), - string(name: 'targetRemoteHost', description: 'The host you want to deploy the subgraph') + string(name: 'network', description: 'Target network name of the subgraph'), + string(name: 'targetRemoteHost', description: 'Hostname where to deploy the subgraph') ] ) } echo "Selected network: '${userInput.network}'" - echo "Selected service name: '${userInput.targetRemoteHost}'" + echo "Selected hostname: '${userInput.targetRemoteHost}'" } stage('Setup Docker Image') { - sh 'apk add jq' + sh 'apk add jq bash' } - stage('Building Subgraph') { + + stage('Generate subgraph file') { sh """ # Navigate to workspace directory and ensure the script is executable chmod +x generate_subgraph.sh && diff --git a/subgraph.template.yaml b/subgraph.template.yaml index 625b3f8..3cf57f2 100644 --- a/subgraph.template.yaml +++ b/subgraph.template.yaml @@ -1,16 +1,5 @@ -# Copyright 2024 IEXEC BLOCKCHAIN TECH -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-FileCopyrightText: 2020-2024 IEXEC BLOCKCHAIN TECH +# SPDX-License-Identifier: Apache-2.0 specVersion: 0.0.4 description: iExecPoCoV5