mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-18 21:27:51 +00:00
Update @balena/compose to 4.0.1
Update @balena/compose from 3.2.1 to 4.0.1 Change-type: major
This commit is contained in:
parent
63674c8201
commit
c9fa10b9c6
@ -97,8 +97,8 @@ export default class FleetsCmd extends Command {
|
||||
'app_name => NAME',
|
||||
'slug',
|
||||
'device_type',
|
||||
'online_devices',
|
||||
'device_count',
|
||||
'online_devices',
|
||||
]),
|
||||
);
|
||||
}
|
||||
|
749
npm-shrinkwrap.json
generated
749
npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load Diff
@ -199,7 +199,7 @@
|
||||
"typescript": "^5.5.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@balena/compose": "^3.2.1",
|
||||
"@balena/compose": "^4.0.1",
|
||||
"@balena/dockerignore": "^1.0.2",
|
||||
"@balena/env-parsing": "^1.1.8",
|
||||
"@balena/es-version": "^1.0.1",
|
||||
|
@ -87,7 +87,6 @@ describe('balena deploy', function () {
|
||||
api.expectGetRelease();
|
||||
api.expectGetUser();
|
||||
api.expectGetService({ serviceName: 'main' });
|
||||
api.expectPostService409();
|
||||
api.expectGetAuth();
|
||||
api.expectPostImage();
|
||||
api.expectPostImageIsPartOfRelease();
|
||||
|
@ -390,9 +390,12 @@ export class BalenaAPIMock extends NockMock {
|
||||
serviceName: string;
|
||||
}) {
|
||||
const serviceId = opts.serviceId || 243768;
|
||||
this.optGet(/^\/v\d+\/service($|\?)/, opts).reply(200, {
|
||||
d: [{ id: serviceId, service_name: opts.serviceName }],
|
||||
});
|
||||
this.optGet(/^\/v\d+\/service(\(\w+=\d+,\w+=%27\w+%27\))?$/, opts).reply(
|
||||
200,
|
||||
{
|
||||
d: [{ id: serviceId, service_name: opts.serviceName }],
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
public expectGetServiceFromApp(opts: {
|
||||
@ -410,13 +413,6 @@ export class BalenaAPIMock extends NockMock {
|
||||
);
|
||||
}
|
||||
|
||||
public expectPostService409(opts: ScopeOpts = {}) {
|
||||
this.optPost(/^\/v\d+\/service$/, opts).reply(
|
||||
409,
|
||||
'Unique key constraint violated',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Mocks balena-release call
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user