Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docker-ci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
UNL ITS
docker-ci
Commits
2dc8b045
Commit
2dc8b045
authored
6 years ago
by
Alan Nelson
Browse files
Options
Downloads
Patches
Plain Diff
Remove script to set composer credentials
parent
389f1936
No related branches found
No related tags found
2 merge requests
!5
Develop
,
!4
Working copy
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
magento2-unit-test/latest/Dockerfile
+0
-4
0 additions, 4 deletions
magento2-unit-test/latest/Dockerfile
magento2-unit-test/latest/set-mg2-credentials
+0
-18
0 additions, 18 deletions
magento2-unit-test/latest/set-mg2-credentials
with
0 additions
and
22 deletions
magento2-unit-test/latest/Dockerfile
+
0
−
4
View file @
2dc8b045
...
...
@@ -33,8 +33,4 @@ RUN curl -o /usr/local/bin/composer https://getcomposer.org/composer.phar \
# PHP Config file
COPY
php.ini /etc/php.d/mg2.ini
# Custom Scrips
COPY
set-mg2-credentials /usr/local/bin/set-mg2-credentials
RUN
chmod
755 /usr/local/bin/set-mg2-credentials
CMD
["bash"]
This diff is collapsed.
Click to expand it.
magento2-unit-test/latest/set-mg2-credentials
deleted
100644 → 0
+
0
−
18
View file @
389f1936
#!/bin/bash
if
[[
"$#"
-ne
2
]]
;
then
echo
"Please provide both the username and password"
exit
1
fi
mkdir
-p
/root/.composer
cat
>
/root/.composer/auth.json
<<
EOF
{
"http-basic": {
"repo.magento.com": {
"username": "
$1
",
"password": "
$2
"
}
}
}
EOF
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