Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cnaas-nms-backup
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
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
Code review analytics
Issue 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
Simon Oliver Tveit
cnaas-nms-backup
Commits
1f3033c6
Unverified
Commit
1f3033c6
authored
2 years ago
by
Johan Marcusson
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #255 from Uninett/sikt.build_workflow_image_from_correct_repo
Build the test docker image from the source repo
parents
cede4dd0
9e4ab171
Branches
develop
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/run-unit-tests.yml
+6
-2
6 additions, 2 deletions
.github/workflows/run-unit-tests.yml
with
6 additions
and
2 deletions
.github/workflows/run-unit-tests.yml
+
6
−
2
View file @
1f3033c6
...
...
@@ -42,11 +42,15 @@ jobs:
shell
:
bash
run
:
echo "BRANCH_NAME=$(echo ${GITHUB_HEAD_REF} | tr / -)" >> $GITHUB_ENV
-
name
:
Get repo URL
shell
:
bash
run
:
echo "CNAAS_REPO=$(echo ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY})" >> $GITHUB_ENV
-
name
:
Print branch name
run
:
echo ${{ env.BRANCH_NAME }}
run
:
echo ${{ env.BRANCH_NAME }}
at ${{ env.CNAAS_REPO }}
-
name
:
Build docker
run
:
docker-compose -f docker/docker-compose_test.yaml build --build-arg BUILDBRANCH=${{ env.BRANCH_NAME }}
run
:
docker-compose -f docker/docker-compose_test.yaml build --build-arg
GITREPO_BASE=${{ env.CNAAS_REPO }} --build-arg
BUILDBRANCH=${{ env.BRANCH_NAME }}
-
name
:
Start docker
run
:
docker-compose -f docker/docker-compose_test.yaml up -d
...
...
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