test(integration): upgrade the gitbox image to support arm architecture in addition to x86 (#2516)

This commit is contained in:
Matt Travi 2022-07-26 16:21:09 -05:00 committed by GitHub
parent 846f4c23b9
commit 3bbf08c9d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ const getStream = require('get-stream');
const pRetry = require('p-retry');
const {initBareRepo, gitShallowClone} = require('./git-utils');
const IMAGE = 'pvdlg/docker-gitbox:latest';
const IMAGE = 'semanticrelease/docker-gitbox:latest';
const SERVER_PORT = 80;
const HOST_PORT = 2080;
const SERVER_HOST = 'localhost';

View File

@ -36,7 +36,7 @@ async function start() {
}
/**
* Stop and remote the `mockserver` Docker container.
* Stop and remove the `mockserver` Docker container.
*/
async function stop() {
await container.stop();
@ -91,7 +91,7 @@ async function mock(
}
/**
* Verify the `mockserver` has been called with a requestion matching expectations. The `expectation` is created with the `mock` function.
* Verify the `mockserver` has been called with a request matching expectations. The `expectation` is created with the `mock` function.
*
* @param {Object} expectation The expectation created with `mock` function.
* @return {Promise} A Promise that resolves if the expectation is met or reject otherwise.