Skip to content

Instantly share code, notes, and snippets.

View cdrage's full-sized avatar

Charlie Drage cdrage

View GitHub Profile
import type { Locator, Page } from '@playwright/test';
import { expect as playExpect } from '@playwright/test';
import type { PodmanDesktopRunner } from '../../runner/podman-desktop-runner';
import { BasePage } from './base-page';
export class ImageDetailsPage extends BasePage {
readonly actionsButton: Locator;
readonly buildDiskImageButton: Locator;
It will build:
Build Image Log --------
ID: manifest-test-2
Image: localhost/manifest-test
Type: raw
Folder: /Users/cdrage/bootc123
----------
{
"name": "manifest-test-bootc-image-builder",
"Image": "quay.io/bootc-extension/test-arm64-bib-image:latest",
[
{
"Id": "ab9b0582abe9b64ca4daa8b2ea6b9a03d4f9b7ce22f2a82d34a4d4201c205053",
"ParentId": "f5a1d64610a08f267eb2a3e05faddfa9185c7cfe73290dec100f3f467272e6ce",
"RepoTags": [
"docker.io/library/normalimage:latest"
],
"RepoDigests": [
"docker.io/library/normalimage@sha256:d9ee7bda294e40d5c9f7a4013e27de59eba6dc5080d717417bbaf0c6d0726239"
],
Result of 'podman build --platform linux/arm64,linux/amd64 --manifest testmanifest2 .`:
podman image ls localhost/testmanifest2 --format json
[
{
"Id": "91ef5e4c9bedf2b9a9c3d86de98eea4b33a50183785fb2bab03d48d808472103",
"ParentId": "",
"RepoTags": null,
"RepoDigests": [
"localhost/testmanifest2@sha256:20b959ad5960230b65a77b746bdbf5d991ade4d7a129c2554e167acdcc990531",
#!/usr/bin/env python3
from http.server import SimpleHTTPRequestHandler, HTTPServer
class CustomHTTPRequestHandler(SimpleHTTPRequestHandler):
def do_GET(self):
if self.path.startswith("/v2/"):
self.send_response(401)
self.send_header('Date', 'Tue, 18 Jul 2023 15:43:13 GMT')
self.send_header('Server', 'Nexus/3.52.0-01 (OSS)')
@cdrage
cdrage / foobar.ts
Created April 3, 2023 14:21
systemd test with electron
import { Gio } from 'imports.gi';
const bus = Gio.bus_get_sync(Gio.BusType.SYSTEM);
const interface = 'org.freedesktop.systemd1.Manager';
const objectPath = '/org/freedesktop/systemd1';
// Create a proxy
const proxy = Gio.DBusProxy.new_sync(
bus,

Release of v1.0.2

v1.0.2 (2019-12-19)

Full Changelog

Epics & Discussions:

The command odo catalog list components is really confusing as we list the imageStream images

snippet e2etest "odo e2e test"
Context("${1}", func() {
// Create a project
JustBeforeEach(func() {
project = helper.CreateRandProject()
app = helper.RandString(7)
})
JustAfterEach(func() {
helper.DeleteProject(project)
@cdrage
cdrage / designer.html
Created August 5, 2014 18:49
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
#paper_button {
left: 450px;
top: 320px;
position: absolute;