BlueGit

timfa frameworkv3

Update .gitlab-ci.yml file

timfa Tim Falken · pushed by timfa

Authored 2024-07-30 · 2 years ago

Hash
5e29ca84b3ded497b4b221756a2ad5e91775159e
Parent
8dc59e0b
1 file changed +7 −3
.gitlab-ci.yml +7 −3
@@ -2,12 +2,12 @@
2 2
3 3 # Define stages for the pipeline
4 4 stages:
5 - deploy
5 - build
6 6 - release
7 7
8 8 # Define a job that runs when something is pushed to the master branch
9 deploy_job:
10 stage: deploy
9 build_job:
10 stage: build
11 11 script:
12 12 - apt-get update -qy
13 13 - chmod +x ./glbuild.sh # Ensure the script is executable
@@ -28,5 +28,9 @@ release_job:
28 28 tag_name: 'v0.$CI_PIPELINE_IID' # The version is incremented per pipeline.
29 29 description: 'v0.$CI_PIPELINE_IID'
30 30 ref: '$CI_COMMIT_SHA' # The tag is created from the pipeline SHA.
31 assets:
32 links:
33 - name: 'Framework JS file'
34 url: '$CI_SERVER_URL/$CI_PROJECT_PATH/-/jobs/$JOB_ID/artifacts/download'
31 35 only:
32 36 - master # Run this job only when changes are pushed to the master branch
@@ -2,12 +2,12 @@
2
2
3# Define stages for the pipeline
3# Define stages for the pipeline
4stages:
4stages:
5 - deploy
5 - build
6 - release
6 - release
7
7
8# Define a job that runs when something is pushed to the master branch
8# Define a job that runs when something is pushed to the master branch
9deploy_job:
9build_job:
10 stage: deploy
10 stage: build
11 script:
11 script:
12 - apt-get update -qy
12 - apt-get update -qy
13 - chmod +x ./glbuild.sh # Ensure the script is executable
13 - chmod +x ./glbuild.sh # Ensure the script is executable
@@ -28,5 +28,9 @@ release_job:
28 tag_name: 'v0.$CI_PIPELINE_IID' # The version is incremented per pipeline.
28 tag_name: 'v0.$CI_PIPELINE_IID' # The version is incremented per pipeline.
29 description: 'v0.$CI_PIPELINE_IID'
29 description: 'v0.$CI_PIPELINE_IID'
30 ref: '$CI_COMMIT_SHA' # The tag is created from the pipeline SHA.
30 ref: '$CI_COMMIT_SHA' # The tag is created from the pipeline SHA.
31 assets:
32 links:
33 - name: 'Framework JS file'
34 url: '$CI_SERVER_URL/$CI_PROJECT_PATH/-/jobs/$JOB_ID/artifacts/download'
31 only:
35 only:
32 - master # Run this job only when changes are pushed to the master branch
36 - master # Run this job only when changes are pushed to the master branch