Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
web_with_c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pierre Michiels
web_with_c
Commits
231a465b
Commit
231a465b
authored
3 years ago
by
Pierre Michiels
Browse files
Options
Downloads
Patches
Plain Diff
commit
parent
58fcbad3
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#10487
passed
3 years ago
Stage: build
Stage: test
Stage: delivery
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+0
-28
0 additions, 28 deletions
.gitlab-ci.yml
gitlab-ci copy.yml
+0
-37
0 additions, 37 deletions
gitlab-ci copy.yml
with
0 additions
and
65 deletions
.gitlab-ci.yml
+
0
−
28
View file @
231a465b
# #default:
# #image: ubuntu:18.04
# stages:
# - build
# - test
# - delivery
# variables:
# HELLO_WORLD: "hello from pipeline"
# simple-test:
# stage: test
# script:
# - echo $HELLO_WORLD && exit 0
# pipou:
# stage: build
# script:
# - apt update
# - apt install gcc -y
# - gcc -Wall -Wextra -Werror -o web_with_c.c exe
# papou:
# stage: delivery
# script:
# - ./exe
image
:
ubuntu:18.04
stages
:
...
...
This diff is collapsed.
Click to expand it.
gitlab-ci copy.yml
deleted
100644 → 0
+
0
−
37
View file @
58fcbad3
image
:
ubuntu:18.04
stages
:
-
build
-
test
-
delivery
variables
:
HELLO_WORLD
:
"
Hello
from
pipeline"
before_script
:
-
apt-get update -y && apt-get install gcc -y
build-phase
:
stage
:
build
script
:
-
apt install build-essential -y
-
gcc -Wall -Werror -Wextra -o web_generator web_generator.c
artifacts
:
paths
:
-
web_generator
test-phase
:
stage
:
test
script
:
-
echo "Hello, $HELLO_WORLD"
-
exit
0
delivery-phase
:
stage
:
delivery
script
:
./web_with_c > page.html
artifacts
:
paths
:
-
page.html
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment