Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webservice
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
masi9606
webservice
Commits
905acb80
Commit
905acb80
authored
6 months ago
by
schnarkus
Browse files
Options
Downloads
Patches
Plain Diff
set up secret db_pass
parent
1a61857f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#68925
passed
6 months ago
Stage: test
Stage: build
Stage: publish
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-0
2 additions, 0 deletions
.gitlab-ci.yml
local-environment/redis.sh
+0
-1
0 additions, 1 deletion
local-environment/redis.sh
with
2 additions
and
1 deletion
.gitlab-ci.yml
+
2
−
0
View file @
905acb80
...
@@ -27,10 +27,12 @@ build_job:
...
@@ -27,10 +27,12 @@ build_job:
when
:
always
when
:
always
image
:
public.ecr.aws/docker/library/golang:1.21
image
:
public.ecr.aws/docker/library/golang:1.21
script
:
|
script
:
|
echo "$DB_PASSWORD" > db_pass
GOARCH=amd64 GOOS=linux CGO_ENABLED=0 go build -o artifact.bin ./*.go
GOARCH=amd64 GOOS=linux CGO_ENABLED=0 go build -o artifact.bin ./*.go
artifacts
:
artifacts
:
paths
:
paths
:
-
artifact.bin
-
artifact.bin
-
db_pass
expire_in
:
5 min
expire_in
:
5 min
publish_job
:
publish_job
:
...
...
This diff is collapsed.
Click to expand it.
local-environment/redis.sh
+
0
−
1
View file @
905acb80
...
@@ -13,7 +13,6 @@ podman pull redis-server
...
@@ -13,7 +13,6 @@ podman pull redis-server
# Run Redis container with persistent storage
# Run Redis container with persistent storage
podman run
-d
\
podman run
-d
\
-v
./redis/conf:/usr/local/etc/redis
\
-p
$REDIS_PORT
:
$REDIS_PORT
\
-p
$REDIS_PORT
:
$REDIS_PORT
\
--name
$REDIS_CONTAINER_NAME
\
--name
$REDIS_CONTAINER_NAME
\
redis redis-server
--save
60 1
--loglevel
warning
redis redis-server
--save
60 1
--loglevel
warning
...
...
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