Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DojoExerciseChecker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External 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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dojo Project (HES-SO)
Projects
Pipelines
DojoExerciseChecker
Commits
c3006c96
Commit
c3006c96
authored
1 year ago
by
michael.minelli
Browse files
Options
Downloads
Patches
Plain Diff
CI/CD => Rename folders and user env var corresponding to version of package
parent
e4f6e5b7
No related branches found
No related tags found
1 merge request
!1
Add LICENSE
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
with
3 additions
and
3 deletions
.gitlab-ci.yml
+
3
−
3
View file @
c3006c96
...
...
@@ -4,9 +4,9 @@ variables:
DOCKER_HOST
:
tcp://docker:2375
DOCKER_TLS_CERTDIR
:
DOCKER_DRIVER
:
overlay2
DOCKERFILE
:
Dockerfile_Exerci
c
eChecker
DOCKERFILE
:
Dockerfile_Exerci
s
eChecker
PLATFORMS
:
linux/amd64,linux/arm64/v8
CHECKER_PROJECT_FOLDER
:
Exerci
c
eChecker
CHECKER_PROJECT_FOLDER
:
Exerci
s
eChecker
stages
:
-
build
...
...
@@ -36,7 +36,7 @@ build:
script
:
-
apk add curl
-
curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | sh
-
mv .secure_files/env $CHECKER_PROJECT_FOLDER/.env
-
mv .secure_files/env
_$VERSION
$CHECKER_PROJECT_FOLDER/.env
# Need to build for each platform separately because of multi-stage builds (docker buildx don't use cache same way as docker build)
-
>
platform_array=$(echo $PLATFORMS | tr "," "\n");
...
...
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