6 Commits

Author SHA1 Message Date
Tom Alexander
6941825e75 Fix package category.
All checks were successful
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded
2023-07-27 21:22:24 -04:00
Tom Alexander
bda291f771 Remove detect-tag from pipeline.
All checks were successful
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded
2023-07-27 21:13:14 -04:00
Tom Alexander
06b83f9156 Merge branch 'publish_crate'
Some checks failed
rustfmt Build rustfmt has failed
rust-test Build rust-test has succeeded
2023-07-27 21:06:05 -04:00
Tom Alexander
ef31900b51 Remove semver pipeline.
Since I'm publishing this to crates.io it doesn't make sense to have a separate version string from the one in Cargo.toml.
2023-07-27 21:05:27 -04:00
Tom Alexander
8a221e0e0d Add metadata for publishing crate. 2023-07-27 21:05:27 -04:00
Tom Alexander
f359676e28 Separate out the persistent volumes for cargo cache for tekton pipelines.
All checks were successful
semver Build semver has succeeded
rust-test Build rust-test has succeeded
rustfmt Build rustfmt has succeeded
Both pipelines running simultaneously is causing non-deterministic failures.
2023-07-27 20:46:18 -04:00
4 changed files with 9 additions and 37 deletions

View File

@@ -196,7 +196,7 @@ spec:
subPath: rust-source subPath: rust-source
- name: cargo-cache - name: cargo-cache
persistentVolumeClaim: persistentVolumeClaim:
claimName: cargo-cache claimName: organic-cargo-cache-test
- name: docker-credentials - name: docker-credentials
secret: secret:
secretName: harbor-plain secretName: harbor-plain

View File

@@ -81,14 +81,6 @@ spec:
value: $(params.PULL_BASE_SHA) value: $(params.PULL_BASE_SHA)
- name: deleteExisting - name: deleteExisting
value: "true" value: "true"
- name: detect-tag
taskRef:
name: detect-tag
workspaces:
- name: repo
workspace: git-source
runAfter:
- fetch-repository
- name: build-image - name: build-image
taskRef: taskRef:
name: kaniko name: kaniko
@@ -118,7 +110,6 @@ spec:
workspace: docker-credentials workspace: docker-credentials
runAfter: runAfter:
- fetch-repository - fetch-repository
- detect-tag
- name: rustfmt - name: rustfmt
taskRef: taskRef:
name: run-docker-image name: run-docker-image
@@ -236,7 +227,7 @@ spec:
subPath: rust-source subPath: rust-source
- name: cargo-cache - name: cargo-cache
persistentVolumeClaim: persistentVolumeClaim:
claimName: cargo-cache claimName: organic-cargo-cache-fmt
- name: docker-credentials - name: docker-credentials
secret: secret:
secretName: harbor-plain secretName: harbor-plain

View File

@@ -2,31 +2,6 @@ apiVersion: config.lighthouse.jenkins-x.io/v1alpha1
kind: TriggerConfig kind: TriggerConfig
spec: spec:
postsubmits: postsubmits:
- name: semver
agent: tekton-pipeline
branches:
- ^main$
- ^master$
max_concurrency: 1
# Override https-based url from lighthouse events.
clone_uri: "git@code.fizz.buzz:talexander/organic.git"
pipeline_run_spec:
serviceAccountName: build-bot
pipelineRef:
name: semver
namespace: lighthouse
workspaces:
- name: git-source
volumeClaimTemplate:
spec:
storageClassName: "nfs-client"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
subPath: organic-source
params: []
- name: rustfmt - name: rustfmt
source: "pipeline-rustfmt.yaml" source: "pipeline-rustfmt.yaml"
# Override https-based url from lighthouse events. # Override https-based url from lighthouse events.

View File

@@ -1,8 +1,14 @@
[package] [package]
name = "organic" name = "organic"
version = "0.1.0" version = "0.1.1"
authors = ["Tom Alexander <tom@fizz.buzz>"]
description = "An org-mode parser."
edition = "2021" edition = "2021"
license = "0BSD" license = "0BSD"
repository = "https://code.fizz.buzz/talexander/organic"
readme = "README.org"
keywords = ["emacs", "org-mode"]
categories = ["parsing"]
[lib] [lib]
name = "organic" name = "organic"