Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
holi-moderation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
app
holi-moderation
Commits
1b88fadb
Commit
1b88fadb
authored
2 weeks ago
by
Sophia Kuhlmann
Browse files
Options
Downloads
Plain Diff
Merge branch 'main' into production
parents
24903bd7
4a93dd62
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+1
-3
1 addition, 3 deletions
.gitlab-ci.yml
.gitlab/ci/deploy.yml
+6
-4
6 additions, 4 deletions
.gitlab/ci/deploy.yml
.gitlab/ci/prepare.yml
+4
-2
4 additions, 2 deletions
.gitlab/ci/prepare.yml
.terraform-version
+1
-1
1 addition, 1 deletion
.terraform-version
with
12 additions
and
10 deletions
.gitlab-ci.yml
+
1
−
3
View file @
1b88fadb
...
@@ -23,9 +23,7 @@ default:
...
@@ -23,9 +23,7 @@ default:
-
1cpu-4gb
# default small, configure more explicitly on specific jobs
-
1cpu-4gb
# default small, configure more explicitly on specific jobs
before_script
:
before_script
:
-
set -e
-
set -e
# env -0 | sort -z | tr '\0' '\n': Sort env output alphabetically, keeping multiline variables intact
# DANGER don't use `set -x` or print the environment via e.g. `env` in pipeline runs, this might leak credentials (has leaked them)
# egrep: Remove sensitive information from the output of env
#- env -0 | sort -z | tr '\0' '\n' | egrep -ve '^(DOCKER_AUTH_CONFIG|GOOGLE_APPLICATION_CREDENTIALS)=.*'
stages
:
stages
:
-
prepare
-
prepare
...
...
This diff is collapsed.
Click to expand it.
.gitlab/ci/deploy.yml
+
6
−
4
View file @
1b88fadb
...
@@ -82,8 +82,9 @@ deploy:staging:infra:
...
@@ -82,8 +82,9 @@ deploy:staging:infra:
environment
:
environment
:
name
:
staging
name
:
staging
url
:
https://staging.moderation.holi.social
url
:
https://staging.moderation.holi.social
only
:
rules
:
-
main
-
if
:
$CI_COMMIT_BRANCH == "main"
when
:
on_success
###
###
# PRODUCTION
# PRODUCTION
...
@@ -94,5 +95,6 @@ deploy:production:infra:
...
@@ -94,5 +95,6 @@ deploy:production:infra:
environment
:
environment
:
name
:
production
name
:
production
url
:
https://moderation.holi.social
url
:
https://moderation.holi.social
only
:
rules
:
-
production
-
if
:
$CI_COMMIT_BRANCH == "production"
\ No newline at end of file
when
:
on_success
This diff is collapsed.
Click to expand it.
.gitlab/ci/prepare.yml
+
4
−
2
View file @
1b88fadb
...
@@ -6,8 +6,10 @@ apps:prepare:
...
@@ -6,8 +6,10 @@ apps:prepare:
-
corepack enable
-
corepack enable
-
corepack yarn install --immutable
-
corepack yarn install --immutable
rules
:
rules
:
# Execute step if yarn.lock was changed or cache is missing
# always run when triggered manually
# Inspired by https://gitlab.com/gitlab-org/gitlab/-/issues/244932#note_1727726890
-
if
:
$CI_COMMIT_BRANCH && $CI_PIPELINE_SOURCE == "web"
when
:
on_success
# only run on specific file changes when triggered by git push
-
if
:
$CI_COMMIT_BRANCH
-
if
:
$CI_COMMIT_BRANCH
changes
:
changes
:
-
yarn.lock
-
yarn.lock
...
...
This diff is collapsed.
Click to expand it.
.terraform-version
+
1
−
1
View file @
1b88fadb
1.11.
0
1.11.
2
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