Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4e86a99eb1 | ||
|
|
b0c8ec9683 |
@@ -417,12 +417,12 @@ class AttachWorkflow(unittest.TestCase):
|
||||
self.assertNotIn('linux/amd64', st)
|
||||
self.assertNotIn('Build amd64', self.job)
|
||||
|
||||
def test_nothing_but_the_script_writes_a_tag(self):
|
||||
for bad in ('imagetools create', 'docker push', 'docker tag', '/cac:latest', '/cac-fpm:latest', 'ghcr.io'):
|
||||
self.assertNotIn(bad, self.job, bad)
|
||||
self.assertEqual(self.job.count('docker buildx build'), 1) # only the local PHP-version probe
|
||||
self.assertIn('type=local,dest=', self.job)
|
||||
self.assertNotIn('--push', self.job)
|
||||
self.assertNotIn(bad, self.job, bad)
|
||||
self.assertEqual(self.job.count('scripts/attach-arm64-index.sh'), 2) # plan (read-only) + attach
|
||||
self.assertIn('--plan-only', step(self.job, 'Plan'))
|
||||
self.assertNotIn('--arm64', step(self.job, 'Plan'))
|
||||
|
||||
Reference in new issue
Block a user