Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Vagrant
Commits
24208957
Commit
24208957
authored
3 years ago
by
Chris Roberts
Browse files
Options
Download
Email Patches
Plain Diff
Update repository sync
parent
702664e5
main
ac.home-redirect
backport/ac.home-redirect/remotely-relieved-humpback
backport/ds.ie11-warning/mildly-right-toad
backport/kevin/placeholder-page/strangely-helpful-wahoo
backport/nq.web/add-demandbase-consent/mistakenly-flying-adder
backport/nq.web/disable-alert-banner/rightly-ideal-kangaroo
backport/nq.web/update-react-subnav/jointly-funny-ox
brk/upgrade-downloads-page
nq.update-hashistackmenu
nq.web/add-demandbase-consent
nq.web/disable-alert-banner
nq.web/update-dockerfile-node-image
nq.web/update-react-subnav
nq/update-dockerfile
push-heroku-print-output
stable-website
zs.address-500-error-page
v2.2.19
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.ci/spec/create-hosts.sh
+1
-1
.ci/spec/create-hosts.sh
.ci/spec/run-test.sh
+1
-1
.ci/spec/run-test.sh
.ci/sync.sh
+4
-1
.ci/sync.sh
.github/workflows/code.yml
+2
-2
.github/workflows/code.yml
with
8 additions
and
5 deletions
+8
-5
.ci/spec/create-hosts.sh
+
1
-
1
View file @
24208957
...
...
@@ -39,7 +39,7 @@ wrap curl -fLO ${INSTALLER_URL} \
echo
"Creating vagrant spec guests..."
wrap_stream packet-exec run
-upload
--
"vagrant up --no-provision --provider vmware_desktop"
\
"Vagrant
Blackbox
host creation command failed"
"Vagrant
Acceptance
host creation command failed"
echo
"Finished bringing up vagrant spec guests"
This diff is collapsed.
Click to expand it.
.ci/spec/run-test.sh
+
1
-
1
View file @
24208957
...
...
@@ -27,6 +27,6 @@ export PKT_VAGRANT_DOCKER_IMAGES="${VAGRANT_DOCKER_IMAGES}"
echo
"Running vagrant spec tests..."
# Need to make memory customizable for windows hosts
wrap_stream packet-exec run
"vagrant provision"
\
"Vagrant
Blackbox
testing command failed"
"Vagrant
Acceptance
testing command failed"
echo
"Finished vagrant spec tests"
This diff is collapsed.
Click to expand it.
.ci/sync.sh
+
4
-
1
View file @
24208957
...
...
@@ -11,11 +11,14 @@ export PATH="${PATH}:${root}/.ci"
pushd
"
${
root
}
"
>
"
${
output
}
"
if
[
"
${
repo_name
}
"
=
"vagrant"
]
;
then
remote_repository
=
"hashicorp/vagrant-
blackbox
"
remote_repository
=
"hashicorp/vagrant-
acceptance
"
else
fail
"This repository is not configured to sync vagrant to mirror repository"
fi
wrap git config pull.rebase
false
\
"Failed to configure git pull strategy"
echo
"Adding remote mirror repository '
${
remote_repository
}
'..."
wrap git remote add mirror
"https://
${
HASHIBOT_USERNAME
}
:
${
HASHIBOT_TOKEN
}
@github.com/
${
remote_repository
}
"
\
"Failed to add mirror '
${
remote_repository
}
' for sync"
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/code.yml
+
2
-
2
View file @
24208957
...
...
@@ -5,7 +5,7 @@ on:
-
'
spec-test-*'
jobs
:
sync-
blackbox
:
sync-
acceptance
:
if
:
github.repository == 'hashicorp/vagrant'
runs-on
:
ubuntu-18.04
steps
:
...
...
@@ -18,7 +18,7 @@ jobs:
uses
:
ruby/setup-ruby@v1
with
:
ruby-version
:
'
2.6'
-
name
:
Sync
Blackbox
Testing Repository
-
name
:
Sync
Acceptance
Testing Repository
run
:
./.ci/sync.sh
working-directory
:
${{github.workspace}}
env
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help